* Fixing private IP's to range 151-154

From Alpha -> Sigma
This commit is contained in:
shockrah 2021-11-25 21:28:03 -08:00
parent 7a75722733
commit f6cc1605ca
5 changed files with 9 additions and 4 deletions

View File

@ -19,6 +19,7 @@ resource "aws_instance" "alpha" {
key_name = var.alpha_ssh_key_name key_name = var.alpha_ssh_key_name
private_ip = "10.0.0.151"
security_groups = [ security_groups = [
aws_security_group.general_web_req.id, aws_security_group.general_web_req.id,
aws_security_group.internal_ssh_recv.id aws_security_group.internal_ssh_recv.id

View File

@ -17,6 +17,7 @@ resource "aws_instance" "beta" {
key_name = var.beta_public_key_path key_name = var.beta_public_key_path
private_ip = "10.0.0.152"
security_groups = [ security_groups = [
aws_security_group.general_web_req.id, aws_security_group.general_web_req.id,
aws_security_group.internal_ssh_recv.id aws_security_group.internal_ssh_recv.id

View File

@ -15,6 +15,8 @@ resource "aws_instance" "gamma" {
key_name = var.gamma_ssh_key_name key_name = var.gamma_ssh_key_name
private_ip = "10.0.0.153"
security_groups = [ aws_security_group.gamma_sec.id ] security_groups = [ aws_security_group.gamma_sec.id ]
subnet_id = aws_subnet.crete_subnet.id subnet_id = aws_subnet.crete_subnet.id
tags = { tags = {

View File

@ -19,6 +19,7 @@ resource "aws_instance" "sigma" {
key_name = var.sigma_ssh_key_name key_name = var.sigma_ssh_key_name
private_ip = "10.0.0.154"
security_groups = [ security_groups = [
aws_security_group.internal_ssh_recv.id, aws_security_group.internal_ssh_recv.id,
aws_security_group.general_web_req.id, aws_security_group.general_web_req.id,

8
readme
View File

@ -75,19 +75,19 @@ Crete
Alpha Alpha
Internal IP: 10.0.0.129 Internal IP: 10.0.0.151
Web Docker Host Web Docker Host
Beta Beta
Internal IP: 10.0.0.130 Internal IP: 10.0.0.152
Static Web Server Static Web Server
Gamma Gamma
Internal IP: 10.0.0.131 Internal IP: 10.0.0.153
Has an EIP bound however the server is only up when required. Has an EIP bound however the server is only up when required.
Sigma Sigma
Internal IP: 10.0.0.132 Internal IP: 10.0.0.154
Reverse Proxy for Alpha and Beta. Doing this means we don't have Reverse Proxy for Alpha and Beta. Doing this means we don't have
to assign EIP's for every single one. to assign EIP's for every single one.