NAT gateway

Now that we have created public and private subnets, let's associate a NAT gateway to it. There are two steps to do so:

  1. Creation of Elastic IPs
  2. Creation of Nat Gateway and association of the EIPs to it

Because we have only a single public Subnet, it is sufficient to create only one EIP and associate it with one NAT gateway.

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.