Available in VPC
When you create a NAT Gateway, you can select between a Public NAT Gateway and a Private NAT Gateway. You can create up to 5 per zone, and the characteristics of each NAT Gateway are as follows:
- Public NAT Gateway
- It has both Private and Public IPs.
- It uses the Public IPs assigned in Public IP for outbound communication to the Internet.
- It uses the assigned Private IPs when communicating through the NAT Gateway within VPC.
- The assigned Public IPs can be reused when you delete the NAT Gateway.
- Private NAT Gateway
- It has only Private IPs.
- It uses the assigned Private IPs when communicating through the NAT Gateway within VPC.
Note
- We have a Service with the same name in the Classic environment. Note that they have similar features, but are not compatible with each other.
- All NAT Gateways created before April 20, 2023 will work as Public NAT Gateways for Internet communication only, and you cannot reuse their Public IPs.
- The type of NAT Gateway (Public or Private) cannot be changed after creation.
Create NAT Gateway
To create a NAT Gateway:
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Networking > VPC. - Click NAT Gateway.
- Click [Create NAT Gateway].
- When the Create NAT Gateway popup appears, enter the information of the NAT Gateway to create.
- NAT Gateway name: Enter a name for the NAT Gateway using letters, numbers, and hyphens (-), with a length of 3 to 30 characters.
- Type: Select a public or private NAT Gateway.
- VPC: Select VPC to which the NAT Gateway is applied.
- Subnet selection: Select a subnet dedicated to the NAT Gateway.
- Public IP: Enabled only for public NAT Gateways. Create a public IP or assign a pre-created public IP.
- Private IP: Enabled only for private NAT Gateways. Assign a private IP automatically or manually.
- Memo: Enter a memo.
- Click [Create].
- Check the status of the NAT Gateway that was created from the NAT Gateway list in the NAT Gateway page.
- Creating: State of creating NAT Gateway in progress with the information entered by the user
- Running: NAT Gateway creation complete and in a usable situation with the information entered by the user
- Go to the Route Table menu, and set the network path for communication through the NAT Gateway. For more information, see Route Table setting guide.
Delete NAT Gateway
You can delete a NAT Gateway that has been created and is in operation. To delete:
Note
- When other services are using the NAT Gateway, those services may not work properly if you delete the NAT Gateway. (Example: Auto Scaling)
- If you set a NAT Gateway as a target in Route Table, you need to delete the Route Table rules first to delete the NAT Gateway.
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Networking > VPC. - Click NAT Gateway.
- Click the NAT Gateway to delete, and then click [Delete NAT Gateway].
- When the Delete NAT Gateway popup appears, click [Delete].
- Check the status of the NAT Gateway from the NAT Gateway list in the NAT Gateway page.
- Shutting down: The system is deleting the NAT Gateway.
Set secondary IP
To set a secondary IP:
Note
- You can add up to 5 secondary IPs.
- Once you set a secondary IP, several IPs become enabled at the same time. Because of this, communication may not work properly with the existing setting where only single IPs are allowed. Therefore, you need to register allowance for all secondary IPs used in actual communication.
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Networking > VPC. - Click NAT Gateway.
- Click [Set Secondary IP].
- When the Set Secondary IP popup appears, set secondary IPs to the targeted NAT Gateway.
- Type: Select whether the target NAT Gateway is public or private.
- Set secondary [Private/Public] IP
- Set Public NAT Gateway: Select and add secondary Public IPs once the list of Public IPs you have appears
- Set Private NAT Gateway: Add secondary Private IP settings within a subnet
- Check the status of settings in the details page of the NAT Gateway where secondary IPs are set.
Delete Secondary IP
To delete a secondary IP:
- In the VPC environment of the NAVER Cloud Platform console, navigate to
> Services > Networking > VPC. - Click NAT Gateway.
- Click [Set Secondary IP].
- In the Set Secondary IP interface, delete the Secondary IP configured for the NAT Gateway by clicking [X], then click Apply.
- In the details page of the NAT Gateway, check if the secondary IP you deleted is excluded.