1. 程式人生 > >Amazon VPC FAQs

Amazon VPC FAQs

Q. What is a default VPC?

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.

Q. What are the benefits of a default VPC?

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.

Q. What accounts are enabled for default VPC?

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.

Q. How can I tell if my account is configured to use a default VPC?

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.

Q. Will I need to know anything about Amazon VPC in order to use a default VPC?

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.

Q. What are the differences between instances launched in EC2-Classic and EC2-VPC?

Q. Do I need to have a VPN connection to use a default VPC?

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.

Q. Can I create other VPCs and use them in addition to my default VPC?

Yes. To launch an instance into nondefault VPCs you must specify a subnet-ID during instance launch.

Q. Can I create additional subnets in my default VPC, such as private subnets?

Yes. To launch into nondefault subnets, you can target your launches using the console or the --subnet option from the CLI, API, or SDK.

Q. How many default VPCs can I have?

You can have one default VPC in each AWS region where your Supported Platforms attribute is set to "EC2-VPC".

Q. What is the IP range of a default VPC?

The default VPC CIDR is 172.31.0.0/16. Default subnets use /20 CIDRs within the default VPC CIDR.

Q. How many default subnets are in a default VPC?

One default subnet is created for each Availability Zone in your default VPC.

Q. Can I specify which VPC is my default VPC?

Not at this time.

Q. Can I specify which subnets are my default subnets?

Not at this time.

Q. Can I delete a default VPC?

Yes, you can delete a default VPC. Once deleted, you can create a new default VPC directly from the VPC Console or by using the CLI. This will create a new default VPC in the region. This does not restore the previous VPC that was deleted.

Q. Can I delete a default subnet?

Yes, you can delete a default subnet. Once deleted, you can create a new default subnet in the availability zone by using the CLI or SDK. This will create a new default subnet in the availability zone specified. This does not restore the previous subnet that was deleted.

Q. I have an existing EC2-Classic account. Can I get a default VPC?

The simplest way to get a default VPC is to create a new account in a region that is enabled for default VPCs, or use an existing account in a region you've never been to before, as long as the Supported Platforms attribute for that account in that region is set to "EC2-VPC".

Q. I really want a default VPC for my existing EC2 account. Is that possible?

Yes, however, we can only enable an existing account for a default VPC if you have no EC2-Classic resources for that account in that region. Additionally, you must terminate all non-VPC provisioned Elastic Load Balancers, Amazon RDS, Amazon ElastiCache, and Amazon Redshift resources in that region. After your account has been configured for a default VPC, all future resource launches, including instances launched via Auto Scaling, will be placed in your default VPC. To request your existing account be setup with a default VPC, please go to Account and Billing -> Service: Account -> Category: Convert EC2 Classic to VPC and raise a request. We will review your request, your existing AWS services and EC2-Classic presence and guide you through the next steps.

Q. How are IAM accounts impacted by default VPC?

If your AWS account has a default VPC, any IAM accounts associated with your AWS account use the same default VPC as your AWS account.

相關推薦

Amazon VPC FAQs

Q. What is a default VPC? A default VPC is a logically isolated virtual network in the AWS cloud that is automatically created for your

Amazon Glacier FAQs

Q: What can I expect the total cost of ownership (TCO) to be? Amazon Glacier is a secure, durable, and extremely low-cost cloud st

Amazon EBS FAQs

Q: What level of performance consistency can I expect to see from my Provisioned IOPS SSD (io1) volumes? When attached to EBS-optimized

Resolve Amazon VPC Peering Network Connectivity Issues

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Exploring the Networking Foundation for EKS: amazon-vpc-cni-k8s + Calico

At AWS re:invent, Amazon announced Elastic Container Service for Kubernetes (EKS), and revealed details of how container networking would

Troubleshoot Issues With Amazon VPC Interface Endpoints

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Amazon WorkMail FAQs

Q: How can I migrate mailboxes from my existing email solution to Amazon WorkMail? You can migrate your existing mailboxes to Amazon Wor

Amazon EC2 FAQs

Q: What are Accelerated Computing instances? Accelerated Computing instance family is a family of instances which use hardware accel

Amazon VPC Feature

AWS PrivateLink enables customers to access services hosted on AWS easily but securely by keeping all the network traffic within the AWS network.

OpenSource I 探索EKS的網路基礎:amazon-vpc-cni-k8s + Calico

Amazon 在 AWS re:invent 上宣佈推出 Elastic Container Service for Kubernetes (EKS) 並詳細介紹了容器網路將如何在此令人振奮的新平臺上工作 — 以及得到保護。特別是 EKS 利用了新推出的 AWS Container Netw

Amazon VPC Pricing

Amazon Virtual Private Cloud (Amazon VPC) lets you provision a logically isolated section of the Amazon Web Services (AWS) cloud where you can lau

Amazon VPC CNI Plugin Version 1.1 Now Available

The Amazon VPC Container Networking Interface (CNI) plugin allows Kubernetes pods to receive native AWS VPC IP addresses. Because the CNI plugin i

Amazon CloudWatch FAQs

Q: Why does my AWS monthly bill for CloudWatch appear different between July 2017 and previous months? Prior to July 2017, charge

Amazon Linux2 FAQs

Q. What is Amazon Linux 2? Amazon Linux 2 is the next-generation Amazon Linux operating system that provides modern application environm

Amazon VPC Getting Started

Your AWS resources are automatically provisioned in a ready-to-use default VPC that was created for you. You can configure this VPC by adding or r

Amazon VPC | AWS

Amazon Virtual Private Cloud (Amazon VPC) により、アマゾン ウェブ サービス (AWS) クラウドの論理的に分離したセクションをプロビジョニングできます。これにより、AWS リソースをユーザー定義の仮想ネットワークで起動できます。自分の IP アドレ

Amazon WorkDocs FAQs

What is Open with Office Online? Microsoft Office Online is an online version of popular Microsoft applications including Word,

Amazon VPC 私有云_虛擬私有云(VPC

藉助 Amazon Virtual Private Cloud (Amazon VPC),您可以在 AWS 雲中預置一個邏輯隔離的部分,從而在自己定義的虛擬網路中啟動 AWS 資源。您可以完全掌控您的虛擬聯網環境,包括選擇自己的 IP 地址範圍、建立子網以及配置路由表和網路閘道器。您在 VP

Amazon VPC價格_AWS虛擬私有云

Amazon Virtual Private Cloud (Amazon VPC) 允許您在 Amazon Web Services (AWS) 雲中預置一個邏輯隔離分割槽,讓您在自己定義的虛擬網路中啟動 AWS 資源。您可以完全掌控您的虛擬聯網環境,包括選擇自己的 IP 地址範圍、建立子網

Amazon EMR FAQs

Q: How does Amazon EMR use Amazon EC2 and Amazon S3? Customers upload their input data and a data processing application into Amazon S3.