Difference between revisions of "AWS default VPC"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by 2 users 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 7: Line 9:
 
* Amazon VPC with public and private subnets and AWS Site-to-Site VPN access
 
* 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
 
* 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 ==
 
== Related ==
 
* [[Terraform: VPCIdNotSpecified]]
 
* [[Terraform: VPCIdNotSpecified]]
 
* [[Subnet]]
 
* [[Subnet]]
 +
* <code>[[aws ec2 describe-vpcs]]</code>
  
 
== See also ==
 
== See also ==

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: