aws ec2 create-subnet
Jump to navigation
Jump to search
aws ec2 create-subnet \ --vpc-id vpc-081ec835f3EXAMPLE \ --cidr-block 10.0.1.0/24
Synopsys
create-subnet [--tag-specifications <value>] [--availability-zone <value>] [--availability-zone-id <value>] [--cidr-block <value>] [--ipv6-cidr-block <value>] [--outpost-arn <value>] --vpc-id <value> [--dry-run | --no-dry-run] [--ipv6-native | --no-ipv6-native] [--cli-input-json <value>] [--generate-cli-skeleton <value>]
Related
See also
- AWS subnets:
AWS::EC2::Subnet, aws ec2 [ create-subnet
|describe-subnets
]--vpc-id
,MapPublicIpOnLaunch
,aws_subnet
- AWS EC2, AWS::EC2,
aws ec2
[describe-instances | describe-instance-status
|run-instances | terminate-instances | stop-instances
|tags
|describe-vpcs
|describe-addresses
|describe-availability-zones
|describe-subnets
|import-key-pair
|create-key-pair
|create-vpc
|create-internet-gateway
|modify-instance-attribute | ec2-instance-connect | get-console-output
]
Advertising: