Skip to content

stratumctl nat-gateways

Manage NAT gateways

Terminal window
stratumctl nat-gateways [flags]

Aliases: nat-gateway, natgw, natgws

Create a NAT gateway (returns 202)

Terminal window
stratumctl nat-gateways create [flags]
Terminal window
stratumctl nat-gateways create --project p-team-a --vpc vpc-9k2m4x7q --subnet subnet-3k8m2x7q --floating-ip fip-4k8m2x7q9a
Flag Type Default Description
--az string Availability zone override
--floating-ip string Floating IP ID to use as the egress public IP (required)
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)
--region string Region override
--subnet string Public subnet where the NAT GW lives (required)
--vpc string Parent VPC ID (required)

Delete a NAT gateway

Terminal window
stratumctl nat-gateways delete <natgw-id> [flags]
Terminal window
stratumctl nat-gateways delete natgw-6k2m8x4q7a
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

Describe a NAT gateway

Terminal window
stratumctl nat-gateways get <natgw-id> [flags]
Terminal window
stratumctl nat-gateways get natgw-6k2m8x4q7a
stratumctl nat-gateways get natgw-6k2m8x4q7a --output json
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)

List NAT gateways in a project

Terminal window
stratumctl nat-gateways list [flags]
Terminal window
stratumctl nat-gateways list
stratumctl nat-gateways list --vpc vpc-9k2m4x7q --output json
Flag Type Default Description
--project string Project ID (defaults to STRATUM_PROJECT or profile project_id)
--vpc string Filter by VPC ID