Amazon Virtual Private Cloud (VPC) | Amazon VPC and EC2 Flashcards
Can I monitor the network traffic in my VPC?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes. You can use the Amazon VPC Flow Logs feature to monitor the network traffic in your VPC.
Within which Amazon EC2 region(s) is Amazon VPC available?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Amazon VPC is currently available in multiple Availability Zones in all Amazon EC2 regions.
Can a VPC span multiple Availability Zones?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes.
Can a subnet span Availability Zones?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
No. A subnet must reside within a single Availability Zone.
How do I specify which Availability Zone my Amazon EC2 instances are launched in?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
When you launch an Amazon EC2 instance, you must specify the subnet in which to launch the instance. The instance will be launched in the Availability Zone associated with the specified subnet.
How do I determine which Availability Zone my subnets are located in?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
When you create a subnet you must specify the Availability Zone in which to place the subnet. When using the VPC Wizard, you can select the subnet’s Availability Zone in the wizard confirmation screen. When using the API or the CLI you can specify the Availability Zone for the subnet as you create the subnet. If you don’t specify an Availability Zone, the default “No Preference” option will be selected and the subnet will be created in an available Availability Zone in the region.
Am I charged for network bandwidth between instances in different subnets?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
If the instances reside in subnets in different Availability Zones, you will be charged $0.01 per GB for data transfer.
When I call DescribeInstances(), do I see all of my Amazon EC2 instances, including those in EC2-Classic and EC2-VPC?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes. DescribeInstances() will return all running Amazon EC2 instances. You can differentiate EC2-Classic instances from EC2-VPC instances by an entry in the subnet field. If there is a subnet ID listed, the instance is within a VPC.
When I call DescribeVolumes(), do I see all of my Amazon EBS volumes, including those in EC2-Classic and EC2-VPC?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes. DescribeVolumes() will return all your EBS volumes.
How many Amazon EC2 instances can I use within a VPC?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
You can run any number of Amazon EC2 instances within a VPC, so long as your VPC is appropriately sized to have an IP address assigned to each instance. You are initially limited to launching 20 Amazon EC2 instances at any one time and a maximum VPC size of /16 (65,536 IPs). If you would like to increase these limits, please complete the following form.
Can I use my existing AMIs in Amazon VPC?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
You can use AMIs in Amazon VPC that are registered within the same region as your VPC. For example, you can use AMIs registered in us-east-1 with a VPC in us-east-1. More information is available in the Amazon EC2 Region and Availability Zone FAQ.
Can I use my existing Amazon EBS snapshots?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes, you may use Amazon EBS snapshots if they are located in the same region as your VPC. More details are available in the Amazon EC2 Region and Availability Zone FAQ.
Can I boot an Amazon EC2 instance from an Amazon EBS volume within Amazon VPC?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes, however, an instance launched in a VPC using an Amazon EBS-backed AMI maintains the same IP address when stopped and restarted. This is in contrast to similar instances launched outside a VPC, which get a new IP address. The IP addresses for any stopped instances in a subnet are considered unavailable.
Can I use Amazon EC2 Reserved Instances with Amazon VPC?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes. You can reserve an instance in Amazon VPC when you purchase Reserved Instances. When computing your bill, AWS does not distinguish whether your instance runs in Amazon VPC or standard Amazon EC2. AWS automatically optimizes which instances are charged at the lower Reserved Instance rate to ensure you always pay the lowest amount. However, your instance reservation will be specific to Amazon VPC. Please see the Reserved Instances page for further details.
Can I employ Amazon CloudWatch within Amazon VPC?
Amazon VPC and EC2
Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery
Yes.