From f6cc1605ca9c492a3b19b55d2d0c0eceb46c85d4 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 25 Nov 2021 21:28:03 -0800 Subject: [PATCH] * Fixing private IP's to range 151-154 From Alpha -> Sigma --- infra/alpha.tf | 1 + infra/beta.tf | 1 + infra/gamma.tf | 2 ++ infra/sigma.tf | 1 + readme | 8 ++++---- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/infra/alpha.tf b/infra/alpha.tf index d554e6a..eebe993 100644 --- a/infra/alpha.tf +++ b/infra/alpha.tf @@ -19,6 +19,7 @@ resource "aws_instance" "alpha" { key_name = var.alpha_ssh_key_name + private_ip = "10.0.0.151" security_groups = [ aws_security_group.general_web_req.id, aws_security_group.internal_ssh_recv.id diff --git a/infra/beta.tf b/infra/beta.tf index 9a916cf..ecf57b5 100644 --- a/infra/beta.tf +++ b/infra/beta.tf @@ -17,6 +17,7 @@ resource "aws_instance" "beta" { key_name = var.beta_public_key_path + private_ip = "10.0.0.152" security_groups = [ aws_security_group.general_web_req.id, aws_security_group.internal_ssh_recv.id diff --git a/infra/gamma.tf b/infra/gamma.tf index 191802b..9758ca8 100644 --- a/infra/gamma.tf +++ b/infra/gamma.tf @@ -15,6 +15,8 @@ resource "aws_instance" "gamma" { key_name = var.gamma_ssh_key_name + private_ip = "10.0.0.153" + security_groups = [ aws_security_group.gamma_sec.id ] subnet_id = aws_subnet.crete_subnet.id tags = { diff --git a/infra/sigma.tf b/infra/sigma.tf index d5de08e..678da22 100644 --- a/infra/sigma.tf +++ b/infra/sigma.tf @@ -19,6 +19,7 @@ resource "aws_instance" "sigma" { key_name = var.sigma_ssh_key_name + private_ip = "10.0.0.154" security_groups = [ aws_security_group.internal_ssh_recv.id, aws_security_group.general_web_req.id, diff --git a/readme b/readme index 2beb585..825ba71 100644 --- a/readme +++ b/readme @@ -75,19 +75,19 @@ Crete Alpha - Internal IP: 10.0.0.129 + Internal IP: 10.0.0.151 Web Docker Host Beta - Internal IP: 10.0.0.130 + Internal IP: 10.0.0.152 Static Web Server 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. 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 to assign EIP's for every single one.