5. Internet Gateway - DC - IGW

Although we created a Security Group (for SSH and Ping) and a Route Table (for IP routing), we still need an Internet Gateway to allow EC2 instances to connect to the internet.

Create an Internet Gateway (IGW) called DC - IGW to enable the DC - VPC to connect to the internet.

image.png image.png

Attach the Internet Gateway to VPC - DC and go back to the Route Table to edit it so that it accepts the newly attached Internet Gateway.

image.png image.png

image.png image.png

image.png image.png

image.png image.png

The route should look like this:

  • Destination: 0.0.0.0/0
    • Target: DC - IGW

image.png image.png

Mini Map
× Mini Map Full Size