Skip to main content

Delete a nat gateway

Reviewed on · View on GitHub

You can delete a nat gateway that you no longer need.

This action dissociates the public IP from the nat gateway, but does not release this public IP from your account. The routes linked to this nat gateway are not removed from your route tables.

Permissions​

info

This action requires the following IAM (Identity and Access Management) permissions:

  • compute.natGateway.delete

You can delete a single nat gateway or delete several of them in a single action.

Delete a nat gateway​

  1. From the left-hand side menu, click Network → VPC → NAT Gateways. menu_vpc.png
  2. Identify the nat gateway you want to delete, then from the list of actions, click Delete. actions_nat.png
    A new "NAT Gateway deletion" dialog box appears. delete_one_nat_form.png
  3. To continue, a strong confirmation is required. Enter the name of the resource to delete in the corresponding field.
  4. Click Delete. The nat gateway is deleted.
    A "The NAT Gateway has been deleted" confirmation message appears. delete_one_nat_success.png

Delete several nat gateways​

  1. From the left-hand side menu, click Network → VPC → NAT Gateways. menu_vpc.png
  2. Select the nat gateways you want to delete, then click Delete. NAT_selection.png
    A new "NAT Gateways deletion" dialog box appears. delete_multiple_nat_form.png
  3. To continue, a strong confirmation is required. Enter the term Delete in the corresponding field.
  4. Click Delete. The nat gateways are deleted.
    A "The NAT Gateways have been deleted" confirmation message appears. delete_multiple_nat_success.png