devops-exercises/exercises/aws/solutions/subnets.md
abregman 6706171ca9 Add AWS execrises and questions
Mostly about VPC and Route 53.
2021-12-04 06:56:07 +02:00

1010 B

AWS VPC - Subnets

Requirements

Single newly created VPC

Objectives

  1. Create a subnet in your newly created VPC
  2. CIDR: 10.0.0.0/24
  3. Name: NewSubnet1
  4. Create additional subnet
  5. CIDR: 10.0.1.0/24
  6. Name: NewSubnet2
  7. Different AZ compared to previous subnet
  8. Create additional subnet
  9. CIDR: 10.0.2.0/24
  10. Name: NewSubnet3
  11. Different AZ compared to previous subnets

Solution

Console

  1. Click on "Subnets" under "Virtual Private Cloud"
  2. Make sure you filter by your newly created VPC (to not see the subnets in all other VPCs). You can do this in the left side menu
  3. Click on "Create subnet"
  4. Choose your newly created VPC
  5. Set the subnet name to "NewSubnet1"
  6. Choose AZ
  7. Set CIDR to 10.0.0.0/24
  8. Click on "Add new subnet"
  9. Set the subnet name to "NewSubnet2"
  10. Choose a different AZ
  11. Set CIDR to 10.0.1.0/24
  12. Click on "Add new subnet"
  13. Set the subnet name to "NewSubnet3"
  14. Choose a different AZ
  15. Set CIDR to 10.0.2.0/24