Amazon EC2 FAQ Flashcards

1
Q

FAQ: What is Amazon Elastic Compute Cloud (Amazon EC2)?

A

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

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

FAQ: What can I do with Amazon EC2?

A

Just as Amazon Simple Storage Service (Amazon S3) enables storage in the cloud, Amazon EC2 enables “compute” in the cloud. Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use.

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

FAQ: What can developers now do that they could not before?

A

Until now, small developers did not have the capital to acquire massive compute resources and ensure they had the capacity they needed to handle unexpected spikes in load. Amazon EC2 enables any developer to leverage Amazon’s own benefits of massive scale with no up-front investment or performance compromises. Developers are now free to innovate knowing that no matter how successful their businesses become, it will be inexpensive and simple to ensure they have the compute capacity they need to meet their business requirements.

The “Elastic” nature of the service allows developers to instantly scale to meet spikes in traffic or demand. When computing requirements unexpectedly change (up or down), Amazon EC2 can instantly respond, meaning that developers have the ability to control how many resources are in use at any given point in time. In contrast, traditional hosting services generally provide a fixed number of resources for a fixed amount of time, meaning that users have a limited ability to easily respond when their usage is rapidly changing, unpredictable, or is known to experience large peaks at various intervals.

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

FAQ: What is the difference between using the local instance store and Amazon Elastic Block Store (Amazon EBS) for the root device?

A

When you launch your Amazon EC2 instances you have the ability to store your root device data on Amazon EBS or the local instance store. By using Amazon EBS, data on the root device will persist independently from the lifetime of the instance. This enables you to stop and restart the instance at a subsequent time, which is similar to shutting down your laptop and restarting it when you need it again.

Alternatively, the local instance store only persists during the life of the instance. This is an inexpensive way to launch instances where data is not stored to the root device. For example, some customers use this option to run large web sites where each instance is a clone to handle web traffic.

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

FAQ: How quickly will systems be running?

A

It typically takes less than 10 minutes from the issue of the RunInstances call to the point where all requested instances begin their boot sequences. This time depends on a number of factors including: the size of your AMI, the number of instances you are launching, and how recently you have launched that AMI. Images launched for the first time may take slightly longer to boot.

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

FAQ: How do I load and store my systems with Amazon EC2?

A

Amazon EC2 allows you to set up and configure everything about your instances from your operating system up to your applications. An Amazon Machine Image (AMI) is simply a packaged-up environment that includes all the necessary bits to set up and boot your instance. Your AMIs are your unit of deployment. You might have just one AMI or you might compose your system out of several building block AMIs (e.g., webservers, appservers, and databases). Amazon EC2 provides a number of tools to make creating an AMI easy. Once you create a custom AMI, you will need to bundle it. If you are bundling an image with a root device backed by Amazon EBS, you can simply use the bundle command in the AWS Management Console. If you are bundling an image with a boot partition on the instance store, then you will need to use the AMI Tools to upload it to Amazon S3. Amazon EC2 uses Amazon EBS and Amazon S3 to provide reliable, scalable storage of your AMIs so that we can boot them when you ask us to do so.

Or, if you want, you don’t have to set up your own AMI from scratch. You can choose from a number of globally available AMIs that provide useful instances. For example, if you just want a simple Linux server, you can choose one of the standard Linux distribution AMIs.

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

FAQ: How do I access my systems?

A

The RunInstances call that initiates execution of your application stack will return a set of DNS names, one for each system that is being booted. This name can be used to access the system exactly as you would if it were in your own data center. You own that machine while your operating system stack is executing on it.

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

FAQ: How many instances can I run in Amazon EC2?

A

You are limited to running On-Demand Instances per your vCPU-based On-Demand Instance limit, purchasing 20 Reserved Instances, and requesting Spot Instances per your dynamic Spot limit per region. New AWS accounts may start with limits that are lower than the limits described here.

If you need more instances, complete the Amazon EC2 limit increase request form with your use case, and your limit increase will be considered. Limit increases are tied to the region they were requested for.

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

FAQ: Are there any limitations in sending email from Amazon EC2 instances?

A

Yes. In order to maintain the quality of Amazon EC2 addresses for sending email, we enforce default limits on the amount of email that can be sent from EC2 accounts. If you wish to send larger amounts of email from EC2, you can apply to have these limits removed from your account by filling out this form.

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

FAQ: How quickly can I scale my capacity both up and down?

A

Amazon EC2 provides a truly elastic computing environment. Amazon EC2 enables you to increase or decrease capacity within minutes, not hours or days. You can commission one, hundreds or even thousands of server instances simultaneously. When you need more instances, you simply call RunInstances, and Amazon EC2 will typically set up your new instances in a matter of minutes. Of course, because this is all controlled with web service APIs, your application can automatically scale itself up and down depending on its needs.

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

FAQ: What operating system environments are supported?

A

Amazon Linux, Ubuntu, Windows Server, Red Hat Enterprise Linux, SUSE Linux Enterprise Server, openSUSE Leap, Fedora, Fedora CoreOS, Debian, CentOS, Gentoo Linux, Oracle Linux, and FreeBSD.

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

FAQ: Does Amazon EC2 use ECC memory?

A

In our experience, ECC memory is necessary for server infrastructure, and all the hardware underlying Amazon EC2 uses ECC memory.

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

FAQ: How is the EC2 service different than a plain hosting service?

A

Traditional hosting services generally provide a pre-configured resource for a fixed amount of time and at a predetermined cost. Amazon EC2 differs fundamentally in the flexibility, control and significant cost savings it offers developers, allowing them to treat Amazon EC2 as their own personal data center with the benefit of Amazon.com’s robust infrastructure.

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

FAQ: What are vCPU-based limits?

A

You are limited to running one or more On-Demand Instances in an AWS account, and Amazon EC2 measures usage towards each limit based on the total number of vCPUs (virtual central processing unit) that are assigned to the running On-Demand instances in your AWS account.

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

FAQ: How many On-Demand instances can I run in Amazon EC2?

A

There are five vCPU-based instance limits, each defines the amount of capacity you can use of a given instance family. All usage of instances in a given family, regardless of generation, size, or configuration variant (e.g. disk, processor type), will accrue towards the family’s total vCPU limit, listed in the table below. New AWS accounts may start with limits that are lower than the limits described here.

Running On-Demand Standard (A, C, D, H, I, M, R, T, Z) instances – 1152 vCPUs
Running On-Demand (X, P, F, Inf, G) instances – 128 vCPUs

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

FAQ: Are On-Demand Instance vCPU-based limits regional?

A

Yes, the On-Demand Instance limits for an AWS account are set on a per-region basis.

17
Q

FAQ: How can I calculate my new vCPU limit?

A

You can find the vCPU mapping for each of the Amazon EC2 Instance Types or use the simplified vCPU Calculator to compute the total vCPU limit requirements for your AWS account.