Difference between revisions of "Aws ec2 create-subnet"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* https://docs.aws.amazon.com/cli/latest/reference/ec2/create-subnet.html | * https://docs.aws.amazon.com/cli/latest/reference/ec2/create-subnet.html | ||
− | aws ec2 create-subnet \ | + | [[aws ec2]] create-subnet \ |
[[--vpc-id]] vpc-081ec835f3EXAMPLE \ | [[--vpc-id]] vpc-081ec835f3EXAMPLE \ | ||
[[--cidr-block]] 10.0.1.0/24 | [[--cidr-block]] 10.0.1.0/24 | ||
+ | == Synopsys == | ||
+ | <pre> | ||
+ | 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>] | ||
+ | </pre> | ||
== Related == | == Related == | ||
* <code>[[aws ec2 create-vpc]]</code> | * <code>[[aws ec2 create-vpc]]</code> | ||
− | * <code>[[aws ec2 describe-subnets]]</code> | + | * [[Subnet]]: <code>[[aws ec2 describe-subnets]]</code> |
− | |||
* <code>[[aws ec2 vpc]]</code> | * <code>[[aws ec2 vpc]]</code> | ||
+ | * <code>[[AWS::EC2::Subnet]]</code> | ||
+ | * <code>[[MapPublicIpOnLaunch:]]</code> | ||
== See also == | == See also == | ||
* {{aws ec2 subnet}} | * {{aws ec2 subnet}} | ||
+ | * {{aws ec2 create}} | ||
* {{aws ec2}} | * {{aws ec2}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 19:36, 26 May 2022
aws ec2 create-subnet \ --vpc-id vpc-081ec835f3EXAMPLE \ --cidr-block 10.0.1.0/24
Synopsys[edit]
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[edit]
aws ec2 create-vpc
- Subnet:
aws ec2 describe-subnets
aws ec2 vpc
AWS::EC2::Subnet
MapPublicIpOnLaunch:
See also[edit]
- AWS subnets:
AWS::EC2::Subnet, aws ec2 [ create-subnet
|describe-subnets
]--vpc-id
,MapPublicIpOnLaunch
,aws_subnet
aws ec2 [ create-vpc | create-subnet | create-nat-gateway | create-key-pair | create-vpn-connection | create-route | create-route-table | create-vpc-endpoint ]
- 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: