Difference between revisions of "AWS default VPC"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
* https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html
 +
  
 
Default VPCs are assigned a CIDR range of 172.31.0.0/16 and default subnets within a default VPC are assigned <code>[[/20]]</code> netblocks within the VPC CIDR range. One default subnet is created for each Availability Zone in your default VPC.
 
Default VPCs are assigned a CIDR range of 172.31.0.0/16 and default subnets within a default VPC are assigned <code>[[/20]]</code> netblocks within the VPC CIDR range. One default subnet is created for each Availability Zone in your default VPC.
Line 10: Line 12:
  
 
  [[aws ec2 describe-vpcs]] | grep IsDefault
 
  [[aws ec2 describe-vpcs]] | grep IsDefault
 +
[[aws ec2 create-default-vpc]]
  
 
== Related ==
 
== Related ==

Latest revision as of 11:03, 19 October 2023


Default VPCs are assigned a CIDR range of 172.31.0.0/16 and default subnets within a default VPC are assigned /20 netblocks within the VPC CIDR range. One default subnet is created for each Availability Zone in your default VPC.

Start VPC Wizard which includes four options:

  • Amazon VPC with a single public subnet only
  • Amazon VPC with public and private subnets
  • Amazon VPC with public and private subnets and AWS Site-to-Site VPN access
  • Amazon VPC with a private subnet only and AWS Site-to-Site VPN access


aws ec2 describe-vpcs | grep IsDefault
aws ec2 create-default-vpc

Related[edit]

See also[edit]

Advertising: