dcloud ec2 nat-gateways createGive a VPC a NAT gateway (one per VPC); answers 202 while it is built
IAM ec2:CreateNatGatewayChanges state
A platform-run machine with a public IPv4 at a pinned address in the VPC, plus the network route 0.0.0.0/0 to it. Instances launched afterwards with `enablePublicIpv4: false` route through it on their own; older ones need one command (see the compute docs). One machine: not redundant.
Synopsis
dcloud ec2 nat-gateways create --vpc-id vpcId [flags]Flags
--vpc-idRequiredstring
The VPC to serve
Constraints: uuid
--tagsOptionalmap of string
Tags for the new resource, e.g. {"env": "prod", "project": "shop"}. Keys your organization marks required must be present, or the create is refused with the missing keys (GET /tags/api/keys lists them).
Constraints: key=value
Example
dcloud ec2 nat-gateways create --vpc-id 00000000-0000-0000-0000-000000000000Generated from the API description, the same one the API checks requests against and the CLI is built from.