Create a NAT Gateway with Amazon Console: Difference between revisions
Jump to navigation
Jump to search
(8 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= | ||
Line 6: | Line 10: | ||
=Procedure= | =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. | |||
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:
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.