2023-09-25 22:18:04 +02:00
|
|
|
# Create VPC
|
2023-09-25 22:51:23 +02:00
|
|
|
Name: M346-XXX-VPC # Dort wo XXX steht, Ihre ersten drei Buchstaben des Nachnamens
|
2023-09-25 22:18:04 +02:00
|
|
|
IPv4 CIDR Block: 10.0.0.0/16
|
|
|
|
|
|
|
|
# Create Public Subnets
|
|
|
|
|
2023-09-25 23:29:28 +02:00
|
|
|
Name: M346-XXX-Public-1A<br>
|
|
|
|
Availability Zone: us-east-1a<br>
|
2023-09-25 22:18:04 +02:00
|
|
|
IPv4 CIDR Block: 10.0.1.0/24
|
|
|
|
|
2023-09-25 22:51:23 +02:00
|
|
|
Name: M346-XXX-Public-1B
|
2023-09-25 22:18:04 +02:00
|
|
|
Availability Zone: us-east-1b
|
|
|
|
IPv4 CIDR Block: 10.0.2.0/24
|
|
|
|
|
2023-09-25 22:51:23 +02:00
|
|
|
Name: M346-XXX-Private-1A
|
2023-09-25 22:18:04 +02:00
|
|
|
Availability Zone: us-east-1a
|
|
|
|
IPv4 CIDR Block: 10.0.3.0/24
|
|
|
|
|
2023-09-25 22:51:23 +02:00
|
|
|
Name: M346-XXX-Private-1B
|
2023-09-25 22:18:04 +02:00
|
|
|
Availability Zone: us-east-1b
|
|
|
|
IPv4 CIDR Block: 10.0.4.0/24
|
|
|
|
|
|
|
|
# Create private route table
|
|
|
|
|
2023-09-25 22:51:23 +02:00
|
|
|
Name: M346-XXX-Private-RT
|
2023-09-25 22:18:04 +02:00
|
|
|
VPC: MyVPC
|
|
|
|
Subnet associations: Private-1A, Private-1B
|
|
|
|
|
|
|
|
# Create Internet Gateway
|
|
|
|
|
2023-09-25 22:51:23 +02:00
|
|
|
Name: M346-XXX-IGW
|
|
|
|
VPC: M346-XXX-VPC
|