Find answers, ask questions, and connect with our
community around the world.

Tagged: 

  • NAT Devices

     Japo_Japo updated 1 month, 1 week ago 1 Member · 1 Post
  • Japo_Japo

    Member
    September 7, 2021 at 7:58 pm

    A Network Address Translation (NAT) device can be used to enable instances in a private subnet to connect to the internet or the AWS services, but this prevents the internet from initiating connections with the instances in a private subnet.

    As mentioned earlier, public and private subnets protect your assets from being directly connected to the internet. For example, your web server would sit in the public subnet and database in the private subnet, which has no internet connectivity. However, your private subnet database instance might still need internet access or the ability to connect to other AWS resources. You can use a NAT device to do so.

    The NAT device directs traffic from your private subnet to either the internet or other AWS services. It then sends the response back to your instances. When traffic is directed to the internet, the source IP address of your instance is replaced with the NAT device address, and when the internet traffic returns, the NAT device translates the address to your instance’s private IP address.

    NAT Gateway vs. NAT Device

    AWS provides two kinds of NAT devices:

    NAT gateway NAT instance

    AWS recommends the NAT gateway because it is a managed service that provides better bandwidth and availability compared to NAT instances. Every NAT gateway is created in a specific availability zone and with redundancy in that zone. A NAT Amazon Machine Image (AMI) is used to launch a NAT instance, and it subsequently runs as an instance in your VPC.

Viewing 1 of 1 replies
Reply to: Japo_Japo
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now