Amazon EC2 | General Flashcards

1
Q

Will I need to upgrade to a new version of the AWS SDKs or CLI?

General

Amazon EC2 | Compute

A

The following AWS CLI and SDKs are fully compatible with longer IDs: PHP v2.8.27+, PHP v3.15.0+, AWS CLI v1.10.2+, Boto3v1.2.1+, Botocorev1.3.24+, PHP v1, Boto v1, Boto v2, Ruby v1, Ruby v2, JavaScript, Java, .NET, AWS Tools for Windows PowerShell, and Go.

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

What is Amazon Elastic Compute Cloud (Amazon EC2)?

General

Amazon EC2 | Compute

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
3
Q

What can I do with Amazon EC2?

General

Amazon EC2 | Compute

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
4
Q

How can I get started with Amazon EC2?

General

Amazon EC2 | Compute

A

To sign up for Amazon EC2, click the “Sign up for This Web Service” button on the Amazon EC2 detail page. You must have an Amazon Web Services account to access this service; if you do not already have one, you will be prompted to create one when you begin the Amazon EC2 sign-up process. After signing up, please refer to the Amazon EC2 documentation, which includes our Getting Started Guide.

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

Why am I asked to verify my phone number when signing up for Amazon EC2?

General

Amazon EC2 | Compute

A

Amazon EC2 registration requires you to have a valid phone number and email address on file with AWS in case we ever need to contact you. Verifying your phone number takes only a couple of minutes and involves receiving a phone call during the registration process and entering a PIN number using the phone key pad.

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

What can developers now do that they could not before?

General

Amazon EC2 | Compute

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
7
Q

How do I run systems in the Amazon EC2 environment?

General

Amazon EC2 | Compute

A

Once you have set up your account and select or create your AMIs, you are ready to boot your instance. You can start your AMI on any number of On-Demand instances by using the RunInstances API call. You simply need to indicate how many instances you wish to launch. If you wish to run more than 20 On-Demand instances, complete the Amazon EC2 instance request form.

If Amazon EC2 is able to fulfill your request, RunInstances will return success, and we will start launching your instances. You can check on the status of your instances using the DescribeInstances API call. You can also programmatically terminate any number of your instances using the TerminateInstances API call.

If you have a running instance using an Amazon EBS boot partition, you can also use the StopInstances API call to release the compute resources but preserve the data on the boot partition. You can use the StartInstances API when you are ready to restart the associated instance with the Amazon EBS boot partition.

In addition, you have the option to use Spot Instances to reduce your computing costs when you have flexibility in when your applications can run. Read more about Spot Instances for a more detailed explanation on how Spot Instances work.

If you prefer, you can also perform all these actions from the AWS Management Console or through the command line using our command line tools, which have been implemented with this web service API.

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

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

General

Amazon EC2 | Compute

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
9
Q

How quickly will systems be running?

General

Amazon EC2 | Compute

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
10
Q

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

General

Amazon EC2 | Compute

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
11
Q

How do I access my systems?

General

Amazon EC2 | Compute

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
12
Q

Is Amazon EC2 used in conjunction with Amazon S3?

General

Amazon EC2 | Compute

A

Yes, Amazon EC2 is used jointly with Amazon S3 for instances with root devices backed by local instance storage. By using Amazon S3, developers have access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. In order to execute systems in the Amazon EC2 environment, developers use the tools provided to load their AMIs into Amazon S3 and to move them between Amazon S3 and Amazon EC2. See How do I load and store my systems with Amazon EC2? for more information about AMIs.

We expect developers to find the combination of Amazon EC2 and Amazon S3 to be very useful. Amazon EC2 provides cheap, scalable compute in the cloud while Amazon S3 allows users to store their data reliably.

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

How many instances can I run in Amazon EC2?

General

Amazon EC2 | Compute

A

You are limited to running up to a total of 20 On-Demand instances across the instance family, 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. Certain instance types are further limited per region as follows:

Instance Type On-Demand Limit

Reserved Limit Spot Limit

m5. large 20 20 Dynamic Spot Limit
m5. xlarge 20 20 Dynamic Spot Limit
m5. 2xlarge 20 20 Dyanmic Spot Limit
m5. 4xlarge 10 20 Dynamic Spot Limit
m5. 12xlarge 5 20 Dynamic Spot Limit
m5. 24xlarge 5 20 Dynamic Spot Limit
m4. 4xlarge

10

20

Dynamic Spot Limit

m4.10xlarge

5

20

Dynamic Spot Limit

m4.16xlarge

5

20

Dynamic Spot Limit

c5. large 20 20 Dynamic Spot Limit
c5. xlarge 20 20 Dynamic Spot Limit
c5. 2xlarge 20 20 Dynamic Spot Limit
c5. 4xlarge 10 20 Dynamic Spot Limit
c5. 9xlarge 5 20 Dynamic Spot Limit
c5. 18xlarge 5 20 Dynamic Spot Limit
c4. 4xlarge 10 20 Dynamic Spot Limit
c4. 8xlarge 5 20 Dynamic Spot Limit
hs1. 8xlarge 2 20 Not offered
cr1. 8xlarge 2 20 Dynamic Spot Limit
p3. 2xlarge

1

20

Dynamic Spot Limit

p3.8xlarge

1

20

Dynamic Spot Limit

p3.16xlarge

1

20

Dynamic Spot Limit

p2.xlarge

1

20

Dynamic Spot Limit

p2.8xlarge

1

20

Dynamic Spot Limit

p2.16xlarge

1

20

Dynamic Spot Limit

g3. 4xlarge 1 20 Dynamic Spot Limit
g3. 8xlarge 1 20 Dynamic Spot Limit
g3. 16xlarge 1 20 Dynamic Spot Limit
r4. large

20

20

Dynamic Spot Limit

r4.xlarge

20

20

Dynamic Spot Limit

r4.2xlarge

20

20

Dynamic Spot Limit

r4.4xlarge

10

20

Dynamic Spot Limit

r4.8xlarge

5

20

Dynamic Spot Limit

r4.16xlarge

1

20

Dynamic Spot Limit

r3. 4xlarge 10 20 Dynamic Spot Limit
r3. 8xlarge 5 20 Dynamic Spot Limit
h1. 8xlarge

10 20 Dynamic Spot Limit

h1.16xlarge

5 20 Dynamic Spot Limit

i3.large

2

20

Dynamic Spot limit

i3.xlarge

2

20

Dynamic Spot limit

i3.2xlarge

2

20

Dynamic Spot limit

i3.4xlarge

2

20

Dynamic Spot limit

i3.8xlarge

2

20

Dynamic Spot limit

i3.8xlarge

2

20

Dynamic Spot limit

i3.16xlarge

2

20

Dynamic Spot limit

i2. 2xlarge 8 20 Dynamic Spot Limit
i2. 4xlarge 4 20 Dynamic Spot Limit
i2. 8xlarge 2 20 Dynamic Spot Limit
d2. 4xlarge 10 20 Dynamic Spot Limit
d2. 8xlarge 5 20 Dynamic Spot Limit
t2. nano 20 20 Not offered
t2. micro

20 20 Not offered

t2.small

20 20 Not offered

t2.medium

20 20 Not offered

t2.large

20 20 Not offered

t2. xlarge 20 20 Not offered
t2. 2xlarge 20 20 Not offered

All Other Instance Types 20 20 Dynamic Spot Limit

Note that cc2.8xlarge, hs1.8xlarge, cr1.8xlarge, G2, D2, and I2 instances are not available in all regions.

If you need more instances, complete the Amazon EC2 instance request form with your use case and your instance 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
14
Q

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

General

Amazon EC2 | Compute

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
15
Q

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

General

Amazon EC2 | Compute

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
16
Q

What operating system environments are supported?

General

Amazon EC2 | Compute

A

Amazon EC2 currently supports a variety of operating systems including: Amazon Linux, Ubuntu, Windows Server, Red Hat Enterprise Linux, SUSE Linux Enterprise Server, Fedora, Debian, CentOS, Gentoo Linux, Oracle Linux, and FreeBSD. We are looking for ways to expand it to other platforms.

17
Q

Does Amazon EC2 use ECC memory?

General

Amazon EC2 | Compute

A

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