* 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
private_ip = "10.0.0.151"
security_groups = [
aws_security_group.general_web_req.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
private_ip = "10.0.0.152"
security_groups = [
aws_security_group.general_web_req.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
private_ip = "10.0.0.153"
security_groups = [ aws_security_group.gamma_sec.id ]
subnet_id = aws_subnet.crete_subnet.id
tags = {

View File

@ -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,

8
readme
View File

@ -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.