DVA-C02

Introduction to Amazon VPC and Amazon Route 53

Networking basics developers need: private networks, endpoints and DNS.

  • 2 lessons
  • Module quiz

Developers do not need to design networks for the Developer Associate exam, but networking causes many of the problems they must diagnose. A Lambda function that times out when calling DynamoDB, or a build that cannot reach a database, usually has a network path missing.

Amazon Virtual Private Cloud (Amazon VPC) provides an isolated private network in AWS, divided into subnets in each Availability Zone, with route tables that direct traffic and security groups and network ACLs that filter it. The VPC itself is free, while NAT gateways and interface endpoints are charged. Amazon Route 53 is AWS's highly available DNS service, which translates domain names into addresses and can route users according to health, latency, location or weight. It is global and charged per hosted zone and per query.

Where these services fit

The networking facts most often tested are that resources in private subnets, including VPC-attached Lambda functions, need a NAT gateway or VPC endpoints to reach the internet and AWS services; the difference between stateful security groups and stateless network ACLs; and Route 53 alias records, which point a domain name at AWS resources such as load balancers and CloudFront distributions.

How this module is organised

Understanding How Code Reaches Resources Inside and Outside a VPC explains subnets, routing, security groups, NAT gateways and VPC endpoints from a developer's point of view. Routing Users to Healthy Endpoints with Amazon Route 53 explains hosted zones, record types including alias records, and routing policies.

  1. Understanding How Code Reaches Resources Inside and Outside a VPC Lesson 1
  2. Routing Users to Healthy Endpoints with Amazon Route 53 Lesson 2
  3. Practise and review
  4. Test your knowledge 5 questions