m346/KN05/x_res/custom-vpc.md

52 lines
1.2 KiB
Markdown
Raw Normal View History

2023-10-09 21:48:12 +02:00
## Challenge B)
2023-09-25 23:31:24 +02:00
### Create VPC
2023-09-25 23:34:21 +02:00
Name: **M346-XXX-VPC**<br>
IPv4 CIDR Block: **10.0.0.0/16**<br>
2023-09-25 22:18:04 +02:00
2023-09-25 23:31:24 +02:00
### Create Public Subnets
2023-09-25 22:18:04 +02:00
2023-09-25 23:34:21 +02:00
Name: **M346-XXX-Public-1A**<br>
Availability Zone: **us-east-1a**<br>
IPv4 CIDR Block: **10.0.1.0/24**
2023-09-25 22:18:04 +02:00
2023-09-25 23:34:21 +02:00
Name: **M346-XXX-Public-1B**<br>
Availability Zone: **us-east-1b**<br>
IPv4 CIDR Block: **10.0.2.0/24**
2023-09-25 22:18:04 +02:00
2023-09-25 23:34:21 +02:00
Name: **M346-XXX-Private-1A**<br>
Availability Zone: **us-east-1a**<br>
2023-10-12 08:55:35 +02:00
IPv4 CIDR Block: **10.0.3.0/24**
2023-09-25 22:18:04 +02:00
2023-09-25 23:34:21 +02:00
Name: **M346-XXX-Private-1B**<br>
Availability Zone: **us-east-1b**<br>
IPv4 CIDR Block: **10.0.4.0/24**
2023-09-25 22:18:04 +02:00
2023-10-10 21:16:12 +02:00
### Public route table (Main)
2023-10-10 21:17:15 +02:00
Beim Erstellen der VPC wird diese automatisch erzeugt. Es muss einfach folgendes Feld ergänzt werden:<br>
2023-10-10 21:16:12 +02:00
Name: **M346-XXX-Public-RT**<br>
2023-09-25 23:31:24 +02:00
### Create private route table
2023-09-25 22:18:04 +02:00
2023-09-25 23:34:21 +02:00
Name: **M346-XXX-Private-RT**<br>
VPC: **M346-XXX-VPC**<br>
Subnet associations: **Private-1A**, **Private-1B**
2023-09-25 22:18:04 +02:00
2023-09-25 23:31:24 +02:00
### Create Internet Gateway
2023-09-25 22:18:04 +02:00
2023-09-25 23:34:21 +02:00
Name: **M346-XXX-IGW**
VPC: **M346-XXX-VPC**
<br><br>
2023-10-09 21:48:12 +02:00
## Challenge C)
2023-10-09 22:05:52 +02:00
### Security Group for Instance in the Public-Subnet (Web-Access)
2023-10-10 20:53:39 +02:00
Name: **M346-XXX-Web-Access**<br>
Inbound Rules: **SSH** / **HTTP**
2023-10-09 22:05:52 +02:00
### Security Group for Instance in the Private-Subnet (Private-only)
2023-10-10 20:53:39 +02:00
Name: **M346-XXX-Priv-Only**<br>
Inbound Rules: **SSH** (Optional) / **ICMP** (für Ping)