From the course: AWS Infrastructure as Code for Software Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Routing

Routing

- Routing is another key and complex component of your network infrastructure. Routing is going to allow you to control access in and out of your subnets. In fact, the only reason a subnet can be considered private or public, is because of the network routing rules that you associate with it. In our target design, we're going to have public subnets as well as private subnets. The private ones will have routes shown here in red, allowing access to the internet, outbound only, meaning that service will be able to go to the internet to download features and patches for the operating system as needed. Now the routes in blue, which connects the public subnets directly to the internet gateway, will allow traffic in and out of the internet to any resources that have a public IP address and are located within our public subnets. Building this kind of routing by hand, using CloudFormation, is a complex, time consuming task. You…

Contents