Create a NAT Gateway with Amazon Console: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Amazon VPC Operations (<font color=darkgray>TODO - document this https://docs.aws.amazon.com/vpc/latest/userguid...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* [https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating Creating a NAT Gateway]
=Internal=
=Internal=


* [[Amazon_VPC_Operations#Create_a_NAT_Gateway|Amazon VPC Operations]]
* [[Amazon_VPC_Operations#Create_a_NAT_Gateway|Amazon VPC Operations]]
* [[Amazon_VPC_Concepts#NAT_Gateway_Operations|Amazon VPC Concepts]]
=Procedure=
* Amazon VPC -> NAT Gateways -> Create NAT Gateway.
Subnet: must be a [[Amazon_VPC_Concepts#Public_Subnet|public subnet]], which will provide routing for the NAT's elastic IP address. For reasons, see:
{{Internal|Amazon_VPC_Concepts#NAT_Gateway|NAT Gateway}}
Pick an unused Elastic IP or create a new one.


(<font color=darkgray>TODO - document this https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating</font) and then a route to them needs to be added to the corresponding routing tables (<font color=darkgray>TODO - document this https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-create-route</font).
Once the NAT gateway is created, add a route to it from the subnet that needs outbound access. In the subnet's route table: Add Route -> Destination: 0.0.0.0/0, Target: the NAT that has just been created.

Latest revision as of 05:12, 9 April 2019

External

Internal

Procedure

  • Amazon VPC -> NAT Gateways -> Create NAT Gateway.

Subnet: must be a public subnet, which will provide routing for the NAT's elastic IP address. For reasons, see:

NAT Gateway

Pick an unused Elastic IP or create a new one.

Once the NAT gateway is created, add a route to it from the subnet that needs outbound access. In the subnet's route table: Add Route -> Destination: 0.0.0.0/0, Target: the NAT that has just been created.