Amazon Virtual Private Cloud (VPC) | Amazon VPC and EC2 Flashcards

1
Q

Can I monitor the network traffic in my VPC?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

Yes. You can use the Amazon VPC Flow Logs feature to monitor the network traffic in your VPC.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Within which Amazon EC2 region(s) is Amazon VPC available?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

Amazon VPC is currently available in multiple Availability Zones in all Amazon EC2 regions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Can a VPC span multiple Availability Zones?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

Yes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can a subnet span Availability Zones?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

No. A subnet must reside within a single Availability Zone.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do I determine which Availability Zone my subnets are located in?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Am I charged for network bandwidth between instances in different subnets?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

If the instances reside in subnets in different Availability Zones, you will be charged $0.01 per GB for data transfer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

Yes. DescribeVolumes() will return all your EBS volumes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many Amazon EC2 instances can I use within a VPC?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Can I use my existing AMIs in Amazon VPC?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Can I use my existing Amazon EBS snapshots?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Can I use Amazon EC2 Reserved Instances with Amazon VPC?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Can I employ Amazon CloudWatch within Amazon VPC?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

Yes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Can I employ Auto Scaling within Amazon VPC?

Amazon VPC and EC2

Amazon Virtual Private Cloud (VPC) | Networking & Content Delivery

A

Yes.