Amazon Virtual Private Cloud (VPC) | Default VPCs Flashcards
Can I launch Amazon EC2 Cluster Instances in a VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes. Cluster instances are supported in Amazon VPC, however, not all instance types are available in all regions and Availability Zones.
What is a default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
A default VPC is a logically isolated virtual network in the AWS cloud that is automatically created for your AWS account the first time you provision Amazon EC2 resources. When you launch an instance without specifying a subnet-ID, your instance will be launched in your default VPC.
What are the benefits of a default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
When you launch resources in a default VPC, you can benefit from the advanced networking functionalities of Amazon VPC (EC2-VPC) with the ease of use of Amazon EC2 (EC2-Classic). You can enjoy features such as changing security group membership on the fly, security group egress filtering, multiple IP addresses, and multiple network interfaces without having to explicitly create a VPC and launch instances in the VPC.
What accounts are enabled for default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
If your AWS account was created after March 18, 2013 your account may be able to launch resources in a default VPC. See this Forum Announcement to determine which regions have been enabled for the default VPC feature set. Also, accounts created prior to the listed dates may utilize default VPCs in any default VPC enabled region in which you’ve not previously launched EC2 instances or provisioned Amazon Elastic Load Balancing, Amazon RDS, Amazon ElastiCache, or Amazon Redshift resources.
How can I tell if my account is configured to use a default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
The Amazon EC2 console indicates which platforms you can launch instances in for the selected region, and whether you have a default VPC in that region. Verify that the region you’ll use is selected in the navigation bar. On the Amazon EC2 console dashboard, look for “Supported Platforms” under “Account Attributes”. If there are two values, EC2-Classic and EC2-VPC, you can launch instances into either platform. If there is one value, EC2-VPC, you can launch instances only into EC2-VPC. Your default VPC ID will be listed under “Account Attributes” if your account is configured to use a default VPC. You can also use the EC2 DescribeAccountAttributes API or CLI to describe your supported platforms.
Will I need to know anything about Amazon VPC in order to use a default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
No. You can use the AWS Management Console, AWS EC2 CLI, or the Amazon EC2 API to launch and manage EC2 instances and other AWS resources in a default VPC. AWS will automatically create a default VPC for you and will create a default subnet in each Availability Zone in the AWS region. Your default VPC will be connected to an Internet gateway and your instances will automatically receive public IP addresses, just like EC2-Classic.
What are the differences between instances launched in EC2-Classic and EC2-VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
See Differences between EC2-Classic and EC2-VPC in the EC2 User Guide.
Do I need to have a VPN connection to use a default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
No. Default VPCs are attached to the Internet and all instances launched in default subnets in the default VPC automatically receive public IP addresses. You can add a VPN connection to your default VPC if you choose.
Can I create other VPCs and use them in addition to my default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes. To launch an instance into nondefault VPCs you must specify a subnet-ID during instance launch.
Can I create additional subnets in my default VPC, such as private subnets?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes. To launch into nondefault subnets, you can target your launches using the console or the –subnet option from the CLI, API, or SDK.
How many default VPCs can I have?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
You can have one default VPC in each AWS region where your Supported Platforms attribute is set to “EC2-VPC”.
What is the IP range of a default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
The default VPC CIDR is 172.31.0.0/16. Default subnets use /20 CIDRs within the default VPC CIDR.
How many default subnets are in a default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
One default subnet is created for each Availability Zone in your default VPC.
Can I specify which VPC is my default VPC?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Not at this time.
Can I specify which subnets are my default subnets?
Default VPCs
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Not at this time.