Compute | Amazon EC2 Flashcards Preview

AWS 2018 - By Service - FAQs > Compute | Amazon EC2 > Flashcards

Flashcards in Compute | Amazon EC2 Deck (350)
Loading flashcards...
1
Q

What is changing?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

Starting July 2018, all newly created EC2 resources will receive longer format IDs. The new format will only apply to newly created resources; your existing resources won’t be affected. Instances and volumes already use this ID format. Through the end of June 2018, customers will have the ability to opt-in to use longer IDs. During this time, you can choose which ID format resources are assigned and update your management tools and scripts to add support for the longer format. Please visit this documentation for instructions.

2
Q

Why is this necessary?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

Given how fast AWS continues to grow, we will start to run low on IDs for certain resources in 2018. In order to enable the long-term, uninterrupted creation of new resources, we need to introduce a longer ID format. All Amazon EC2 resource IDs will change to the longer format in July 2018.

3
Q

I already opted in for longer IDs last year. Why do I need to opt-in again?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

In 2016, we moved to the longer ID format for Amazon EC2 instances, reservations, volumes, and snapshots only. This opt-in changes the ID format for all remaining EC2 resource types

4
Q

What will the new identifier format look like?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

The new identifier format will follow the pattern of the current identifier format, but it will be longer. The new format will be -<17 characters>, e.g. “vpc-1234567890abcdef0” for VPCs or “subnet-1234567890abcdef0” for subnets.

5
Q

Which IDs are changing?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

bundle

conversion-task

customer-gateway

dhcp-options

elastic-ip-allocation

elastic-ip-association

export-task

flow-log

image

import-task

internet-gateway

network-acl

network-acl-association

network-interface

network-interface-attachment

prefix-list

route-table

route-table-association

security-group

subnet

subnet-cidr-block-association

vpc

vpc-cidr-block-assocation

vpc-endpoint

vpc-peering-connection

vpn-connection

vpn-gateway

6
Q

How does this impact me?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

There is a good chance that you won’t need to make any system changes to handle the new format. If you only use the console to manage AWS resources, you might not be impacted at all, but you should still update your settings to use the longer ID format as soon as possible. If you interact with AWS resources via APIs, SDKs, or the AWS CLI, you might be impacted, depending on whether your software makes assumptions about the ID format when validating or persisting resource IDs. If this is the case, you might need to update your systems to handle the new format.

Some failure modes could include:

If your systems use regular expressions to validate the ID format, you might error if a longer format is encountered.

If there are expectations about the ID length in your database schemas, you might be unable to store a longer ID.

7
Q

Will this affect existing resources?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

No. Only resources that are created after you opt-in to the longer format will be affected. Once a resource has been assigned an ID (long or short), that ID will never change. Each ID is unique and will never be reused. Any resource created with the old ID format will always retain its shorter ID. Any resource created with the new format will retain its longer ID, even if you opt back out.

8
Q

When will this happen?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

Through the end of June 2018, longer IDs will be available for opt-in via APIs and the EC2 Console. All accounts can opt-in and out of longer IDs as needed for testing. Starting on July 1, 2018, the option to switch formats will no longer be available, and newly created EC2 resources to receive longer IDs. All regions launching in July 2018 and onward will only support longer IDs.

9
Q

Why is there an opt-in period?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

We want to give you as much time as possible to test your systems with the new format. This transition time offers maximum flexibility to test and update your systems incrementally and will help minimize interrupts as you add support for the new format, if necessary.

10
Q

How do I opt in and out of receiving longer IDs?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

Throughout the transition period (Now through the end of June 2018), you can opt to receive longer or shorter IDs by using the APIs or the EC2 Console. Instructions are provided in this documentation.

11
Q

What will happen if I take no action?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

If you do not opt-in to the new format during the transition period, you will be automatically begin receiving the longer format IDs after July 1, 2018. We do not recommend this approach. It is better to add support for the new format during the transition window, which offers the opportunity for controlled testing.

12
Q

What if I prefer to keep receiving the shorter ID format after the end of June 2018?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

This is not possible regardless of your user settings specified.

13
Q

When will the longer IDs’ final transition happen?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

In July 2018, your newly created resources will start to receive longer IDs. You can check the scheduled transition date for your each region by using the AWS CLI describe-id-format.

14
Q

If I opt in to longer IDs and then opt back out during the transition period, what will happen to resources that were created with longer IDs?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

Once a resource has been assigned an ID it will not change, so resources that are created with longer IDs will retain the longer IDs regardless of later actions. If you opt in to the longer format, create resources, and then opt out, you will see a mix of long and short resource IDs, even after opting out. The only way to get rid of long IDs will be to delete or terminate the respective resources. For this reason, exercise caution and avoid creating critical resources with the new format until you have tested your tools and automation.

15
Q

What should I do if my systems are not working as expected before the transition period ends?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

If your systems are not working as expected during the transition period, you can temporarily opt out of longer format IDs and remediate your systems, however your account will automatically be transitioned back to using longer IDs after the end of June 2018. Regardless of your account settings, all new resources will receive the longer format IDs, so it is important for you to test your systems with longer format IDs before the transition period ends. By testing and opting in earlier, you give yourself valuable time to make modifications to your resources with short resource IDs and you minimize the risk of any impact to your systems.

16
Q

What will happen if I launch resources in multiple regions during the transition period?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

Your resources’ ID length will depend upon the region you launch your resources. If the region has already transitioned to using longer IDs, resources launched in that region will have longer format IDs; if not, they will have shorter resource IDs. Therefore, during the transition window, you may see a mix of shorter and longer resource IDs.

17
Q

If AWS adds new regions during the transition period, will new regions support longer IDs?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

Yes. All new regions launching after July 2018 will issue longer format IDs by default for both new and existing accounts.

18
Q

What will be the default ID type for new accounts?

Longer EC2, EBS, and Storage Gateway Resource IDs

Amazon EC2 | Compute

A

Accounts created on March 15, 2018 or later will be configured to receive the longer ID format by default in every AWS region except AWS GovCloud (US). If you are a new customer, this will make the transition to longer IDs really simple. If you would like your new account to assign the shorter ID format to your resources, then simply reconfigure your account for shorter IDs as described above. This workflow will be necessary until you are ready for your accounts to receive longer IDs.

19
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.

20
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.

21
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.

22
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.

23
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.

24
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.

25
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.

26
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.

27
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.

28
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.

29
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.

30
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.

31
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.

32
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.

33
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.

34
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.

35
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.

36
Q

How is this service different than a plain hosting service?

Billing

Amazon EC2 | Compute

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.

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.

Secondly, many hosting services don’t provide full control over the compute resources being provided. Using Amazon EC2, developers can choose not only to initiate or shut down instances at any time, they can completely customize the configuration of their instances to suit their needs – and change it at any time. Most hosting services cater more towards groups of users with similar system requirements, and so offer limited ability to change these.

Finally, with Amazon EC2 developers enjoy the benefit of paying only for their actual resource consumption – and at very low rates. Most hosting services require users to pay a fixed, up-front fee irrespective of their actual computing power used, and so users risk overbuying resources to compensate for the inability to quickly scale up resources within a short time frame.

37
Q

How will I be charged and billed for my use of Amazon EC2?

Billing

Amazon EC2 | Compute

A

You pay only for what you use. Displayed pricing is an hourly rate but depending on which instances you choose, you pay by the hour or second (minimum of 60 seconds) for each instance type. Partial instance-hours consumed are billed based on instance usage. Data transferred between AWS services in different regions will be charged as Internet Data Transfer on both sides of the transfer. Usage for other Amazon Web Services is billed separately from Amazon EC2.

For EC2 pricing information, please visit the pricing section on the EC2 detail page.

38
Q

When does billing of my Amazon EC2 systems begin and end?

Billing

Amazon EC2 | Compute

A

Billing commences when Amazon EC2 initiates the boot sequence of an AMI instance. Billing ends when the instance terminates, which could occur through a web services command, by running “shutdown -h”, or through instance failure. When you stop an instance, we shut it down but don’t charge hourly usage for a stopped instance, or data transfer fees, but we do charge for the storage for any Amazon EBS volumes. To learn more, visit the AWS Documentation.

39
Q

What defines billable EC2 instance usage?

Billing

Amazon EC2 | Compute

A

Instance usages are billed for any time your instances are in a “running” state. If you no longer wish to be charged for your instance, you must “stop” or “terminate” the instance to avoid being billed for additional instance usage. Billing starts when an instance transitions into the running state.

40
Q

If I have two instances in different availability zones, how will I be charged for regional data transfer?

Billing

Amazon EC2 | Compute

A

Each instance is charged for its data in and data out at corresponding Data Transfer rates. Therefore, if data is transferred between these two instances, it is charged at “Data Transfer Out from EC2 to Another AWS Region” for the first instance and at “Data Transfer In from Another AWS Region” for the second instance. Please refer to this page for detailed data transfer

41
Q

If I have two instances in different regions, how will I be charged for data transfer?

Billing

Amazon EC2 | Compute

A

Each instance is charged for its data in and data out at Internet Data Transfer rates. Therefore, if data is transferred between these two instances, it is charged at Internet Data Transfer Out for the first instance and at Internet Data Transfer In for the second instance.

42
Q

How will my monthly bill show per-second versus per-hour?

Billing

Amazon EC2 | Compute

A

Although EC2 charges in your monthly bill will now be calculated based on a per second basis, for consistency, the monthly EC2 bill will show cumulative usage for each instance that ran in a given month in decimal hours. An example would be an instance running for 1 hour 10 minutes and 4 seconds would look like 1.1677. Below is an example of a detailed billing report. The two highlighted areas show how the new report will look based on decimal hours.

43
Q

Do your prices include taxes?

Hardware Information

Amazon EC2 | Compute

A

Except as otherwise noted, our prices are exclusive of applicable taxes and duties, including VAT and applicable sales tax. For customers with a Japanese billing address, use of AWS services is subject to Japanese Consumption Tax. Learn more.

44
Q

What kind of hardware will my application stack run on?

Hardware Information

Amazon EC2 | Compute

A

Visit Amazon EC2 Instance Type for a list of EC2 instances available by region.

45
Q

How do I select the right instance type?

Hardware Information

Amazon EC2 | Compute

A

Amazon EC2 instances are grouped into 5 families: General Purpose, Compute Optimized, Memory Optimized, Storage Optimized and Accelerated Computing instances. General Purpose Instances have memory to CPU ratios suitable for most general purpose applications and come with fixed performance (M5, M4) or burstable performance (T2); Compute Optimized instances (C5, C4) have proportionally more CPU resources than memory (RAM) and are well suited for scale out compute-intensive applications and High Performance Computing (HPC) workloads; Memory Optimized Instances (X1e, X1, R4) offer larger memory sizes for memory-intensive applications, including database and memory caching applications; Accelerating Computing instances (P3, P2, G3, F1) take advantage of the parallel processing capabilities of NVIDIA Tesla GPUs for high performance computing and machine/deep learning; GPU Graphics instances (G3) offer high-performance 3D graphics capabilities for applications using OpenGL and DirectX; F1 instances deliver Xilinx FPGA-based reconfigurable computing; Storage Optimized Instances (H1, I3, D2) that provide very high, low latency, I/O capacity using SSD-based local instance storage for I/O-intensive applications, with D2 or H1, the dense-storage and HDD-storage instances, provide local high storage density and sequential I/O performance for data warehousing, Hadoop and other data-intensive applications. When choosing instance types, you should consider the characteristics of your application with regards to resource utilization (i.e. CPU, Memory, Storage) and select the optimal instance family and instance size.

46
Q

What is an “EC2 Compute Unit” and why did you introduce it?

Hardware Information

Amazon EC2 | Compute

A

Transitioning to a utility computing model fundamentally changes how developers have been trained to think about CPU resources. Instead of purchasing or leasing a particular processor to use for several months or years, you are renting capacity by the hour. Because Amazon EC2 is built on commodity hardware, over time there may be several different types of physical hardware underlying EC2 instances. Our goal is to provide a consistent amount of CPU capacity no matter what the actual underlying hardware.

Amazon EC2 uses a variety of measures to provide each instance with a consistent and predictable amount of CPU capacity. In order to make it easy for developers to compare CPU capacity between different instance types, we have defined an Amazon EC2 Compute Unit. The amount of CPU that is allocated to a particular instance is expressed in terms of these EC2 Compute Units. We use several benchmarks and tests to manage the consistency and predictability of the performance from an EC2 Compute Unit. The EC2 Compute Unit (ECU) provides the relative measure of the integer processing power of an Amazon EC2 instance. Over time, we may add or substitute measures that go into the definition of an EC2 Compute Unit, if we find metrics that will give you a clearer picture of compute capacity.

47
Q

What is the regional availability of Amazon EC2 instance types?

Security

Amazon EC2 | Compute

A

For a list of all instances and regional availability, visit Amazon EC2 Pricing.

48
Q

How do I prevent other people from viewing my systems?

Security

Amazon EC2 | Compute

A

You have complete control over the visibility of your systems. The Amazon EC2 security systems allow you to place your running instances into arbitrary groups of your choice. Using the web services interface, you can then specify which groups may communicate with which other groups, and also which IP subnets on the Internet may talk to which groups. This allows you to control access to your instances in our highly dynamic environment. Of course, you should also secure your instance as you would any other server.

49
Q

Can I get a history of all EC2 API calls made on my account for security analysis and operational troubleshooting purposes?

Security

Amazon EC2 | Compute

A

Yes. To receive a history of all EC2 API calls (including VPC and EBS) made on your account, you simply turn on CloudTrail in the AWS Management Console. For more information, visit the CloudTrail home page.

50
Q

Where can I find more information about security on AWS?

Elastic IP

Amazon EC2 | Compute

A

For more information on security on AWS please refer to our Amazon Web Services: Overview of Security Processes white paper and to our Amazon EC2 running Windows Security Guide.

51
Q

Why am I limited to 5 Elastic IP addresses per region?

Elastic IP

Amazon EC2 | Compute

A

Public (IPV4) internet addresses are a scarce resource. There is only a limited amount of public IP space available, and Amazon EC2 is committed to helping use that space efficiently.

By default, all accounts are limited to 5 Elastic IP addresses per region. If you need more the 5 Elastic IP addresses, we ask that you apply for your limit to be raised. We will ask you to think through your use case and help us understand your need for additional addresses. You can apply for more Elastic IP address here. Any increases will be specific to the region they have been requested for.

52
Q

Why am I charged when my Elastic IP address is not associated with a running instance?

Elastic IP

Amazon EC2 | Compute

A

In order to help ensure our customers are efficiently using the Elastic IP addresses, we impose a small hourly charge for each address when it is not associated to a running instance.

53
Q

Do I need one Elastic IP address for every instance that I have running?

Elastic IP

Amazon EC2 | Compute

A

No. You do not need an Elastic IP address for all your instances. By default, every instance comes with a private IP address and an internet routable public IP address. The private address is associated exclusively with the instance and is only returned to Amazon EC2 when the instance is stopped or terminated. The public address is associated exclusively with the instance until it is stopped, terminated or replaced with an Elastic IP address. These IP addresses should be adequate for many applications where you do not need a long lived internet routable end point. Compute clusters, web crawling, and backend services are all examples of applications that typically do not require Elastic IP addresses.

54
Q

How long does it take to remap an Elastic IP address?

Elastic IP

Amazon EC2 | Compute

A

The remap process currently takes several minutes from when you instruct us to remap the Elastic IP until it fully propagates through our system.

55
Q

Can I configure the reverse DNS record for my Elastic IP address?

Availability Zones

Amazon EC2 | Compute

A

Yes, you can configure the reverse DNS record of your Elastic IP address by filling out this form. Note that a corresponding forward DNS record pointing to that Elastic IP address must exist before we can create the reverse DNS record.

56
Q

How isolated are Availability Zones from one another?

Availability Zones

Amazon EC2 | Compute

A

Each Availability Zone runs on its own physically distinct, independent infrastructure, and is engineered to be highly reliable. Common points of failures like generators and cooling equipment are not shared across Availability Zones. Additionally, they are physically separate, such that even extremely uncommon disasters such as fires, tornados or flooding would only affect a single Availability Zone.

57
Q

Is Amazon EC2 running in more than one region?

Availability Zones

Amazon EC2 | Compute

A

Yes. Please refer to Regional Products and Services for more details of our product and service availability by region.

58
Q

How can I make sure that I am in the same Availability Zone as another developer?

Availability Zones

Amazon EC2 | Compute

A

We do not currently support the ability to coordinate launches into the same Availability Zone across AWS developer accounts. One Availability Zone name (for example, us-east-1a) in two AWS customer accounts may relate to different physical Availability Zones.

59
Q

If I transfer data between Availability Zones using public IP addresses, will I be charged twice for Regional Data Transfer (once because it’s across zones, and a second time because I’m using public IP addresses)?

Nitro Hypervisor

Amazon EC2 | Compute

A

No. Regional Data Transfer rates apply if at least one of the following is true, but is only charged once for a given instance even if both are true:

The other instance is in a different Availability Zone, regardless of which type of address is used.

Public or Elastic IP addresses are used, regardless of which Availability Zone the other instance is in.

60
Q

What is the Nitro Hypervisor?

Nitro Hypervisor

Amazon EC2 | Compute

A

The launch of C5 instances introduced a new hypervisor for Amazon EC2, the Nitro Hypervisor. As a component of the Nitro system, the Nitro Hypervisor primarily provides CPU and memory isolation for EC2 instances. VPC networking and EBS storage resources are implemented by dedicated hardware components, Nitro Cards that are part of all current generation EC2 instance families. The Nitro Hypervisor is built on core Linux Kernel-based Virtual Machine (KVM) technology, but does not include general-purpose operating system components.

61
Q

How does the Nitro Hypervisor benefit customers?

Nitro Hypervisor

Amazon EC2 | Compute

A

The Nitro Hypervisor provides consistent performance and increased compute and memory resources for EC2 virtualized instances by removing host system software components. It allows AWS to offer larger instance sizes (like c5.18xlarge) that provide practically all of the resources from the server to customers. Previously, C3 and C4 instances each eliminated software components by moving VPC and EBS functionality to hardware designed and built by AWS. This hardware enables the Nitro Hypervisor to be very small and uninvolved in data processing tasks for networking and storage.

62
Q

Will all EC2 instances use the Nitro Hypervisor?

Nitro Hypervisor

Amazon EC2 | Compute

A

Eventually all new instance types will use the Nitro Hypervisor, but in the near term, some new instance types will use Xen depending on the requirements of the platform.

63
Q

Will AWS continue to invest in its Xen-based hypervisor?

Nitro Hypervisor

Amazon EC2 | Compute

A

Yes. As AWS expands its global cloud infrastructure, EC2’s use of its Xen-based hypervisor will also continue to grow. Xen will remain a core component of EC2 instances for the foreseeable future. AWS is a founding member of the Xen Project since its establishment as a Linux Foundation Collaborative Project and remains an active participant on its Advisory Board. As AWS expands its global cloud infrastructure, EC2’s Xen-based hypervisor also continues to grow. Therefore EC2’s investment in Xen continues to grow, not shrink

64
Q

How many EBS volumes and Elastic Network Interfaces (ENIs) can be attached to instances running on the Nitro Hypervisor?

Nitro Hypervisor

Amazon EC2 | Compute

A

Instances running on the Nitro Hypervisor support a maximum of 27 additional PCI devices for EBS volumes and VPC ENIs. Each EBS volume or VPC ENI uses a PCI device. For example, if you attach 3 additional network interfaces to an instance that uses the Nitro Hypervisor, you can attach up to 24 EBS volumes to that instance.

65
Q

Will the Nitro Hypervisor change the APIs used to interact with EC2 instances?

Nitro Hypervisor

Amazon EC2 | Compute

A

No, all the public facing APIs for interacting with EC2 instances that run using the Nitro Hypervisor will remain the same. For example, the “hypervisor” field of the DescribeInstances response, which will continue to report “xen” for all EC2 instances, even those running under the Nitro Hypervisor. This field may be removed in a future revision of the EC2 API.

66
Q

Which AMIs are supported on instances that use the Nitro Hypervisor?

Nitro Hypervisor

Amazon EC2 | Compute

A

EBS backed HVM AMIs with support for ENA networking and booting from NVMe storage can be used with instances that run under the Nitro Hypervisor. The latest Amazon Linux AMI and Windows AMIs provided by Amazon are supported, as are the latest AMI of Ubuntu, Debian, Red Hat Enterprise Linux, SUSE Enterprise Linux, CentOS, and FreeBSD.

67
Q

Will I notice any difference between instances using Xen hypervisor and those using the Nitro Hypervisor?

Nitro Hypervisor

Amazon EC2 | Compute

A

Yes. For example, instances running under the Nitro Hypervisor boot from EBS volumes using an NVMe interface. Instances running under Xen boot from an emulated IDE hard drive, and switch to the Xen paravirtualized block device drivers.

Operating systems can identify when they are running under a hypervisor. Some software assumes that EC2 instances will run under the Xen hypervisor and rely on this detection. Operating systems will detect they are running under KVM when an instance uses the Nitro Hypervisor, so the process to identify EC2 instances should be used to identify EC2 instances that run under both hypervisors.

All the features of EC2 such as Instance Metadata Service work the same way on instances running under both Xen and the Nitro Hypervisor. The majority of applications will function the same way under both Xen and the Nitro Hypervisor as long as the operating system has the needed support for ENA networking and NVMe storage.

68
Q

How are instance reboot and termination EC2 API requests implemented by the Nitro Hypervisor?

Nitro Hypervisor

Amazon EC2 | Compute

A

The Nitro Hypervisor signals the operating system running in the instance that it should shut down cleanly by industry standard ACPI methods. For Linux instances, this requires that acpid be installed and functioning correctly. If acpid is not functioning in the instance, termination events will be delayed by multiple minutes and will then execute as a hard reset or power off.

69
Q

How do EBS volumes behave when accessed by NVMe interfaces?

Enhanced Networking

Amazon EC2 | Compute

A

There are some important differences in how operating system NVMe drivers behave compared to Xen paravirtual (PV) block drivers.

First, the NVMe device names used by Linux based operating systems will be different than the parameters for EBS volume attachment requests and block device mapping entries such as /dev/xvda and /dev/xvdf. NVMe devices are enumerated by the operating system as /dev/nvme0n1, /dev/nvme1n1, and so on. The NVMe device names are not persistent mappings to volumes, therefore other methods like file system UUIDs or labels should be used when configuring the automatic mounting of file systems or other startup activities. When EBS volumes are accessed via the NVMe interface, the EBS volume ID is available via the controller serial number and the device name specified in EC2 API requests is provided by an NVMe vendor extension to the Identify Controller command. This enables backward compatible symbolic links to be created by a utility script. For more information see the EC2 documentation on device naming and NVMe based EBS volumes.

Second, by default the NVMe drivers included in most operating systems implement an I/O timeout. If an I/O does not complete in an implementation specific amount of time, usually tens of seconds, the driver will attempt to cancel the I/O, retry it, or return an error to the component that issued the I/O. The Xen PV block device interface does not time out I/O, which can result in processes that cannot be terminated if it is waiting for I/O. The Linux NVMe driver behavior can be modified by specifying a higher value for the nvme.io timeout kernel module parameter.

Third, the NVMe interface can transfer much larger amounts of data per I/O, and in some cases may be able to support more outstanding I/O requests, compared to the Xen PV block interface. This can cause higher I/O latency if very large I/Os or a large number of I/O requests are issued to volumes designed to support throughput workloads like EBS Throughput Optimized HDD (st1) and Cold HDD (sc1) volumes. This I/O latency is normal for throughput optimized volumes in these scenarios, but may cause I/O timeouts in NVMe drivers. The I/O timeout can be adjusted in the Linux driver by specifying a larger value for the nvme_core.io_timeout kernel module parameter.

70
Q

What networking capabilities are included in this feature?

Enhanced Networking

Amazon EC2 | Compute

A

We currently support enhanced networking capabilities using SR-IOV (Single Root I/O Virtualization). SR-IOV is a method of device virtualization that provides higher I/O performance and lower CPU utilization compared to traditional implementations. For supported Amazon EC2 instances, this feature provides higher packet per second (PPS) performance, lower inter-instance latencies, and very low network jitter.

71
Q

Why should I use Enhanced Networking?

Enhanced Networking

Amazon EC2 | Compute

A

If your applications benefit from high packet-per-second performance and/or low latency networking, Enhanced Networking will provide significantly improved performance, consistence of performance and scalability.

72
Q

How can I enable Enhanced Networking on supported instances?

Enhanced Networking

Amazon EC2 | Compute

A

In order to enable this feature, you must launch an HVM AMI with the appropriate drivers. M5, C5, H1, R4, X1, I3, P3, P2, G3, and m4.16xlarge instances provide the Elastic Network Adapter (ENA) interface (which uses the “ena” Linux driver) for Enhanced Networking. C3, C4, R3, I2, M4 (except m4.16xlarge) and D2 instances use Intel® 82599g Virtual Function Interface (which uses the “ixgbevf” Linux driver). Amazon Linux AMI includes both of these drivers by default. For AMIs that do not contain these drivers, you will need to download and install the appropriate drivers based on the instance types you plan to use. You can use Linux or Windows instructions to enable Enhanced Networking in AMIs that do not include the SR-IOV driver by default. Enhanced Networking is only supported in Amazon VPC.

73
Q

Do I need to pay an additional fee to use Enhanced Networking?

Enhanced Networking

Amazon EC2 | Compute

A

No, there is no additional fee for Enhanced Networking. To take advantage of Enhanced Networking you need to launch the appropriate AMI on a supported instance type in a VPC.

74
Q

Why is Enhanced Networking only supported in Amazon VPC?

Enhanced Networking

Amazon EC2 | Compute

A

Amazon VPC allows us to deliver many advanced networking features to you that are not possible in EC2-Classic. Enhanced Networking is another example of a capability enabled by Amazon VPC.

75
Q

Which instance types support Enhanced Networking?

Enhanced Networking

Amazon EC2 | Compute

A

Currently C3, C4, C5, D2, I3, I2, H1, M5, M4, X1 and R3 instances support Enhanced Networking. X1, P2, P3, G3, I3, R4 and m4.16xlarge instances provide the Elastic Network Adapter (ENA) interface for Enhanced Networking. C3, C4, R3, I2, M4 (except m4.16xlarge) and D2 instances, use Intel® 82599 Virtual Function Interface.

76
Q

Which instance types offer NVMe instance storage?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

High I/O instances use NVMe based local instance storage to deliver very high, low latency, I/O capacity to applications, and are optimized for applications that require millions of IOPS. Like Cluster instances, High I/O instances can be clustered via cluster placement groups for high bandwidth networking.

77
Q

What happens to my data when a system terminates?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

The data stored on a local instance store will persist only as long as that instance is alive. However, data that is stored on an Amazon EBS volume will persist independently of the life of the instance. Therefore, we recommend that you use the local instance store for temporary data and, for data requiring a higher level of durability, we recommend using Amazon EBS volumes or backing up the data to Amazon S3. If you are using an Amazon EBS volume as a root partition, you will need to set the Delete On Terminate flag to “N” if you want your Amazon EBS volume to persist outside the life of the instance.

78
Q

What kind of performance can I expect from Amazon EBS volumes?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

Amazon EBS provides four current generation volume types and are divided into two major categories: SSD-backed storage for transactional workloads and HDD-backed storage for throughput intensive workloads. These volume types differ in performance characteristics and price, allowing you to tailor your storage performance and cost to the needs of your applications. For more information on see the EBS product details page, and for additional information on performance, see the Amazon EC2 User Guide’s EBS Performance section.

79
Q

What are Throughput Optimized HDD (st1) and Cold HDD (sc1) volume types?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

ST1 volumes are backed by hard disk drives (HDDs) and are ideal for frequently accessed, throughput intensive workloads with large datasets and large I/O sizes, such as MapReduce, Kafka, log processing, data warehouse, and ETL workloads. These volumes deliver performance in terms of throughput, measured in MB/s, and include the ability to burst up to 250 MB/s per TB, with a baseline throughput of 40 MB/s per TB and a maximum throughput of 500 MB/s per volume. ST1 is designed to deliver the expected throughput performance 99% of the time and has enough I/O credits to support a full-volume scan at the burst rate.

SC1 volumes are backed by hard disk drives (HDDs) and provides the lowest cost per GB of all EBS volume types. It is ideal for less frequently accessed workloads with large, cold datasets. Similar to st1, sc1 provides a burst model: these volumes can burst up to 80 MB/s per TB, with a baseline throughput of 12 MB/s per TB and a maximum throughput of 250 MB/s per volume. For infrequently accessed data, sc1 provides extremely inexpensive storage. SC1 is designed to deliver the expected throughput performance 99% of the time and has enough I/O credits to support a full-volume scan at the burst rate.

To maximize the performance of st1 and sc1, we recommend using EBS-optimized EC2 instances.

80
Q

Which volume type should I choose?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

Amazon EBS includes two major categories of storage: SSD-backed storage for transactional workloads (performance depends primarily on IOPS) and HDD-backed storage for throughput workloads (performance depends primarily on throughput, measured in MB/s). SSD-backed volumes are designed for transactional, IOPS-intensive database workloads, boot volumes, and workloads that require high IOPS. SSD-backed volumes include Provisioned IOPS SSD (io1) and General Purpose SSD (gp2). HDD-backed volumes are designed for throughput-intensive and big-data workloads, large I/O sizes, and sequential I/O patterns. HDD-backed volumes include Throughput Optimized HDD (st1) and Cold HDD (sc1). For more information on Amazon EBS see the EBS product details page.

81
Q

Do you support multiple instances accessing a single volume?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

While you are able to attach multiple volumes to a single instance, attaching multiple instances to one volume is not supported at this time.

82
Q

Will I be able to access my EBS snapshots using the regular Amazon S3 APIs?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

No, EBS snapshots are only available through the Amazon EC2 APIs.

83
Q

Do volumes need to be un-mounted in order to take a snapshot? Does the snapshot need to complete before the volume can be used again?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

No, snapshots can be done in real time while the volume is attached and in use. However, snapshots only capture data that has been written to your Amazon EBS volume, which might exclude any data that has been locally cached by your application or OS. In order to ensure consistent snapshots on volumes attached to an instance, we recommend cleanly detaching the volume, issuing the snapshot command, and then reattaching the volume. For Amazon EBS volumes that serve as root devices, we recommend shutting down the machine to take a clean snapshot.

84
Q

Are snapshots versioned? Can I read an older snapshot to do a point-in-time recovery?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

Each snapshot is given a unique identifier, and customers can create volumes based on any of their existing snapshots.

85
Q

What charges apply when using Amazon EBS shared snapshots?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

If you share a snapshot, you won’t be charged when other users make a copy of your snapshot. If you make a copy of another user’s shared volume, you will be charged normal EBS rates.

86
Q

Can users of my Amazon EBS shared snapshots change any of my data?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

Users who have permission to create volumes based on your shared snapshots will first make a copy of the snapshot into their account. Users can modify their own copies of the data, but the data on your original snapshot and any other volumes created by other users from your original snapshot will remain unmodified.

87
Q

How can I discover Amazon EBS snapshots that have been shared with me?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

You can find snapshots that have been shared with you by selecting “Private Snapshots” from the viewing dropdown in the Snapshots section of the AWS Management Console. This section will list both snapshots you own and snapshots that have been shared with you.

88
Q

How can I find what Amazon EBS snapshots are shared globally?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

You can find snapshots that have been shared globally by selecting “Public Snapshots” from the viewing dropdown in the Snapshots section of the AWS Management Console.

89
Q

Do you offer encryption on Amazon EBS volumes and snapshots?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

Yes. EBS offers seamless encryption of data volumes and snapshots. EBS encryption better enables you to meet security and encryption compliance requirements.

90
Q

How can I find a list of Amazon Public Data Sets?

Amazon Elastic Block Store (EBS)

Amazon EC2 | Compute

A

All information on Public Data Sets is available in our Public Data Sets Resource Center. You can also obtain a listing of Public Data Sets within the AWS Management Console by choosing “Amazon Snapshots” from the viewing dropdown in the Snapshots section.

91
Q

Where can I learn more about EBS?

Amazon Elastic File Storage (EFS)

Amazon EC2 | Compute

A

You can visit the Amazon EBS FAQ page.

92
Q

How do I access a file system from an Amazon EC2 instance?

Amazon Elastic File Storage (EFS)

Amazon EC2 | Compute

A

To access your file system, you mount the file system on an Amazon EC2 Linux-based instance using the standard Linux mount command and the file system’s DNS name. Once you’ve mounted, you can work with the files and directories in your file system just like you would with a local file system.

Amazon EFS uses the NFSv4.1 protocol. For a step-by-step example of how to access a file system from an Amazon EC2 instance, please see the Amazon EFS Getting Started guide.

93
Q

What Amazon EC2 instance types and AMIs work with Amazon EFS?

Amazon Elastic File Storage (EFS)

Amazon EC2 | Compute

A

Amazon EFS is compatible with all Amazon EC2 instance types and is accessible from Linux-based AMIs. You can mix and match the instance types connected to a single file system. For a step-by-step example of how to access a file system from an Amazon EC2 instance, please see the Amazon EFS Getting Started guide.

94
Q

How do I load data into a file system?

Amazon Elastic File Storage (EFS)

Amazon EC2 | Compute

A

You can load data into an Amazon EFS file system from your Amazon EC2 instances or from your on-premises datacenter servers.

Amazon EFS file systems can be mounted on an Amazon EC2 instance, so any data that is accessible to an Amazon EC2 instance can also be read and written to Amazon EFS. To load data that is not currently stored on the Amazon cloud, you can use the same methods you use to transfer files to Amazon EC2 today, such as Secure Copy (SCP).

Amazon EFS file systems can also be mounted on an on-premises server, so any data that is accessible to an on-premises server can be read and written to Amazon EFS using standard Linux tools. For more information about accessing a file system from an on-premises server, please see the On-premises Access section of the Amazon EFS FAQ.

For more information about moving data to the Amazon cloud, please see the Cloud Data Migration page.

95
Q

How do I access my file system from outside my VPC?

Amazon Elastic File Storage (EFS)

Amazon EC2 | Compute

A

Amazon EC2 instances within your VPC can access your file system directly, and Amazon EC2 Classic instances outside your VPC can mount a file system via ClassicLink. On-premises servers can mount your file systems via an AWS Direct Connect connection to your VPC.

96
Q

How many Amazon EC2 instances can connect to a file system?

Amazon Elastic File Storage (EFS)

Amazon EC2 | Compute

A

Amazon EFS supports one to thousands of Amazon EC2 instances connecting to a file system concurrently.

97
Q

Where can I learn more about EFS?

Amazon CloudWatch

Amazon EC2 | Compute

A

You can visit the Amazon EFS FAQ page.

98
Q

What is the minimum time interval granularity for the data that Amazon CloudWatch receives and aggregates?

Amazon CloudWatch

Amazon EC2 | Compute

A

Metrics are received and aggregated at 1 minute intervals.

99
Q

Which operating systems does Amazon CloudWatch support?

Amazon CloudWatch

Amazon EC2 | Compute

A

Amazon CloudWatch receives and provides metrics for all Amazon EC2 instances and should work with any operating system currently supported by the Amazon EC2 service.

100
Q

Will I lose the metrics data if I disable monitoring for an Amazon EC2 instance?

Amazon CloudWatch

Amazon EC2 | Compute

A

You can retrieve metrics data for any Amazon EC2 instance up to 2 weeks from the time you started to monitor it. After 2 weeks, metrics data for an Amazon EC2 instance will not be available if monitoring was disabled for that Amazon EC2 instance. If you want to archive metrics beyond 2 weeks you can do so by calling mon-get-stats command from the command line and storing the results in Amazon S3 or Amazon SimpleDB.

101
Q

Can I access the metrics data for a terminated Amazon EC2 instance or a deleted Elastic Load Balancer?

Amazon CloudWatch

Amazon EC2 | Compute

A

Yes. Amazon CloudWatch stores metrics for terminated Amazon EC2 instances or deleted Elastic Load Balancers for 2 weeks.

102
Q

Does the Amazon CloudWatch monitoring charge change depending on which type of Amazon EC2 instance I monitor?

Amazon CloudWatch

Amazon EC2 | Compute

A

No, the Amazon CloudWatch monitoring charge does not vary by Amazon EC2 instance type.

103
Q

Why does the graphing of the same time window look different when I view in 5 minute and 1 minute periods?

Amazon EC2 Auto Scaling

Amazon EC2 | Compute

A

If you view the same time window in a 5 minute period versus a 1 minute period, you may see that data points are displayed in different places on the graph. For the period you specify in your graph, Amazon CloudWatch will find all the available data points and calculates a single, aggregate point to represent the entire period. In the case of a 5 minute period, the single data point is placed at the beginning of the 5 minute time window. In the case of a 1 minute period, the single data point is placed at the 1 minute mark. We recommend using a 1 minute period for troubleshooting and other activities that require the most precise graphing of time periods.

104
Q

Can I automatically scale my Amazon EC2 fleets?

Elastic Load Balancing

Amazon EC2 | Compute

A

Yes. Amazon EC2 Auto Scaling is a fully managed service designed to launch or terminate Amazon EC2 instances automatically to help ensure you have the correct number of Amazon EC2 instances available to handle the load for your application. EC2 Auto Scaling helps you maintain application availability through fleet management for EC2 instances, which detects and replaces unhealthy instances, and by scaling your Amazon EC2 capacity up or down automatically according to conditions you define. You can use EC2 Auto Scaling to automatically increase the number of Amazon EC2 instances during demand spikes to maintain performance and decrease capacity during lulls to reduce costs. For more information see the Amazon EC2 Auto Scaling FAQ.

105
Q

What load balancing options does the Elastic Load Balancing service offer?

Elastic Load Balancing

Amazon EC2 | Compute

A

Elastic Load Balancing offers two types of load balancers that both feature high availability, automatic scaling, and robust security. These include the Classic Load Balancer that routes traffic based on either application or network level information, and the Application Load Balancer that routes traffic based on advanced application level information that includes the content of the request.

106
Q

When should I use the Classic Load Balancer and when should I use the Application Load Balancer?

Reserved Instances

Amazon EC2 | Compute

A

The Classic Load Balancer is ideal for simple load balancing of traffic across multiple EC2 instances, while the Application Load Balancer is ideal for applications needing advanced routing capabilities, microservices, and container-based architectures. Please visit Elastic Load Balancing for more information.

107
Q

What is a Reserved Instance?

Reserved Instances

Amazon EC2 | Compute

A

A Reserved Instance (RI) is an EC2 offering that provides you with a significant discount on EC2 usage when you commit to a one-year or three-year term.

108
Q

What are the differences between Standard RIs and Convertible RIs?

Reserved Instances

Amazon EC2 | Compute

A

Standard RIs offer a significant discount on EC2 instance usage when you commit to a particular instance family. Convertible RIs offer you the option to change your instance configuration during the term, and still receive a discount on your EC2 usage. For more information on Convertible RIs, please click here.

109
Q

Do RIs provide a capacity reservation?

Reserved Instances

Amazon EC2 | Compute

A

Yes, when a Standard or Convertible RI is scoped to a specific Availability Zone (AZ), instance capacity matching the exact RI configuration is reserved for your use (these are referred to as “zonal RIs”). Zonal RIs give you additional confidence in your ability to launch instances when you need them.

You can also choose to forego the capacity reservation and purchase Standard or Convertible RIs that are scoped to a region (referred to as “regional RIs”). Regional RIs automatically apply the discount to usage across Availability Zones and instance sizes in a region, making it easier for you to take advantage of the RI’s discounted rate.

110
Q

When should I purchase a zonal RI?

Reserved Instances

Amazon EC2 | Compute

A

If you want to take advantage of the capacity reservation, then you should buy an RI in a specific Availability Zone.

111
Q

When should I purchase a regional RI?

Reserved Instances

Amazon EC2 | Compute

A

If you do not require the capacity reservation, then you should buy a regional RI. Regional RIs provide AZ and instance size flexibility, which offers broader applicability of the RI’s discounted rate.

112
Q

What are Availability Zone and instance size flexibility?

Reserved Instances

Amazon EC2 | Compute

A

Availability Zone and instance size flexibility make it easier for you to take advantage of your regional RI’s discounted rate. Availability Zone flexibility applies your RI’s discounted rate to usage in any Availability Zone in a region, while instance size flexibility applies your RI’s discounted rate to usage of any size within an instance family. Let’s say you own an m5.2xlarge Linux/Unix regional RI with default tenancy in US East (N.Virginia). Then this RI’s discounted rate can automatically apply to two m5.xlarge instances in us-east-1a or four m5.large instances in us-east-1b.

113
Q

What types of RIs provide instance size flexibility?

Reserved Instances

Amazon EC2 | Compute

A

Linux/Unix regional RIs with the default tenancy provide instance size flexibility. Instance size flexibility is not available on RIs of other platforms such as Windows, Windows with SQL Standard, Windows with SQL Server Enterprise, Windows with SQL Server Web, RHEL, and SLES.

114
Q

Do I need to take any action to take advantage of Availability Zone and instance size flexibility?

Reserved Instances

Amazon EC2 | Compute

A

Regional RIs do not require any action to take advantage of Availability Zone and instance size flexibility.

115
Q

I own zonal RIs how do I assign them to a region?

Reserved Instances

Amazon EC2 | Compute

A

You can assign your Standard zonal RIs to a region by modifying the scope of the RI from a specific Availability Zone to a region from the EC2 management console or by using the ModifyReservedInstances API.

116
Q

How do I purchase an RI?

Reserved Instances

Amazon EC2 | Compute

A

To get started, you can purchase an RI from the EC2 Management Console or by using the AWS CLI. Simply specify the instance type, platform, tenancy, term, payment option, and region or Availability Zone.

117
Q

Can I purchase an RI for a running instance?

Reserved Instances

Amazon EC2 | Compute

A

Yes, AWS will automatically apply an RI’s discounted rate to any applicable instance usage from the time of purchase. Visit the Getting Started page to learn more.

118
Q

Can I control which instances are billed at the discounted rate?

Reserved Instances

Amazon EC2 | Compute

A

No. AWS automatically optimizes which instances are charged at the discounted rate to ensure you always pay the lowest amount. For information about billing, and how it applies to RIs, see Billing Benefits and Payment Options.

119
Q

How does instance size flexibility work?

Reserved Instances

Amazon EC2 | Compute

A

EC2 uses the scale shown below, to compare different sizes within an instance family. In the case of instance size flexibility on RIs, this scale is used to apply the discounted rate of RIs to the normalized usage of the instance family. For example, if you have an m5.2xlarge RI that is scoped to a region, then your discounted rate could apply towards the usage of 1 m5.2xlarge or 2 m5.xlarge instances.

Click here to learn more about how instance size flexibility of RIs applies to your EC2 usage. And click here to learn about how instance size flexibility of RIs is presented in the Cost and Usage Report.

Instance Size

Normalization Factor

nano

0.25

micro 0.5

small 1

medium 2

large 4

xlarge 8

2xlarge 16

4xlarge 32

8xlarge 64

9xlarge 72

10xlarge 80

12xlarge 96

16xlarge 128

18xlarge 144

24xlarge 192

32xlarge 256

120
Q

Can I change my RI during its term?

Reserved Instances

Amazon EC2 | Compute

A

Yes, you can modify the Availability Zone of the RI, change the scope of the RI from Availability Zone to region (and vice-versa), change the network platform from EC2-VPC to EC2-Classic (and vice versa) or modify instance sizes within the same instance family (on the Linux/Unix platform).

121
Q

Can I change the instance type of my RI during its term?

Reserved Instances

Amazon EC2 | Compute

A

Yes, Convertible RIs offer you the option to change the instance type, operating system, tenancy or payment option of your RI during its term. Please refer to the Convertible RI section of the FAQ for additional information.

122
Q

What are the different payment options for RIs?

Reserved Instances

Amazon EC2 | Compute

A

You can choose from three payment options when you purchase an RI. With the All Upfront option, you pay for the entire RI term with one upfront payment. With the Partial Upfront option, you make a low upfront payment and are then charged a discounted hourly rate for the instance for the duration of the RI term. The No Upfront option does not require any upfront payment and provides a discounted hourly rate for the duration of the term.

123
Q

When are RIs activated?

Reserved Instances

Amazon EC2 | Compute

A

The billing discount and capacity reservation (if applicable) is activated once your payment has successfully been authorized. You can view the status (pending | active | retired) of your RIs on the “Reserved Instances” page of the Amazon EC2 Console.

124
Q

Do RIs apply to Spot instances or instances running on a Dedicated Host?

Reserved Instances

Amazon EC2 | Compute

A

No, RIs do not apply to Spot instances or instances running on Dedicated Hosts. To lower the cost of using Dedicated Hosts, purchase Dedicated Host Reservations.

125
Q

How do RIs work with Consolidated Billing?

Reserved Instances

Amazon EC2 | Compute

A

Our system automatically optimizes which instances are charged at the discounted rate to ensure that the consolidated accounts always pay the lowest amount. If you own RIs that apply to an Availability Zone, then only the account which owns the RI will receive the capacity reservation. However, the discount will automatically apply to usage in any account across your consolidated billing family.

126
Q

Can I get a discount on RI purchases?

Reserved Instances

Amazon EC2 | Compute

A

Yes, EC2 provides tiered discounts on RI purchases. These discounts are determined based on the total list value (non-discounted price) for the active RIs you have per region. Your total list value is the sum of all expected payments for an RI within the term, including both the upfront and recurring hourly payments. The tier ranges and corresponding discounts are shown alongside.

Tier Range of List Value

Discount on Upfront

Discount on Hourly

Less than $500k

0%

0%

$500k-$4M

5%

5%

$4M-$10M 10% 10%

More than $10M Call Us

127
Q

Can you help me understand how volume discounts are applied to my RI purchases?

Reserved Instances

Amazon EC2 | Compute

A

Sure. Let’s assume that you currently have $400,000 worth of active RIs in the US-east-1 region. Now, if you purchase RIs worth $150,000 in the same region, then the first $100,000 of this purchase would not receive a discount. However, the remaining $50,000 of this purchase would be discounted by 5 percent, so you would only be charged $47,500 for this portion of the purchase over the term based on your payment option.

To learn more, please visit the Understanding Reserved Instance Discount Pricing Tier portion of the Amazon EC2 User Guide.

128
Q

How do I calculate the list value of an RI?

Reserved Instances

Amazon EC2 | Compute

A

Here is a sample list value calculation for three-year Partial Upfront Reserved Instances:

3yr Partial Upfront Volume Discount Value in US-East

Upfront $

Recurring Hourly $

Recurring Hourly Value

List Value

m3.xlarge

$ 1,345

$ 0.060

$ 1,577

$ 2,922

c3.xlarge

$ 1,016

$ 0.045

$ 1,183

$ 2,199

129
Q

How are volume discounts calculated if I use Consolidated Billing?

Reserved Instances

Amazon EC2 | Compute

A

If you leverage Consolidated Billing, AWS will use the aggregate total list price of active RIs across all of your consolidated accounts to determine which volume discount tier to apply. Volume discount tiers are determined at the time of purchase, so you should activate Consolidated Billing prior to purchasing RIs to ensure that you benefit from the largest possible volume discount that your consolidated accounts are eligible to receive.

130
Q

Do Convertible RIs qualify for Volume Discounts?

Reserved Instances

Amazon EC2 | Compute

A

No, however the value of each Convertible RI that you purchase contributes to your volume discount tier standing.

131
Q

How do I determine which volume discount tier applies to me?

Reserved Instances

Amazon EC2 | Compute

A

To determine your current volume discount tier, please consult the Understanding Reserved Instance Discount Pricing Tiers portion of the Amazon EC2 User Guide.

132
Q

Will the cost of my RIs change, if my future volume qualifies me for other discount tiers?

Reserved Instances

Amazon EC2 | Compute

A

No. Volume discounts are determined at the time of purchase, therefore the cost of your RIs will continue to remain the same as you qualify for other discount tiers. Any new purchase will be discounted according to your eligible volume discount tier at the time of purchase.

133
Q

Do I need to take any action at the time of purchase to receive volume discounts?

Convertible Reserved Instances

Amazon EC2 | Compute

A

No, you will automatically receive volume discounts when you use the existing PurchaseReservedInstance API or EC2 Management Console interface to purchase RIs. If you purchase more than $10M worth of RIs contact us about receiving discounts beyond those that are automatically provided.

134
Q

What is a Convertible RI?

Convertible Reserved Instances

Amazon EC2 | Compute

A

A Convertible RI is a type of Reserved Instance with attributes that can be changed during the term.

135
Q

When should I purchase a Convertible RI instead of a Standard RI?

Convertible Reserved Instances

Amazon EC2 | Compute

A

The Convertible RI is useful for customers who can commit to using EC2 instances for a three-year term in exchange for a significant discount on their EC2 usage, are uncertain about their instance needs in the future, or want to benefit from changes in price.

136
Q

What term length options are available on Convertible RIs?

Convertible Reserved Instances

Amazon EC2 | Compute

A

Like Standard RIs, Convertible RIs are available for purchase for a one-year or three-year term.

137
Q

Can I exchange my Convertible RI to benefit from a Convertible RI matching a different instance type, operating system, tenancy, or payment option?

Convertible Reserved Instances

Amazon EC2 | Compute

A

Yes, you can select a new instance type, operating system, tenancy, or payment option when you exchange your Convertible RIs. You also have the flexibility to exchange a portion of your Convertible RI or merge the value of multiple Convertible RIs in a single exchange. Click here to learn more about exchanging Convertible RIs.

138
Q

Can I transfer a Convertible or Standard RI from one region to another?

Convertible Reserved Instances

Amazon EC2 | Compute

A

No, a RI is associated with a specific region, which is fixed for the duration of the reservation’s term.

139
Q

How do I change the configuration of a Convertible RI?

Convertible Reserved Instances

Amazon EC2 | Compute

A

You can change the configuration of your Convertible RI using the EC2 Management Console or the GetReservedInstancesExchangeQuote API. You also have the flexibility to exchange a portion of your Convertible RI or merge the value of multiple Convertible RIs in a single exchange. Click here to learn more about exchanging Convertible RIs.

140
Q

Do I need to pay a fee when I exchange my Convertible RIs?

Convertible Reserved Instances

Amazon EC2 | Compute

A

No, you do not pay a fee when you exchange your RIs. However may need to pay a one-time true-up charge that accounts for differences in pricing between the Convertible RIs that you have and the Convertible RIs that you want.

141
Q

How do Convertible RI exchanges work?

Convertible Reserved Instances

Amazon EC2 | Compute

A

When you exchange one Convertible RI for another, EC2 ensures that the total value of the Convertible RIs is maintained through a conversion. So, if you are converting your RI with a total value of $1000 for another RI, you will receive a quantity of Convertible RIs with a value that’s equal to or greater than $1000. You cannot convert your Convertible RI for Convertible RI(s) of a lesser total value.

142
Q

Can you define total value?

Convertible Reserved Instances

Amazon EC2 | Compute

A

The total value is the sum of all expected payments that you’d make during the term for the RI.

143
Q

Can you walk me through how the true-up cost is calculated for a conversion between two All Upfront Convertible RIs?

Convertible Reserved Instances

Amazon EC2 | Compute

A

Sure, let’s say you purchased an All Upfront Convertible RI for $1000 upfront, and halfway through the term you decide to change the attributes of the RI. Since you’re halfway through the RI term, you have $500 left of prorated value remaining on the RI. The All Upfront Convertible RI that you want to convert into costs $1,200 upfront today. Since you only have half of the term left on your existing Convertible RI, there is $600 of value remaining on the desired new Convertible RI. The true-up charge that you’ll pay will be the difference in upfront value between original and desired Convertible RIs, or $100 ($600 - $500).

144
Q

Can you walk me through a conversion between No Upfront Convertible RIs?

Convertible Reserved Instances

Amazon EC2 | Compute

A

Unlike conversions between Convertible RIs with an upfront value, since you’re converting between RIs without an upfront cost, there will not be a true-up charge. However, the amount you pay on an hourly basis before the exchange will need to be greater than or equal to the amount you pay on a total hourly basis after the exchange.

For example, let’s say you purchased one No Upfront Convertible RI (A) with a $0.10/hr rate, and you decide to exchange Convertible RI A for another RI (B) that costs $0.06/hr. When you convert, you will receive two RIs of B because the amount that you pay on an hourly basis must be greater than or equal to the amount you’re paying for A on an hourly basis.

145
Q

Can I customize the number of instances that I receive as a result of a Convertible RI exchange?

Convertible Reserved Instances

Amazon EC2 | Compute

A

No, EC2 uses the value of the Convertible RIs you’re trading in to calculate the minimal number of Convertible RIs you’ll receive while ensuring the result of the exchange gives you Convertible RIs of equal or greater value.

146
Q

Are there exchange limits for Convertible RIs?

Convertible Reserved Instances

Amazon EC2 | Compute

A

No, there are no exchange limits for Convertible RIs.

147
Q

Do I have the freedom to choose any instance type when I exchange my Convertible RIs?

Convertible Reserved Instances

Amazon EC2 | Compute

A

No, you can only exchange into Convertible RIs that are currently offered by AWS.

148
Q

Can I upgrade the payment option associated with my Convertible RI?

Convertible Reserved Instances

Amazon EC2 | Compute

A

Yes, you can upgrade the payment option associated with your RI. For example, you can exchange your No Upfront RIs for Partial or All Upfront RIs to benefit from better pricing. You cannot change the payment option from All Upfront to No Upfront, and cannot change from Partial Upfront to No Upfront.

149
Q

Do Convertible RIs allow me to benefit from price reductions when they happen?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, you can exchange your RIs to benefit from lower pricing. For example, if the price of new Convertible RIs reduces by 10%, you can exchange your Convertible RIs and benefit from the 10% reduction in price.

150
Q

What is the Reserved Instance Marketplace?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

The Reserved Instance Marketplace is an online marketplace that provides AWS customers the flexibility to sell their Amazon Elastic Compute Cloud (Amazon EC2) Reserved Instances to other businesses and organizations. Customers can also browse the Reserved Instance Marketplace to find an even wider selection of Reserved Instance term lengths and pricing options sold by other AWS customers.

151
Q

When can I list a Reserved Instance on the Reserved Instance Marketplace?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

You can list a Reserved Instance when:

You’ve registered as a seller in the Reserved Instance Marketplace.

You’ve paid for your Reserved Instance.

You’ve owned the Reserved Instance for longer than 30 days.

152
Q

How will I register as a seller for the Reserved Instance Marketplace?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

To register for the Reserved Instance Marketplace, you can enter the registration workflow by selling a Reserved Instance from the EC2 Management Console or setting up your profile from the “Account Settings” page on the AWS portal. No matter the route, you will need to complete the following steps:

Start by reviewing the overview of the registration process.

Log in to your AWS Account.

Enter in the bank account into which you want us to disburse funds. Once you select “Continue”, we will set that bank account as the default disbursement option.

In the confirmation screen, choose “Continue to Console to Start Listing”.

If you exceed $20,000 in sales of Reserved Instances, or plan to sell 50 or more Reserved Instances, you will need to provide tax information before you can list your Reserved Instances. Choose “Continue with Tax Interview”. During the tax interview pipeline, you will be prompted to enter your company name, contact name, address, and Tax Identification Number using the TIMS workflow.

Additionally, if you plan to sell Reserved Instances worth more than $50,000 per year you will also need to file a limit increase.

153
Q

How will I know when I can start selling on the Reserved Instance Marketplace?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

You can start selling on the Reserved Instance Marketplace after you have added a bank account through the registration pipeline. Once activation is complete, you will receive a confirmation email. However, it is important to note that you will not be able to receive disbursements until we are able to receive verification from your bank, which may take up to two weeks, depending on the bank you use.

154
Q

How do I list a Reserved Instance for sale?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

To list a Reserved Instance, simply complete these steps in the Amazon EC2 Console:

Select the Reserved Instances you wish to sell, and choose “Sell Reserved Instances”. If you have not completed the registration process, you will be prompted to register using the registration pipeline.

For each Reserved Instance type, set the number of instances you’d like to sell, and the price for the one-time fee you would like to set. Note that you can set the one-time price to different amounts depending on the amount of time remaining so that you don’t have to keep adjusting your one-time price if your Reserved Instance doesn’t sell quickly. By default you just need to set the current price and we will automatically decrease the one-time price by the same increment each month.

Once you have configured your listing, a final confirmation screen will appear. Choose “Sell Reserved Instance”.

155
Q

Which Reserved Instances can I list for sale?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

You can list any Reserved Instances that have been active for at least 30 days, and for which we have received payment. Typically, this means that you can list your reservations once they are in the active state. It is important to note that if you are an invoice customer, your Reserved Instance can be in the active state prior to AWS receiving payment. In this case, your Reserved Instance will not be listed until we have received your payment.

156
Q

How are listed Reserved Instances displayed to buyers?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Reserved Instances (both third-party and those offered by AWS) that have been listed on the Reserved Instance Marketplace can be viewed in the “Reserved Instances” section of the Amazon EC2 Console. You can also use the DescribeReservedInstancesListings API call.

The listed Reserved Instances are grouped based on the type, term remaining, upfront price, and hourly price. This makes it easier for buyers to find the right Reserved Instances to purchase.

157
Q

How much of my Reserved Instance term can I list?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

You can sell a Reserved Instance for the term remaining, rounded down to the nearest month. For example, if you had 9 months and 13 days remaining, you will list it for sale as a 9-month-term Reserved Instance.

158
Q

Can I remove my Reserved Instance after I’ve listed it for sale?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, you can remove your Reserved Instance listings at any point until a sale is pending (meaning a buyer has bought your Reserved Instance and confirmation of payment is pending).

159
Q

Which pricing dimensions can I set for the Reserved Instances I want to list?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Using the Reserved Instance Marketplace, you can set an upfront price you’d be willing to accept. You cannot set the hourly price (which will remain the same as was set on the original Reserved Instance), and you will not receive any funds collected from payments associated with the hourly prices.

160
Q

Can I still use my reservation while it is listed on the Reserved Instance Marketplace?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, you will continue to receive the capacity and billing benefit of your reservation until it is sold. Once sold, any running instance that was being charged at the discounted rate will be charged at the On-Demand rate until and unless you purchase a new reservation, or terminate the instance.

161
Q

Can I resell a Reserved Instance that I purchased from the Reserved Instance Marketplace?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, you can resell Reserved Instances purchased from the Reserved Instance Marketplace just like any other Reserved Instance.

162
Q

Are there any restrictions when selling Reserved Instances?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, you must have a US bank account to sell Reserved Instances in the Reserved Instance Marketplace. Support for non-US bank accounts will be coming soon. Also, you may not sell Reserved Instances in the US GovCloud region.

163
Q

Can I sell Reserved Instances purchased from the public volume pricing tiers?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

No, this capability is not yet available.

164
Q

Is there a charge for selling Reserved Instances on the Reserved Instance Marketplace?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, AWS charges a service fee of 12% of the total upfront price of each Reserved Instance you sell in the Reserved Instance Marketplace.

165
Q

Can AWS sell subsets of my listed Reserved Instances?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, AWS may potentially sell a subset of the quantity of Reserved Instances that you have listed. For example, if you list 100 Reserved instances, we may only have a buyer interested in purchasing 50 of them. We will sell those 50 instances and continue to list your remaining 50 Reserved Instances until and unless you decide not to list them any longer.

166
Q

How do buyers pay for Reserved Instances that they’ve purchased?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Payment for completed Reserved Instance sales are done via ACH wire transfers to a US bank account.

167
Q

When will I receive my money?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Once AWS has received funds from the customer that has bought your reservation, we will disburse funds via wire transfer to the bank account you specified when you registered for the Reserved Instance Marketplace.

Then, we will send you an email notification letting you know that we’ve wired you the funds. Typically, funds will appear in your account within 3-5 days of when your Reserved Instance was been sold.

168
Q

If I sell my Reserved Instance in the Reserved Instance Marketplace, will I get refunded for the Premium Support I was charged too?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

No, you will not receive a pro-rated refund for the upfront portion of the AWS Premium Support Fee.

169
Q

Will I be notified about Reserved Instance Marketplace activities?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, you will receive a single email once a day that details your Reserved Instance Marketplace activity whenever you create or cancel Reserved Instance listings, buyers purchase your listings, or AWS disburses funds to your bank account.

170
Q

What information is exchanged between the buyer and seller to help with the transaction tax calculation?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

The buyer’s city, state, zip+4, and country information will be provided to the seller via a disbursement report. This information will enable sellers to calculate any necessary transaction taxes they need to remit to the government (e.g., sales tax, value-added tax, etc.). The legal entity name of the seller will also be provided on the purchase invoice.

171
Q

Are there any restrictions on the customers when purchasing third-party Reserved Instances?

Reserved Instance Marketplace

Amazon EC2 | Compute

A

Yes, you cannot purchase your own listed Reserved Instances, including those in any of your linked accounts (via Consolidated Billing).

172
Q

Do I have to pay for Premium Support when purchasing Reserved Instances from the Reserved Instance Marketplace?

Spot Instances

Amazon EC2 | Compute

A

Yes, if you are a Premium Support customer, you will be charged for Premium Support when you purchase a Reserved Instance through the Reserved Instance Marketplace.

173
Q

What is a Spot Instance?

Spot Instances

Amazon EC2 | Compute

A

Spot instances are spare EC2 capacity that can save you up 90% off of On-Demand prices that AWS can interrupt with a 2-minute notification. Spot uses the same underlying EC2 instances as On-Demand and Reserved Instances, and is best suited for fault-tolerant, flexible workloads. Spot instances provides an additional option for obtaining compute capacity and can be used along with On-Demand and Reserved Instances.

174
Q

How is a Spot instance different than an On-Demand instance or Reserved Instance?

Spot Instances

Amazon EC2 | Compute

A

While running, Spot instances are exactly the same as On-Demand or Reserved instances. The main differences are that Spot instances typically offer a significant discount off the On-Demand prices, your instances can be interrupted by Amazon EC2 for capacity requirements with a 2-minute notification, and Spot prices adjust gradually based on long term supply and demand for spare EC2 capacity.

See here for more details on Spot instances.

175
Q

How do I purchase and start up a Spot instance?

Spot Instances

Amazon EC2 | Compute

A

Spot instances can be launched using the same tools you use launch instances today, including AWS Management Console, Auto-Scaling Groups, Run Instances and Spot Fleet. In addition many AWS services support launching Spot instances such as EMR, ECS, Datapipeline, Cloudformation and Batch.

To start up a Spot instance, you simply need to choose a Launch Template and the number of instances you would like to request.

See here for more details on how to request Spot instances.

176
Q

How many Spot instances can I request?

Spot Instances

Amazon EC2 | Compute

A

You can request Spot instances up to your Spot limit for each region. Note that customers new to AWS might start with a lower limit. To learn more about Spot instance limits, please refer to the Amazon EC2 User Guide.

If you would like a higher limit, 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.

177
Q

What price will I pay for a Spot instance?

Spot Instances

Amazon EC2 | Compute

A

You pay the Spot price that’s in effect at the beginning of each instance-hour for your running instance. If Spot price changes after you launch the instance, the new price is charged against the instance usage for the subsequent hour.

178
Q

What is a Spot capacity pool?

Spot Instances

Amazon EC2 | Compute

A

A Spot capacity pool is a set of unused EC2 instances with the same instance type, operating system, Availability Zone, and network platform (EC2-Classic or EC2-VPC). Each spot capacity pool can have a different price based on supply and demand.

179
Q

What are the best practices to use Spot instances?

Spot Instances

Amazon EC2 | Compute

A

We highly recommend using multiple Spot capacity pools to maximize the amount of Spot capacity available to you. EC2 provides built-in automation to find the most cost-effective capacity across multiple Spot capacity pools using Spot Fleet. For more information, please see Spot Best Practices.

180
Q

How can I determine the status of my Spot request?

Spot Instances

Amazon EC2 | Compute

A

You can determine the status of your Spot request via Spot Request Status code and message. You can access Spot Request Status information on the Spot Instance page of the EC2 console of the AWS Management Console, API and CLI. For more information, please visit the Amazon EC2 Developer guide.

181
Q

Are Spot instances available for all instance families and sizes and in all regions?

Spot Instances

Amazon EC2 | Compute

A

Spot instances are available in all public AWS regions. Spot is available for nearly all EC2 instance families and sizes, including the newest compute-optimized instances, accelerated graphics, FPGA and the new bare-metal instance types. A full list of instance types supported in each region are listed here.

182
Q

Which operating systems are available as Spot instances?

Spot Instances

Amazon EC2 | Compute

A

Linux/UNIX and Windows Server are available. Windows Server with SQL Server is not currently available.

183
Q

Can I use a Spot instance with a paid AMI for third-party software (such as IBM’s software packages)?

Spot Instances

Amazon EC2 | Compute

A

Not at this time.

184
Q

When would my Spot instance get interrupted?

Spot Instances

Amazon EC2 | Compute

A

Over the last 3 months, 92% of Spot instance interruptions were from a customer manually terminating the instance because the application had completed its work.

In the circumstance EC2 needs to reclaim your Spot instance it can be for two possible reasons, with the primary one being Amazon EC2 capacity requirements (e.g. On Demand or Reserved Instance usage). Secondarily, if you have chosen to set a “maximum Spot price” and the Spot price rises above this, your instance will be reclaimed with a two-minute notification. This parameter determines the maximum price you would be willing to pay for a Spot instance hour, and by default, is set at the On-Demand price. As before, you continue to pay the Spot market price, not your maximum price, at the time your instance was running, charged in per-second increments.

185
Q

What happens to my Spot instance when it gets interrupted?

Spot Instances

Amazon EC2 | Compute

A

You can choose to have your Spot instances terminated, stopped or hibernated upon interruption. Stop and hibernate options are available for persistent Spot requests and Spot Fleets with the “maintain” option enabled. By default, your instances are terminated.

Refer to Spot Hibernation to learn more about handling interruptions.

186
Q

What is the difference between Stop and Hibernate interruption behaviors?

Spot Instances

Amazon EC2 | Compute

A

In the case of Hibernate, your instance gets hibernated and the RAM data persisted. In the case of Stop, your instance gets shutdown and RAM is cleared.

In both the cases, data from your EBS root volume and any attached EBS data volumes is persisted. Your private IP address remains the same, as does your elastic IP address (if applicable). The network layer behavior will be similar to that of EC2 Stop-Start workflow. Stop and Hibernate are available for Amazon EBS backed instances only. Local instance storage is not persisted.

187
Q

What if my EBS root volume is not large enough to store memory state (RAM) for Hibernate?

Spot Instances

Amazon EC2 | Compute

A

You should have sufficient space available on your EBS root volume to write data from memory. If the EBS root volume does not enough space, hibernation will fail and the instance will get shutdown instead. Ensure that your EBS volume is large enough to persist memory data before choosing the hibernate option.

188
Q

What is the benefit if Spot hibernates my instance on interruption?

Spot Instances

Amazon EC2 | Compute

A

With hibernate, Spot instances will pause and resume around any interruptions so your workloads can pick up from exactly where they left off. You can use hibernation when your instance(s) need to retain instance state across shutdown-startup cycles, i.e. when your applications running on Spot depend on contextual, business, or session data stored in RAM.

189
Q

What do I need to do to enable hibernation for my Spot instances?

Spot Instances

Amazon EC2 | Compute

A

Refer to Spot Hibernation to learn about enabling hibernation for your Spot instances.

190
Q

Do I have to pay for hibernating my Spot instance?

Spot Instances

Amazon EC2 | Compute

A

There is no additional charge for hibernating your instance beyond the EBS storage costs and any other EC2 resources you may be using. You are not charged instance usage fees once your instance is hibernated.

191
Q

Can I restart a stopped instance or resume a hibernated instance?

Spot Instances

Amazon EC2 | Compute

A

No, you will not be able to re-start a stopped instance or resume a hibernated instance directly. Stop-start and hibernate-resume cycles are controlled by Amazon EC2. If an instance is stopped or hibernated by Spot, it will be restarted or resumed by Amazon EC2 when the capacity becomes available.

192
Q

Which instances and operating systems support hibernation?

Spot Instances

Amazon EC2 | Compute

A

Spot Hibernation is currently supported for Amazon Linux AMIs, Ubuntu and Microsoft Windows operating systems running on any instance type across C3, C4, C5, M4, M5, R3, R4 instances with memory (RAM) size less than 100 GiB.

To review the list of supported OS versions, refer to Spot Hibernation.

193
Q

How will I be charged if my Spot instance is interrupted?

Spot Instances

Amazon EC2 | Compute

A

If your Spot instance is terminated or stopped by Amazon EC2 in the first instance hour, you will not be charged for that usage. However, if you terminate the instance yourself, you will be charged to the nearest second. If the Spot instance is terminated or stopped by Amazon EC2 in any subsequent hour, you will be charged for your usage to the nearest second. If you are running on Windows and you terminate the instance yourself, you will be charged for an entire hour.

194
Q

How am I charged if Spot price changes while my instance is running?

Spot Instances

Amazon EC2 | Compute

A

You will pay the price per instance-hour set at the beginning of each instance-hour for the entire hour, billed to the nearest second.

195
Q

Where can I see my usage history for Spot instances and see how much I was billed?

Spot Instances

Amazon EC2 | Compute

A

The AWS Management Console makes a detailed billing report available which shows Spot instance start and termination/stop times for all instances. Customers can check the billing report against historical Spot prices via the API to verify that the Spot price they were billed is correct.

196
Q

Are Spot blocks (Fixed Duration Spot instances) ever interrupted?

Spot Instances

Amazon EC2 | Compute

A

Spot blocks are designed not to be interrupted and will run continuously for the duration you select, independent of Spot market price. In rare situations, Spot blocks may be interrupted due to AWS capacity needs. In these cases, we will provide a two-minute warning before we terminate your instance (termination notice), and you will not be charged for the affected instance(s).

197
Q

What is a Spot fleet?

Spot Instances

Amazon EC2 | Compute

A

A Spot Fleet allows you to automatically request and manage multiple Spot instances that provide the lowest price per unit of capacity for your cluster or application, like a batch processing job, a Hadoop workflow, or an HPC grid computing job. You can include the instance types that your application can use. You define a target capacity based on your application needs (in units including instances, vCPUs, memory, storage, or network throughput) and update the target capacity after the fleet is launched. Spot fleets enable you to launch and maintain the target capacity, and to automatically request resources to replace any that are disrupted or manually terminated. Learn more about Spot fleets.

198
Q

Is there any additional charge for making Spot Fleet requests

Spot Instances

Amazon EC2 | Compute

A

No, there is no additional charge for Spot Fleet requests.

199
Q

What limits apply to a Spot Fleet request?

Spot Instances

Amazon EC2 | Compute

A

Visit the Spot Fleet Limits section of the Amazon EC2 User Guide to learn about the limits that apply to your Spot Fleet request.

200
Q

What happens if my Spot Fleet request tries to launch Spot instances but exceeds my regional Spot request limit?

Spot Instances

Amazon EC2 | Compute

A

If your Spot Fleet request exceeds your regional Spot instance request limit, individual Spot instance requests will fail with a Spot request limit exceeded request status. Your Spot Fleet request’s history will show any Spot request limit errors that the Fleet request received. Visit the Monitoring Your Spot Fleet section of the Amazon EC2 User Guide to learn how to describe your Spot Fleet request’s history.

201
Q

Are Spot fleet requests guaranteed to be fulfilled?

Spot Instances

Amazon EC2 | Compute

A

No. Spot fleet requests allow you to place multiple Spot instance requests simultaneously, and are subject to the same availability and prices as a single Spot instance request. For example, if no resources are available for the instance types listed in your Spot Fleet request, we may be unable to fulfill your request partially or in full. We recommend you to include all the possible instance types and availability zones that are suitable for your workloads in the Spot Fleet.

202
Q

Can I submit a multi-Availability Zone Spot Fleet request?

Spot Instances

Amazon EC2 | Compute

A

Yes, visit the Spot Fleet Examples section of the Amazon EC2 User Guide to learn how to submit a multi-Availability Zone Spot Fleet request.

203
Q

Can I submit a multi-region Spot Fleet request?

Spot Instances

Amazon EC2 | Compute

A

No, we do not support multi-region Fleet requests.

204
Q

How does Spot Fleet allocate resources across the various Spot instance pools specified in the launch specifications?

Spot Instances

Amazon EC2 | Compute

A

The RequestSpotFleet API provides two allocation strategies: lowestPrice and diversified. The lowestPrice strategy allows you to provision your Spot Fleet resources in instance pools that provide the lowest price per unit of capacity at the time of the request. The diversified strategy allows you to provision your Spot Fleet resources across multiple Spot instance pools. This enables you to maintain your fleet’s target capacity and increase your application’s availability as Spot capacity fluctuates.

Running your application’s resources across diverse Spot instance pools also allows you to further reduce your fleet’s operating costs over time. Visit the Amazon EC2 User Guide to learn more.

205
Q

Can I tag a Spot Fleet request?

Spot Instances

Amazon EC2 | Compute

A

You can request to launch Spot instances with tags via Spot Fleet. The Fleet by itself cannot be tagged.

206
Q

How can I see which Spot fleet owns my Spot instances?

Spot Instances

Amazon EC2 | Compute

A

You can identify the Spot instances associated with your Spot Fleet by describing your fleet request. Fleet requests are available for 48 hours after all its Spot instances have been terminated. See the Amazon EC2 User Guide to learn how to describe your Spot Fleet request.

207
Q

Can I modify my Spot Fleet request?

Spot Instances

Amazon EC2 | Compute

A

Yes, you can modify the target capacity of your Spot Fleet request. You may need to cancel the request and submit a new one to change other request configuration parameters.

208
Q

Can I specify a different AMI for each instance type that I want to use?

Spot Instances

Amazon EC2 | Compute

A

Yes, simply specify the AMI you’d like to use in each launch specification you provide in your Spot Fleet request.

209
Q

Can I use Spot Fleet with Elastic Load Balancing, Auto Scaling, or Elastic MapReduce?

Spot Instances

Amazon EC2 | Compute

A

You can use Auto Scaling features with Spot Fleet such as target tracking, health checks, cloudwatch metrics etc and can attach instances to your Elastic load balancers (both classic and application load balancers). Elastic MapReduce has a feature named “Instance fleets” that provides capabilities similar to Spot Fleet.

210
Q

Does a Spot Fleet request terminate Spot instances when they are no longer running in the lowest priced Spot pools and relaunch them in the lowest priced pools?

Spot Instances

Amazon EC2 | Compute

A

No, Spot Fleet requests do not automatically terminate and re-launch instances while they are running. However, if you terminate a Spot instance, Spot Fleet will replenish it with a new Spot instance in the new lowest priced pool.

211
Q

Can I use stop or Hibernation interruption behaviors with Spot Fleet?

Micro Instances

Amazon EC2 | Compute

A

Yes, stop-start and hibernate-resume are supported with Spot Fleet with “maintain” fleet option enabled.

212
Q

How much compute power do Micro instances provide?

Micro Instances

Amazon EC2 | Compute

A

Micro instances provide a small amount of consistent CPU resources and allow you to burst CPU capacity up to 2 ECUs when additional cycles are available. They are well suited for lower throughput applications and web sites that consume significant compute cycles periodically but very little CPU at other times for background processes, daemons, etc. Learn more about use of this instance type.

213
Q

How does a Micro instance compare in compute power to a Standard Small instance?

Micro Instances

Amazon EC2 | Compute

A

At steady state, Micro instances receive a fraction of the compute resources that Small instances do. Therefore, if your application has compute-intensive or steady state needs we recommend using a Small instance (or larger, depending on your needs). However, Micro instances can periodically burst up to 2 ECUs (for short periods of time). This is double the number of ECUs available from a Standard Small instance. Therefore, if you have a relatively low throughput application or web site with an occasional need to consume significant compute cycles, we recommend using Micro instances.

214
Q

How can I tell if an application needs more CPU resources than a Micro instance is providing?

Micro Instances

Amazon EC2 | Compute

A

The CloudWatch metric for CPU utilization will report 100% utilization if the instance bursts so much that it exceeds its available CPU resources during that CloudWatch monitored minute. CloudWatch reporting 100% CPU utilization is your signal that you should consider scaling – manually or via Auto Scaling – up to a larger instance type or scale out to multiple Micro instances.

215
Q

Are all features of Amazon EC2 available for Micro instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

Currently Amazon DevPay is not available for Micro instances.

216
Q

When should I use Compute Optimized instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

Compute Optimized instances are designed for applications that benefit from high compute power. These applications include compute-intensive applications like high-performance web servers, high-performance computing (HPC), scientific modelling, distributed analytics and machine learning inference.

217
Q

Can I launch C4 instances as Amazon EBS-optimized instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

Each C4 instance type is EBS-optimized by default. C4 instances 500 Mbps to 4,000 Mbps to EBS above and beyond the general-purpose network throughput provided to the instance. Since this feature is always enabled on C4 instances, launching a C4 instance explicitly as EBS-optimized will not affect the instance’s behavior.

218
Q

How can I use the processor state control feature available on the c4.8xlarge instance?

Compute Optimized Instances

Amazon EC2 | Compute

A

The c4.8xlarge instance type provides the ability for an operating system to control processor C-states and P-states. This feature is currently available only on Linux instances. You may want to change C-state or P-state settings to increase processor performance consistency, reduce latency, or tune your instance for a specific workload. By default, Amazon Linux provides the highest-performance configuration that is optimal for most customer workloads; however, if your application would benefit from lower latency at the cost of higher single- or dual-core frequencies, or from lower-frequency sustained performance as opposed to bursty Turbo Boost frequencies, then you should consider experimenting with the C-state or P-state configuration options that are available to these instances. For additional information on this feature, see the Amazon EC2 User Guide section on Processor State Control.

219
Q

Which instances are available within Compute Optimized instances category?

Compute Optimized Instances

Amazon EC2 | Compute

A

C5 instances: C5 instances are the latest generation of EC2 Compute Optimized instances. C5 instances are based on Intel Xeon Platinum processors, part of the Intel Xeon Scalable (codenamed Skylake-SP) processor family, and are available in 6 sizes and offer up to 72 vCPUs and 144 GiB memory. C5 instances deliver 25% improvement in price/performance compared to C4 instances.

C4 instances: C4 instances are based on Intel Xeon E5-2666 v3 (codenamed Haswell) processors. C4 instances are available in 5 sizes and offer up to 36 vCPUs and 60 GiB memory.

220
Q

Should I move my workloads from C3 or C4 instances to C5 instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

The generational improvement in CPU performance and lower price of C5 instances, which combined result in a 25% price/performance improvement relative to C4 instances, benefit a broad spectrum of workloads that currently run on C3 or C4 instances. For floating point intensive applications, Intel AVX-512 enables significant improvements in delivered TFLOPS by effectively extracting data level parallelism. Customers looking for absolute performance for graphics rendering and HPC workloads that can be accelerated with GPUs or FPGAs should also evaluate other instance families in the Amazon EC2 portfolio that include those resources to find the ideal instance for their workload.

221
Q

Which operating systems/AMIs are supported on C5 Instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

EBS backed HVM AMIs with support for ENA networking and booting from NVMe-based storage can be used with C5 instances. The following AMIs are supported on C5:

Amazon Linux 2014.03 or newer

Ubuntu 14.04 or newer

SUSE Linux Enterprise Server 12 or newer

Red Hat Enterprise Linux 7.4 or newer

CentOS 7 or newer

Windows Server 2008 R2

Windows Server 2012

Windows Server 2012 R2

Windows Server 2016

FreeBSD 11.1-RELEASE

222
Q

What are the storage options available to C5 customers?

Compute Optimized Instances

Amazon EC2 | Compute

A

C5 instances use EBS volumes for storage, are EBS-optimized by default, and offer up to 9 Gbps throughput to both encrypted and unencrypted EBS volumes. C5 instances access EBS volumes via PCI attached NVM Express (NVMe) interfaces. NVMe is an efficient and scalable storage interface commonly used for flash based SSDs such as local NVMe storage provided with I3 instances. Though the NVMe interface may provide lower latency compared to Xen paravirtualized block devices, when used to access EBS volumes the volume type, size, and provisioned IOPS (if applicable) will determine the overall latency and throughput characteristics of the volume. When NVMe is used to provide EBS volumes, they are attached and detached by PCI hotplug.

223
Q

What network interface is supported on C5 instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

C5 instances use the Elastic Network Adapter (ENA) for networking and enable Enhanced Networking by default. With ENA, C5 instances can utilize up to 25 Gbps of network bandwidth.

224
Q

Which storage interface is supported on C5 instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

C5 instances will support only NVMe EBS device model. EBS volumes attached to C5 instances will appear as NVMe devices. NVMe is a modern storage interface that provides latency reduction and results in increased disk I/O and throughput.

225
Q

How many EBS volumes can be attached to C5 instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

C5 instances support a maximum for 27 EBS volumes for all Operating systems. The limit is shared with ENI attachments which can be found here http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html. For example: since every instance has at least 1 ENI, if you have 3 additional ENI attachments on the c4.2xlarge, you can attach 24 EBS volumes to that instance.

226
Q

What is the underlying hypervisor on C5 instances?

Compute Optimized Instances

Amazon EC2 | Compute

A

C5 instances use a new EC2 hypervisor that is based on core KVM technology.

227
Q

Why does the total memory reported by Linux not match the advertised memory of the C5 instance type?

Accelerated Computing Instances

Amazon EC2 | Compute

A

In C5, portions of the total memory for an instance are reserved from use by the Operating System including areas used by the virtual BIOS for things like ACPI tables and for devices like the virtual video RAM.

228
Q

What are Accelerated Computing instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

Accelerated Computing instance family is a family of instances which use hardware accelerators, or co-processors, to perform some functions, such as floating-point number calculation and graphics processing, more efficiently than is possible in software running on CPUs. Amazon EC2 provides three types of Accelerated Computing instances – GPU compute instances for general-purpose computing, GPU graphics instances for graphics intensive applications, and FPGA programmable hardware compute instances for advanced scientific workloads.

229
Q

When should I use GPU Graphics and Compute instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

GPU instances work best for applications with massive parallelism such as workloads using thousands of threads. Graphics processing is an example with huge computational requirements, where each of the tasks is relatively small, the set of operations performed form a pipeline, and the throughput of this pipeline is more important than the latency of the individual operations. To be able build applications that exploit this level of parallelism, one needs GPU device specific knowledge by understanding how to program against various graphics APIs (DirectX, OpenGL) or GPU compute programming models (CUDA, OpenCL).

230
Q

How are P3 instances different from G3 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

P3 instances are the next-generation of EC2 general-purpose GPU computing instances, powered by up to 8 of the latest-generation NVIDIA Tesla V100 GPUs. These new instances significantly improve performance and scalability, and add many new features, including new Streaming Multiprocessor (SM) architecture for machine learning (ML)/deep learning (DL) performance optimization, second-generation NVIDIA NVLink high-speed GPU interconnect, and highly tuned HBM2 memory for higher-efficiency.

G3 instances use NVIDIA Tesla M60 GPUs and provide a high-performance platform for graphics applications using DirectX or OpenGL. NVIDIA Tesla M60 GPUs support NVIDIA GRID Virtual Workstation features, and H.265 (HEVC) hardware encoding. Each M60 GPU in G3 instances supports 4 monitors with resolutions up to 4096x2160, and is licensed to use NVIDIA GRID Virtual Workstation for one Concurrent Connected User. Example applications of G3 instances include 3D visualizations, graphics-intensive remote workstation, 3D rendering, application streaming, video encoding, and other server-side graphics workloads.

231
Q

What are the benefits of NVIDIA Volta GV100 GPUs?

Accelerated Computing Instances

Amazon EC2 | Compute

A

The new NVIDIA Tesla V100 accelerator incorporates the powerful new Volta GV100 GPU. GV100 not only builds upon the advances of its predecessor, the Pascal GP100 GPU, it significantly improves performance and scalability, and adds many new features that improve programmability. These advances will supercharge HPC, data center, supercomputer, and deep learning systems and applications.

232
Q

Who will benefit from P3 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

P3 instances with their high computational performance will benefit users in artificial intelligence (AI), machine learning (ML), deep learning (DL) and high performance computing (HPC) applications. Users includes data scientists, data architects, data analysts, scientific researchers, ML engineers, IT managers and software developers. Key industries include transportation, energy/oil & gas, financial services (banking, insurance), healthcare, pharmaceutical, sciences, IT, retail, manufacturing, high-tech, transportation, government, academia, among many others.

233
Q

What are some key use cases of P3 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

P3 instance use GPUs to accelerate numerous deep learning systems and applications including autonomous vehicle platforms, speech, image, and text recognition systems, intelligent video analytics, molecular simulations, drug discovery, disease diagnosis, weather forecasting, big data analytics, financial modeling, robotics, factory automation, real-time language translation, online search optimizations, and personalized user recommendations, to name just a few.

234
Q

Why should customers use GPU-powered Amazon P3 instances for AI/ML and HPC?

Accelerated Computing Instances

Amazon EC2 | Compute

A

GPU-based compute instances provide greater throughput and performance because they are designed for massively parallel processing using thousands of specialized cores per GPU, versus CPUs offering sequential processing with a few cores. In addition, developers have built hundreds of GPU-optimized scientific HPC applications such as quantum chemistry, molecular dynamics, meteorology, among many others. Research indicates that over 70% of the most popular HPC applications provide built-in support for GPUs.

235
Q

Will P3 instances support EC2 Classic networking and Amazon VPC?

Accelerated Computing Instances

Amazon EC2 | Compute

A

P3 instances will support VPC only.

236
Q

How are G3 instances different from P2 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

G3 instances use NVIDIA Tesla M60 GPUs and provide a high-performance platform for graphics applications using DirectX or OpenGL. NVIDIA Tesla M60 GPUs support NVIDIA GRID Virtual Workstation features, and H.265 (HEVC) hardware encoding. Each M60 GPU in G3 instances supports 4 monitors with resolutions up to 4096x2160, and is licensed to use NVIDIA GRID Virtual Workstation for one Concurrent Connected User. Example applications of G3 instances include 3D visualizations, graphics-intensive remote workstation, 3D rendering, application streaming, video encoding, and other server-side graphics workloads.

P2 instances use NVIDIA Tesla K80 GPUs and are designed for general purpose GPU computing using the CUDA or OpenCL programming models. P2 instances provide customers with high bandwidth 25 Gbps networking, powerful single and double precision floating-point capabilities, and error-correcting code (ECC) memory, making them ideal for deep learning, high performance databases, computational fluid dynamics, computational finance, seismic analysis, molecular modeling, genomics, rendering, and other server-side GPU compute workloads.

237
Q

How are P3 instances different from G2 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

P3 Instances are the next-generation of EC2 general-purpose GPU computing instances, powered by up to 8 of the latest-generation NVIDIA Volta GV100 GPUs. These new instances significantly improve performance and scalability and add many new features, including new Streaming Multiprocessor (SM) architecture, optimized for machine learning (ML)/deep learning (DL) performance, second-generation NVIDIA NVLink high-speed GPU interconnect, and highly tuned HBM2 memory for higher-efficiency.

P2 instances use NVIDIA Tesla K80 GPUs and are designed for general purpose GPU computing using the CUDA or OpenCL programming models. P2 instances provide customers with high bandwidth 25 Gbps networking, powerful single and double precision floating-point capabilities, and error-correcting code (ECC) memory.

238
Q

What APIs and programming models are supported by GPU Graphics and Compute instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

P3 instances support CUDA 9 and OpenCL, P2 instances support CUDA 8 and OpenCL 1.2 and G3 instances support DirectX 12, OpenGL 4.5, CUDA 8, and OpenCL 1.2.

239
Q

Where do I get NVIDIA drivers for P3 and G3 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

There are two methods by which NVIDIA drivers may be obtained. There are listings on the AWS Marketplace which offer Amazon Linux AMIs and Windows Server AMIs with the NVIDIA drivers pre-installed. You may also launch 64-bit, HVM AMIs and install the drivers yourself. You must visit the NVIDIA driver website and search for the NVIDIA Tesla V100 for P3, NVIDIA Tesla K80 for P2, and NVIDIA Tesla M60 for G3 instances.

240
Q

Which AMIs can I use with P3, P2 and G3 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

You can currently use Windows Server, SUSE Enterprise Linux, Ubuntu, and Amazon Linux AMIs on P2 and G3 instances. P3 instances only support HVM AMIs. If you want to launch AMIs with operating systems not listed here, contact AWS Customer Support with your request or reach out through EC2 Forums.

241
Q

Does the use of G2 and G3 instances require third-party licenses?

Accelerated Computing Instances

Amazon EC2 | Compute

A

Aside from the NVIDIA drivers and GRID SDK, the use of G2 and G3 instances does not necessarily require any third-party licenses. However, you are responsible for determining whether your content or technology used on G2 and G3 instances requires any additional licensing. For example, if you are streaming content you may need licenses for some or all of that content. If you are using third-party technology such as operating systems, audio and/or video encoders, and decoders from Microsoft, Thomson, Fraunhofer IIS, Sisvel S.p.A., MPEG-LA, and Coding Technologies, please consult these providers to determine if a license is required. For example, if you leverage the on-board h.264 video encoder on the NVIDIA GRID GPU you should reach out to MPEG-LA for guidance, and if you use mp3 technology you should contact Thomson for guidance.

242
Q

Why am I not getting NVIDIA GRID features on G3 instances using the driver downloaded from NVIDIA website?

Accelerated Computing Instances

Amazon EC2 | Compute

A

The NVIDIA Tesla M60 GPU used in G3 instances requires a special NVIDIA GRID driver to enable all advanced graphics features, and 4 monitors support with resolution up to 4096x2160. You need to use an AMI with NVIDIA GRID driver pre-installed, or download and install the NVIDIA GRID driver following the AWS documentation.

243
Q

Why am I unable to see the GPU when using Microsoft Remote Desktop?

Accelerated Computing Instances

Amazon EC2 | Compute

A

When using Remote Desktop, GPUs using the WDDM driver model are replaced with a non-accelerated Remote Desktop display driver. In order to access your GPU hardware, you need to utilize a different remote access tool, such as VNC.

244
Q

What is Amazon EC2 F1?

Accelerated Computing Instances

Amazon EC2 | Compute

A

Amazon EC2 F1 is a compute instance with programmable hardware you can use for application acceleration. The new F1 instance type provides a high performance, easy to access FPGA for developing and deploying custom hardware accelerations.

245
Q

What are FPGAs and why do I need them?

Accelerated Computing Instances

Amazon EC2 | Compute

A

FPGAs are programmable integrated circuits that you can configure using software. By using FPGAs you can accelerate your applications up to 30x when compared with servers that use CPUs alone. And, FPGAs are reprogrammable, so you get the flexibility to update and optimize your hardware acceleration without having to redesign the hardware.

246
Q

How does F1 compare with traditional FPGA solutions?

Accelerated Computing Instances

Amazon EC2 | Compute

A

F1 is an AWS instance with programmable hardware for application acceleration. With F1, you have access to FPGA hardware in a few simple clicks, reducing the time and cost of full-cycle FPGA development and scale deployment from months or years to days. While FPGA technology has been available for decades, adoption of application acceleration has struggled to be successful in both the development of accelerators and the business model of selling custom hardware for traditional enterprises, due to time and cost in development infrastructure, hardware design, and at-scale deployment. With this offering, customers avoid the undifferentiated heavy lifting associated with developing FPGAs in on-premises data centers.

247
Q

What is an Amazon FPGA Image (AFI)?

Accelerated Computing Instances

Amazon EC2 | Compute

A

The design that you create to program your FPGA is called an Amazon FPGA Image (AFI). AWS provides a service to register, manage, copy, query, and delete AFIs. After an AFI is created, it can be loaded on a running F1 instance. You can load multiple AFIs to the same F1 instance, and can switch between AFIs in runtime without reboot. This lets you quickly test and run multiple hardware accelerations in rapid sequence. You can also offer to other customers on the AWS Marketplace a combination of your FPGA acceleration and an AMI with custom software or AFI drivers.

248
Q

How do I list my hardware acceleration on the AWS Marketplace?

Accelerated Computing Instances

Amazon EC2 | Compute

A

You would develop your AFI and the software drivers/tools to use this AFI. You would then package these software tools/drivers into an Amazon Machine Image (AMI) in an encrypted format. AWS manages all AFIs in the encrypted format you provide to maintain the security of your code. To sell a product in the AWS Marketplace, you or your company must sign up to be an AWS Marketplace reseller, you would then submit your AMI ID and the AFI ID(s) intended to be packaged in a single product. AWS Marketplace will take care of cloning the AMI and AFI(s) to create a product, and associate a product code to these artifacts, such that any end-user subscribing to this product code would have access to this AMI and the AFI(s).

249
Q

What is available with F1 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

For developers, AWS is providing a Hardware Development Kit (HDK) to help accelerate development cycles, a FPGA Developer AMI for development in the cloud, an SDK for AMIs running the F1 instance, and a set of APIs to register, manage, copy, query, and delete AFIs. Both developers and customers have access to the AWS Marketplace where AFIs can be listed and purchased for use in application accelerations.

250
Q

Do I need to be a FPGA expert to use an F1 instance?

Accelerated Computing Instances

Amazon EC2 | Compute

A

AWS customers subscribing to a F1-optimized AMI from AWS Marketplace do not need to know anything about FPGAs to take advantage of the accelerations provided by the F1 instance and the AWS Marketplace. Simply subscribe to an F1-optimized AMI from the AWS Marketplace with an acceleration that matches the workload. The AMI contains all the software necessary for using the FPGA acceleration. Customers need only write software to the specific API for that accelerator and start using the accelerator.

251
Q

I’m a FPGA developer, how do I get started with F1 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

Developers can get started on the F1 instance by creating an AWS account and downloading the AWS Hardware Development Kit (HDK). The HDK includes documentation on F1, internal FPGA interfaces, and compiler scripts for generating AFI. Developers can start writing their FPGA code to the documented interfaces included in the HDK to create their acceleration function. Developers can launch AWS instances with the FPGA Developer AMI. This AMI includes the development tools needed to compile and simulate the FPGA code. The Developer AMI is best run on the latest C5, M5, or R4 instances. Developers should have experience in the programming languages used for creating FPGA code (i.e. Verilog or VHDL) and an understanding of the operation they wish to accelerate.

252
Q

I’m not an FPGA developer, how do I get started with F1 instances?

Accelerated Computing Instances

Amazon EC2 | Compute

A

Customers can get started with F1 instances by selecting an accelerator from the AWS Marketplace, provided by AWS Marketplace sellers, and launching an F1 instance with that AMI. The AMI includes all of the software and APIs for that accelerator. AWS manages programming the FPGA with the AFI for that accelerator. Customers do not need any FPGA experience or knowledge to use these accelerators. They can work completely at the software API level for that accelerator.

253
Q

Does AWS provide a developer kit?

Accelerated Computing Instances

Amazon EC2 | Compute

A

Yes. The Hardware Development Kit (HDK) includes simulation tools and simulation models for developers to simulate, debug, build, and register their acceleration code. The HDK includes code samples, compile scripts, debug interfaces, and many other tools you will need to develop the FPGA code for your F1 instances. You can use the HDK either in an AWS provided AMI, or in your on-premises development environment. These models and scripts are available publically with an AWS account.

254
Q

Can I use the HDK in my on-premises development environment?

Accelerated Computing Instances

Amazon EC2 | Compute

A

Yes. You can use the Hardware Development Kit HDK either in an AWS-provided AMI, or in your on-premises development environment.

255
Q

Can I add an FPGA to any EC2 instance type?

Cluster Instances

Amazon EC2 | Compute

A

No. F1 instances comes in two instance sizes f1.2xlarge and f1.16 xlarge.

256
Q

What is a Cluster Compute Instance?

Cluster Instances

Amazon EC2 | Compute

A

Cluster Compute Instances combine high compute resources with a high performance networking for High Performance Compute (HPC) applications and other demanding network-bound applications. Cluster Compute Instances provide similar functionality to other Amazon EC2 instances but have been specifically engineered to provide high performance networking.

Amazon EC2 cluster placement group functionality allows users to group Cluster Compute Instances in clusters – allowing applications to get the low-latency network performance necessary for tightly-coupled node-to-node communication typical of many HPC applications. Cluster Compute Instances also provide significantly increased network throughput both within the Amazon EC2 environment and to the Internet. As a result, these instances are also well suited for customer applications that need to perform network-intensive operations.

Learn more about use of this instance type for HPC applications.

257
Q

What kind of network performance can I expect when I launch instances in cluster placement group?

Cluster Instances

Amazon EC2 | Compute

A

The bandwidth an EC2 instance can utilize in a cluster placement group depends on the instance type and its networking performance specification. Inter-instance traffic within the same region can utilize 5 Gbps for single-flow and up to 25 Gbps for multi-flow traffic. When launched in a placement group, select EC2 instances can utilize up to 10 Gbps for single-flow traffic.

258
Q

What is a Cluster GPU Instance?

Cluster Instances

Amazon EC2 | Compute

A

Cluster GPU Instances provide general-purpose graphics processing units (GPUs) with proportionally high CPU and increased network performance for applications benefiting from highly parallelized processing that can be accelerated by GPUs using the CUDA and OpenCL programming models. Common applications include modeling and simulation, rendering and media processing.

Cluster GPU Instances give customers with HPC workloads an option beyond Cluster Compute Instances to further customize their high performance clusters in the cloud for applications that can benefit from the parallel computing power of GPUs.

Cluster GPU Instances use the same cluster placement group functionality as Cluster Compute Instances for grouping instances into clusters – allowing applications to get the low-latency, high bandwidth network performance required for tightly-coupled node-to-node communication typical of many HPC applications.

Learn more about HPC on AWS.

259
Q

What is a High Memory Cluster Instance?

Cluster Instances

Amazon EC2 | Compute

A

High Memory Cluster Instances provide customers with large amounts of memory and CPU capabilities per instance in addition to high network capabilities. These instance types are ideal for memory intensive workloads including in-memory analytics systems, graph analysis and many science and engineering applications

High Memory Cluster Instances use the same cluster placement group functionality as Cluster Compute Instances for grouping instances into clusters – allowing applications to get the low-latency, high bandwidth network performance required for tightly-coupled node-to-node communication typical of many HPC and other network intensive applications.

260
Q

Does use of Cluster Compute and Cluster GPU Instances differ from other Amazon EC2 instance types?

Cluster Instances

Amazon EC2 | Compute

A

Cluster Compute and Cluster GPU Instances use differs from other Amazon EC2 instance types in two ways.

First, Cluster Compute and Cluster GPU Instances use Hardware Virtual Machine (HVM) based virtualization and run only Amazon Machine Images (AMIs) based on HVM virtualization. Paravirtual Machine (PVM) based AMIs used with other Amazon EC2 instance types cannot be used with Cluster Compute or Cluster GPU Instances.

Second, in order to fully benefit from the available low latency, full bisection bandwidth between instances, Cluster Compute and Cluster GPU Instances must be launched into a cluster placement group through the Amazon EC2 API or AWS Management Console.

261
Q

What is a cluster placement group?

Cluster Instances

Amazon EC2 | Compute

A

A cluster placement group is a logical entity that enables creating a cluster of instances by launching instances as part of a group. The cluster of instances then provides low latency connectivity between instances in the group. Cluster placement groups are created through the Amazon EC2 API or AWS Management Console.

262
Q

Are all features of Amazon EC2 available for Cluster Compute and Cluster GPU Instances?

Cluster Instances

Amazon EC2 | Compute

A

Currently, Amazon DevPay is not available for Cluster Compute or Cluster GPU Instances.

263
Q

Is there a limit on the number of Cluster Compute or Cluster GPU Instances I can use and/or the size of cluster I can create by launching Cluster Compute Instances or Cluster GPU into a cluster placement group?

Cluster Instances

Amazon EC2 | Compute

A

There is no limit specific for Cluster Compute Instances. For Cluster GPU Instances, you can launch 2 Instances on your own. If you need more capacity, please complete the Amazon EC2 instance request form (selecting the appropriate primary instance type).

264
Q

Are there any ways to optimize the likelihood that I receive the full number of instances I request for my cluster via a cluster placement group?

Cluster Instances

Amazon EC2 | Compute

A

We recommend that you launch the minimum number of instances required to participate in a cluster in a single launch. For very large clusters, you should launch multiple placement groups, e.g. two placement groups of 128 instances, and combine them to create a larger, 256 instance cluster.

265
Q

Can Cluster GPU and Cluster Compute Instances be launched into a single cluster placement group?

Cluster Instances

Amazon EC2 | Compute

A

While it may be possible to launch different cluster instance types into a single placement group, at this time we only support homogenous placement groups.

266
Q

If an instance in a cluster placement group is stopped then started again, will it maintain its presence in the cluster placement group?

High I/O Instances

Amazon EC2 | Compute

A

Yes. A stopped instance will be started as part of the cluster placement group it was in when it stopped. If capacity is not available for it to start within its cluster placement group, the start will fail.

267
Q

What is a High I/O instance?

High I/O Instances

Amazon EC2 | Compute

A

High I/O instances use NVMe based local instance storage to deliver very high, low latency, I/O capacity to applications, and are optimized for applications that require millions of IOPS. Like Cluster instances, High I/O instances can be clustered via cluster placement groups for low latency networking.

268
Q

Are all features of Amazon EC2 available for High I/O instances?

High I/O Instances

Amazon EC2 | Compute

A

High I/O instance support all Amazon EC2 features. I3 instances offer NVMe only storage, while previous generation I2 instances allow legacy blkfront storage access. Currently you can only purchase High I/O instances as On-Demand, Reserved Instances or as Spot instances.

269
Q

Is there a limit on the number of High I/O instances I can use?

High I/O Instances

Amazon EC2 | Compute

A

Currently, you can launch 2 i3.16xlarge instances by default. If you wish to run more than 2 On-Demand instances, please complete the Amazon EC2 instance request form.

270
Q

How many IOPS can i3.16.xlarge instances deliver?

High I/O Instances

Amazon EC2 | Compute

A

Using HVM AMIs, High I/O I3 instances can deliver up to 3.3 million IOPS measured at 100% random reads using 4KB block size, and up to 300,000 100% random write IOPs, measured at 4KB block sizes to applications across 8 x 1.9 TB NVMe devices.

271
Q

What is the sequential throughput of i3 instances?

High I/O Instances

Amazon EC2 | Compute

A

The maximum sequential throughput, measured at 128K block sizes is 16 GB/s read throughput and 6.4 GB/s write throughput.

272
Q

AWS has other database and Big Data offerings. When or why should I use High I/O instances?

High I/O Instances

Amazon EC2 | Compute

A

High I/O instances are ideal for applications that require access to millions of low latency IOPS, and can leverage data stores and architectures that manage data redundancy and availability. Example applications are:

NoSQL databases like Cassandra and MongoDB

In-memory databases like Aerospike

Elasticsearch and analytics workloads

OLTP systems

273
Q

Do High I/O instances provide any failover mechanisms or redundancy?

High I/O Instances

Amazon EC2 | Compute

A

Like other Amazon EC2 instance types, instance storage on i3.16xlarge instances persists during the life of the instance. Customers are expected to build resilience into their applications. We recommend using databases and file systems that support redundancy and fault tolerance. Customers should back up data periodically to Amazon S3 for improved data durability.

274
Q

Do High I/O instances support TRIM?

General Purpose Instances

Amazon EC2 | Compute

A

The TRIM command allows the operating system to inform SSDs which blocks of data are no longer considered in use and can be wiped internally. In the absence of TRIM, future write operations to the involved blocks can slow down significantly. I3 instances support TRIM.

275
Q

What are the key use cases for Amazon EC2 M5 Instances?

General Purpose Instances

Amazon EC2 | Compute

A

M5 instances offer a good choice for running development and test environments, web, mobile and gaming applications, analytics applications, and business critical applications including ERP, HR, CRM, and collaboration apps. Customers who are interested in running their data intensive workloads (e.g. HPC, or SOLR clusters) on instances with a higher memory footprint will also find M5 to be a good fit. Workloads that heavily use single and double precision floating point operations and vector processing such as video processing workloads and need higher memory can benefit substantially from the AVX-512 instructions that M5 supports.

276
Q

Why should customers choose EC2 M5 Instances over EC2 M4 Instances?

General Purpose Instances

Amazon EC2 | Compute

A

Compared with EC2 M4 Instances, the new EC2 M5 Instances deliver customers greater compute and storage performance, larger instance sizes for less cost, consistency and security. The biggest benefit of EC2 M5 Instances is based on its usage of the latest generation of Intel Xeon Scalable processors (aka Skylake), which deliver up to 14% improvement in price/performance compared to M4. With AVX-512 support in M5 vs. the older AVX2 in M4, customers will gain 2x higher performance in workloads requiring floating point operations. M5 instances offer up to 25 Gbps of network bandwidth and up to 10 Gbps of dedicated bandwidth to Amazon EBS. M5 instances also feature significantly higher networking and Amazon EBS performance on smaller instance sizes with EBS burst capability.

277
Q

How does support for Intel AVX-512 benefit EC2 M5 Instance customers?

General Purpose Instances

Amazon EC2 | Compute

A

Intel Advanced Vector Extension 512 (AVX-512) is a set of new CPU instructions available on the latest Intel Xeon Scalable processor family, that can accelerate performance for workloads and usages such as scientific simulations, financial analytics, artificial intelligence, machine learning/deep learning, 3D modeling and analysis, image and video processing, cryptography and data compression, among others. Intel AVX-512 offers exceptional processing of encryption algorithms, helping to reduce the performance overhead for cryptography, which means EC2 M5 customers can deploy more secure data and services into distributed environments without compromising performance

278
Q

What are the various storage options available to M5 customers?

General Purpose Instances

Amazon EC2 | Compute

A

M5 instances leverage EBS volumes for storage. There is currently no local storage option for M5 instances.

279
Q

Which network interface is supported on M5 instances?

General Purpose Instances

Amazon EC2 | Compute

A

M5 instances support only ENA based Enhanced Networking. M5 instances will not support netback. With ENA, M5 instances can deliver up to 25 Gbps of network bandwidth between instances when launched within a Placement Group.

280
Q

Which operating systems/AMIs are supported on M5 Instances?

General Purpose Instances

Amazon EC2 | Compute

A

EBS backed HVM AMIs with support for ENA networking and booting from NVMe-based storage can be used with M5 instances. The following AMIs are supported on M5:

Amazon Linux 2014.03 or newer

Ubuntu 14.04 or newer

SUSE Linux Enterprise Server 12 or newer

Red Hat Enterprise Linux 7.4 or newer

CentOS 7 or newer

Windows Server 2012 R2

Windows Server 2016

FreeBSD 11.1-RELEASE

281
Q

What are the storage options available to M5 customers?

General Purpose Instances

Amazon EC2 | Compute

A

M5 instances use EBS volumes for storage, are EBS-optimized by default, and offer up to 10 Gbps throughput to both encrypted and unencrypted EBS volumes. M5 instances access EBS volumes via PCI attached NVM Express (NVMe) interfaces. NVMe is an efficient and scalable storage interface commonly used for flash based SSDs such as local NVMe storage provided with I3 instances. Though the NVMe interface may provide lower latency compared to Xen paravirtualized block devices, when used to access EBS volumes the volume type, size, and provisioned IOPS (if applicable) will determine the overall latency and throughput characteristics of the volume. When NVMe is used to provide EBS volumes, they are attached and detached by PCI hotplug.

282
Q

How many EBS volumes can be attached to M5 instances?

General Purpose Instances

Amazon EC2 | Compute

A

M5 instances support a maximum for 27 EBS volumes for all Operating systems. The limit is shared with ENI attachments which can be found here http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html. For example: since every instance has at least 1 ENI, if you have 3 additional ENI attachments on the m4.2xlarge, you can attach 24 EBS volumes to that instance.

283
Q

What is the underlying hypervisor on M5 instances?

General Purpose Instances

Amazon EC2 | Compute

A

M5 instances use a new lightweight Nitro Hypervisor that is based on core KVM technology.

284
Q

Why does the total memory reported by Linux not match the advertised memory of the M5 instance type?

General Purpose Instances

Amazon EC2 | Compute

A

In M5, portions of the total memory for an instance are reserved from use by the operating system including areas used by the virtual BIOS for things like ACPI tables and for devices like the virtual video RAM.

285
Q

How are Burstable Performance Instances different?

General Purpose Instances

Amazon EC2 | Compute

A

Amazon EC2 allows you to choose between Fixed Performance Instances (e.g. C, M and R instance families) and Burstable Performance Instances (e.g. T2). Burstable Performance Instances provide a baseline level of CPU performance with the ability to burst above the baseline.

T2 instances’ baseline performance and ability to burst are governed by CPU Credits. Each T2 instance receives CPU Credits continuously, the rate of which depends on the instance size. T2 instances accrue CPU Credits when they are idle, and consume CPU credits when they are active. A CPU Credit provides the performance of a full CPU core for one minute.

Model

vCPUs

CPU Credits / hour

Maximum CPU Credit Balance

Baseline CPU Performance

t2. nano 1 3 72 5% of a core
t2. micro

1

6

144

10% of a core

t2.small

1

12

288

20% of a core

t2.medium

2

24

576

40% of a core*

t2. large 2 36 864 60% of a core**
t2. xlarge

4

54

1,296

90% of a core***

t2.2xlarge

8

81

1,944

135% of a core****

* For the t2.medium, single threaded applications can use 40% of 1 core, or if needed, multithreaded applications can use 20% each of 2 cores.

**For the t2.large, single threaded applications can use 60% of 1 core, or if needed, multithreaded applications can use 30% each of 2 cores.

*** For the t2.xlarge, single threaded applications can use 90% of 1 core, or if needed, multithreaded applications can use 45% each of 2 cores or 22.5% of all 4 cores.

**** For the t2.large, single threaded applications can use all of 1 core, or if needed, multithreaded applications can use 67.5% each of 2 cores or 16.875% of all 8 cores.

286
Q

How do I choose the right Amazon Machine Image (AMI) for my T2 instances?

General Purpose Instances

Amazon EC2 | Compute

A

You will want to verify that the minimum memory requirements of your operating system and applications are within the memory allocated for each T2 instance size (e.g. 512 MiB for t2.nano). Operating systems with Graphical User Interfaces (GUI) that consume significant memory and CPU, for example Microsoft Windows, might need a t2.micro or larger instance size for many use cases. You can find AMIs suitable for the t2.nano instance types on AWS Marketplace. Windows customers who do not need the GUI can use the Microsoft Windows Server 2012 R2 Core AMI.

287
Q

When should I choose a Burstable Performance Instance, such as T2?

General Purpose Instances

Amazon EC2 | Compute

A

T2 instances provide a cost-effective platform for a broad range of general purpose production workloads. T2 Unlimited instances can sustain high CPU performance for as long as required. If your workloads consistently require CPU usage much higher than the baseline, consider a dedicated CPU instance family such as the M or C.

288
Q

How can I see the CPU Credit balance for each T2 instance?

General Purpose Instances

Amazon EC2 | Compute

A

You can see the CPU Credit balance for each T2 instance in EC2 per-Instance metrics in Amazon CloudWatch. T2 instances have four metrics, CPUCreditUsage, CPUCreditBalance, CPUSurplusCreditBalance and CPUSurplusCreditsCharged. CPUCreditUsage indicates the amount of CPU Credits used. CPUCreditBalance indicates the balance of CPU Credits. CPUSurplusCredit Balance indicates credits used for bursting in the absence of earned credits. CPUSurplusCreditsCharged indicates credits that are charged when average usage exceeds the baseline.

289
Q

What happens to CPU performance if my T2 instance is running low on credits (CPU Credit balance is near zero)?

General Purpose Instances

Amazon EC2 | Compute

A

If your T2 instance has a zero CPU Credit balance, performance will remain at baseline CPU performance. For example, the t2.micro provides baseline CPU performance of 10% of a physical CPU core. If your instance’s CPU Credit balance is approaching zero, CPU performance will be lowered to baseline performance over a 15-minute interval.

290
Q

Does my T2 instance credit balance persist at stop / start?

General Purpose Instances

Amazon EC2 | Compute

A

No, a stopped instance does not retain its previously earned credit balance.

291
Q

Can T2 instances be purchased as Reserved Instances or Spot Instances?

Storage Optimized Instances

Amazon EC2 | Compute

A

T2 instances can be purchased as On-Demand Instances, Reserved Instances or Spot Instances.

292
Q

What is a Dense-storage Instance?

Storage Optimized Instances

Amazon EC2 | Compute

A

Dense-storage instances are designed for workloads that require high sequential read and write access to very large data sets, such as Hadoop distributed computing, massively parallel processing data warehousing, and log processing applications. The Dense-storage instances offer the best price/GB-storage and price/disk-throughput across other EC2 instances.

293
Q

How do Dense-storage and HDD-storage instances compare to High I/O instances?

Storage Optimized Instances

Amazon EC2 | Compute

A

High I/O instances (I2) are targeted at workloads that demand low latency and high random I/O in addition to moderate storage density and provide the best price/IOPS across other EC2 instance types. Dense-storage instances (D2) and HDD-storage instances (H1) are optimized for applications that require high sequential read/write access and low cost storage for very large data sets and provide the best price/GB-storage and price/disk-throughput across other EC2 instances.

294
Q

How much disk throughput can Dense-storage and HDD-storage instances deliver?

Storage Optimized Instances

Amazon EC2 | Compute

A

The largest current generation of Dense-storage instances, d2.8xlarge, can deliver up to 3.5 GBps read and 3.1 GBps write disk throughput with a 2 MiB block size. The largest H1 instances size, h1.16xlarge, can deliver up to 1.15 GBps read and write. To ensure the best disk throughput performance from your D2 instances on Linux, we recommend that you use the most recent version of the Amazon Linux AMI, or another Linux AMI with a kernel version of 3.8 or later that supports persistent grants - an extension to the Xen block ring protocol that significantly improves disk throughput and scalability.

295
Q

Do Dense-storage and HDD-storage instances provide any failover mechanisms or redundancy?

Storage Optimized Instances

Amazon EC2 | Compute

A

The primary data storage for Dense-storage instances is HDD-based instance storage. Like all instance storage, these storage volumes persist only for the life of the instance. Hence, we recommend that you build a degree of redundancy (e.g. RAID 1/5/6) or use file systems (e.g. HDFS and MapR-FS) that support redundancy and fault tolerance. You can also back up data periodically to more durable data storage solutions such as Amazon Simple Storage Service (S3) for additional data durability. Please refer to Amazon S3 for reference.

296
Q

How do Dense-storage and HDD-storage instances differ from Amazon EBS?

Storage Optimized Instances

Amazon EC2 | Compute

A

Amazon EBS offers simple, elastic, reliable (replicated), and persistent block level storage for Amazon EC2 while abstracting the details of the underlying storage media in use. Amazon EC2 instance storage provides directly attached non-persistent, high performance storage building blocks that can be used for a variety of storage applications. Dense-storage instances are specifically targeted at customers who want high sequential read/write access to large data sets on local storage, e.g. for Hadoop distributed computing and massively parallel processing data warehousing.

297
Q

Can I launch H1 instances as Amazon EBS-optimized instances?

Storage Optimized Instances

Amazon EC2 | Compute

A

Each H1 instance type is EBS-optimized by default. H1 instances offer 1,750 Mbps to 14,000 Mbps to EBS above and beyond the general-purpose network throughput provided to the instance. Since this feature is always enabled on H1 instances, launching a H1 instance explicitly as EBS-optimized will not affect the instance’s behavior.

298
Q

Can I launch D2 instances as Amazon EBS-optimized instances?

Storage Optimized Instances

Amazon EC2 | Compute

A

Each D2 instance type is EBS-optimized by default. D2 instances 500 Mbps to 4,000 Mbps to EBS above and beyond the general-purpose network throughput provided to the instance. Since this feature is always enabled on D2 instances, launching a D2 instance explicitly as EBS-optimized will not affect the instance’s behavior.

299
Q

Are HDD-storage instances offered in EC2 Classic?

Storage Optimized Instances

Amazon EC2 | Compute

A

The current generation of HDD-storage instances (H1 instances) can only be launched in Amazon VPC. With Amazon VPC, you can leverage a number of features that are available only on the Amazon VPC platform – such as enabling enhanced networking, assigning multiple private IP addresses to your instances, or changing your instances’ security groups. For more information about the benefits of using a VPC, see Amazon EC2 and Amazon Virtual Private Cloud (Amazon VPC).

300
Q

Are Dense-storage instances offered in EC2 Classic?

Memory Optimized Instances

Amazon EC2 | Compute

A

The current generation of Dense-storage instances (D2 instances) can be launched in both EC2-Classic and Amazon VPC. However, by launching a Dense-storage instance into a VPC, you can leverage a number of features that are available only on the Amazon VPC platform – such as enabling enhanced networking, assigning multiple private IP addresses to your instances, or changing your instances’ security groups. For more information about the benefits of using a VPC, see Amazon EC2 and Amazon Virtual Private Cloud (Amazon VPC). You can take steps to migrate your resources from EC2-Classic to Amazon VPC. For more information, see Migrating a Linux Instance from EC2-Classic to a VPC.

301
Q

When should I use Memory-optimized instances?

Memory Optimized Instances

Amazon EC2 | Compute

A

Memory-optimized instances offer large memory size for memory intensive applications including in-memory applications, in-memory databases, in-memory analytics solutions, High Performance Computing (HPC), scientific computing, and other memory-intensive applications.

302
Q

When should I use X1 instances?

Memory Optimized Instances

Amazon EC2 | Compute

A

X1 instances are ideal for running in-memory databases like SAP HANA, big data processing engines like Apache Spark or Presto, and high performance computing (HPC) applications. X1 instances are certified by SAP to run production environments of the next-generation Business Suite S/4HANA, Business Suite on HANA (SoH), Business Warehouse on HANA (BW), and Data Mart Solutions on HANA on the AWS cloud.

303
Q

When should I use X1e instances?

Memory Optimized Instances

Amazon EC2 | Compute

A

X1e instances are ideal for running in-memory databases like SAP HANA, high-performance databases and other memory optimized enterprise applications. X1e instances offer twice the memory per vCPU compared to the X1 instances. The x1e.32xlarge instance is certified by SAP to run production environments of the next-generation Business Suite S/4HANA, Business Suite on HANA (SoH), Business Warehouse on HANA (BW), and Data Mart Solutions on HANA on the AWS Cloud.

304
Q

How do X1 and X1e instances differ?

Memory Optimized Instances

Amazon EC2 | Compute

A

X1e instances offer 32GB of memory per vCPU whereas X1 instances offer 16GB of memory per vCPU. X1e instance sizes enable six instance configurations starting from 4 vCPUs and 122 GiB memory up to 128 vCPUs and 3,904 GiB of memory. X1 instances enable two instance configurations, 64 vCPUs with 976 GiB memory and 128 vCPUs with 1,952 GiB memory.

305
Q

What are the key specifications of Intel E7 (codenamed Haswell) processors that power X1 and X1e instances?

Memory Optimized Instances

Amazon EC2 | Compute

A

The E7 processors have a high core count to support workloads that scale efficiently on large number of cores. The Intel E7 processors also feature high memory bandwidth and larger L3 caches to boost the performance of in-memory applications. In addition, the Intel E7 processor:

Enables increased cryptographic performance via the latest Intel AES-NI feature.

Supports Transactional Synchronization Extensions (TSX) to boost the performance of in-memory transactional data processing.

Supports Advanced Vector Extensions 2 (Intel AVX2) processor instructions to expand most integer commands to 256 bits.

306
Q

Do X1 and X1e instances enable CPU power management state control

Memory Optimized Instances

Amazon EC2 | Compute

A

Yes. You can configure C-states and P-states on x1e.32xlarge, x1e.16xlarge, x1e.8xlarge, x1.32xlarge and x1.16xlarge instances. You can use C-states to enable higher turbo frequencies (as much as 3.1 GHz with one or two core turbo). You can also use P-states to lower performance variability by pinning all cores at P1 or higher P states, which is similar to disabling Turbo, and running consistently at the base CPU clock speed.

307
Q

What operating systems are supported on X1 and X1e instances?

Memory Optimized Instances

Amazon EC2 | Compute

A

X1 and X1e instances provide high number of vCPUs, which might cause launch issues in some Linux operating systems that have a lower vCPU limit. We strongly recommend that you use the latest AMIs when you launch these instances.

AMI support for SAP HANA workloads include: SUSE Linux 12, SUSE Linux 12 SP1, SLES for SAP 12 SP1, SLES for SAP 12 SP2, and RHEL 7.2 for SAP HANA.

x1e.32xlarge will also support Windows Server 2012 R2 and 2012 RTM. x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge and x1.32xlarge will also support Windows Server 2012 R2, 2012 RTM and 2008 R2 64bit (Windows Server 2008 SP2 and older versions will not be supported) and x1.16xlarge will support Windows Server 2012 R2, 2012 RTM, 2008 R2 64bit, 2008 SP2 64bit, and 2003 R2 64bit (Windows Server 32bit versions will not be supported).

308
Q

What storage options are available for X1 customers?

Memory Optimized Instances

Amazon EC2 | Compute

A

X1 instances offer SSD based instance store, which is ideal for temporary storage of information such as logs, buffers, caches, temporary tables, temporary computational data, and other temporary content. X1 instance store provides the best I/O performance when you use a Linux kernel that supports persistent grants, an extension to the Xen block ring protocol.

X1 instances are EBS-optimized by default and offer up to 14 Gbps of dedicated bandwidth to EBS volumes. EBS offers multiple volume types to support a wide variety of workloads. For more information see the EC2 User Guide.

309
Q

What storage options are available for X1e customers?

Memory Optimized Instances

Amazon EC2 | Compute

A

X1e instances offer SSD based instance store, which is ideal for temporary storage of information such as logs, buffers, caches, temporary tables, temporary computational data, and other temporary content. X1e instance store provides the best I/O performance when you use a Linux kernel that supports persistent grants, an extension to the Xen block ring protocol.

X1e instances enable dedicated throughput to Amazon Elastic Block Storage (EBS) starting from 500 Mbps (x1e.xlarge) up to 14 Gbps (x1e.32xlarge) and are EBS-optimized by default at no additional cost. For more information see the EC2 User Guide.

310
Q

How do I build cost-effective failover solution on X1 and X1e instances?

Memory Optimized Instances

Amazon EC2 | Compute

A

You can design simple and cost-effective failover solutions on X1 instances using Amazon EC2 Auto Recovery, an Amazon EC2 feature that is designed to better manage failover upon instance impairment. You can enable Auto Recovery for X1 instances by creating an AWS CloudWatch alarm. Choose the “EC2 Status Check Failed (System)” metric and select the “Recover this instance” action. Instance recovery is subject to underlying limitations, including those reflected in the Instance Recovery Troubleshooting documentation. For more information visit Auto Recovery documentation and Creating Amazon CloudWatch Alarms respectively.

311
Q

Are there standard SAP HANA reference deployment frameworks available for the X1 instance and the AWS Cloud?

Memory Optimized Instances

Amazon EC2 | Compute

A

You can use the AWS Quick Start reference HANA deployments to rapidly deploy all the necessary HANA building blocks on X1 instances following SAP’s recommendations for high performance and reliability. AWS Quick Starts are modular and customizable, so you can layer additional functionality on top or modify them for your own implementations. For additional information on deploying HANA on AWS, please refer to SAP HANA on AWS Cloud: Quick Start Reference Deployment Guide.

312
Q

Are there standard SAP HANA reference deployment frameworks available for the X1e instance and the AWS Cloud?

Previous Generation Instances

Amazon EC2 | Compute

A

You can use the AWS Quick Start reference HANA deployments to rapidly deploy all the necessary HANA building blocks on x1e.32xlarge instance following SAP’s recommendations for high performance and reliability. AWS Quick Starts are modular and customizable, so you can layer additional functionality on top or modify them for your own implementations. For additional information on deploying HANA on AWS, please refer to SAP HANA on AWS Cloud: Quick Start Reference Deployment Guide.

313
Q

Why don’t I see M1, C1, CC2 and HS1 instances on the pricing pages any more?

Previous Generation Instances

Amazon EC2 | Compute

A

These have been moved to the Previous Generation Instance page.

314
Q

Are these Previous Generation instances still being supported?

Previous Generation Instances

Amazon EC2 | Compute

A

Yes. Previous Generation instances are still fully supported.

315
Q

Can I still use/add more Previous Generation instances?

Previous Generation Instances

Amazon EC2 | Compute

A

Yes. Previous Generation instances are still available as On-Demand, Reserved Instances, and Spot Instance, from our APIs, CLI and EC2 Management Console interface.

316
Q

Are my Previous Generation instances going to be deleted?

Previous Generation Instances

Amazon EC2 | Compute

A

No. Your C1, C3, CC2, CR1, G2, HS1, M1, M2, M3, R3 and T1 instances are still fully functional and will not be deleted because of this change.

317
Q

Are Previous Generation instances being discontinued soon?

Previous Generation Instances

Amazon EC2 | Compute

A

Currently, there are no plans to end of life Previous Generation instances. However, with any rapidly evolving technology the latest generation will typically provide the best performance for the price and we encourage our customers to take advantage of technological advancements.

318
Q

Will my Previous Generation instances I purchased as a Reserved Instance be affected or changed?

VM Import/Export

Amazon EC2 | Compute

A

No. Your Reserved Instances will not change, and the Previous Generation instances are not going away.

319
Q

What is VM Import/Export?

VM Import/Export

Amazon EC2 | Compute

A

VM Import/Export enables customers to import Virtual Machine (VM) images in order to create Amazon EC2 instances. Customers can also export previously imported EC2 instances to create VMs. Customers can use VM Import/Export to leverage their previous investments in building VMs by migrating their VMs to Amazon EC2.

320
Q

What operating systems are supported?

VM Import/Export

Amazon EC2 | Compute

A

VM Import/Export currently supports Windows and Linux VMs, including Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2012 R1, Red Hat Enterprise Linux (RHEL) 5.1-6.5 (using Cloud Access), Centos 5.1-6.5, Ubuntu 12.04, 12.10, 13.04, 13.10, and Debian 6.0.0-6.0.8, 7.0.0-7.2.0. For more details on VM Import, including supported file formats, architectures, and operating system configurations, please see the VM Import/Export section of the Amazon EC2 User Guide.

321
Q

What virtual machine file formats are supported?

VM Import/Export

Amazon EC2 | Compute

A

You can import VMware ESX VMDK images, Citrix Xen VHD images, Microsoft Hyper-V VHD images and RAW images as Amazon EC2 instances. You can export EC2 instances to VMware ESX VMDK, VMware ESX OVA, Microsoft Hyper-V VHD or Citrix Xen VHD images. For a full list of support operating systems, please see What operating systems are supported?.

322
Q

What is VMDK?

VM Import/Export

Amazon EC2 | Compute

A

VMDK is a file format that specifies a virtual machine hard disk encapsulated within a single file. It is typically used by virtual IT infrastructures such as those sold by VMware, Inc.

323
Q

How do I prepare a VMDK file for import using the VMware vSphere client?

VM Import/Export

Amazon EC2 | Compute

A

The VMDK file can be prepared by calling File-Export-Export to OVF template in VMware vSphere Client. The resulting VMDK file is compressed to reduce the image size and is compatible with VM Import/Export. No special preparation is required if you are using the Amazon EC2 VM Import Connector vApp for VMware vCenter.

324
Q

What is VHD?

VM Import/Export

Amazon EC2 | Compute

A

VHD (Virtual Hard Disk) is a file format that that specifies a virtual machine hard disk encapsulated within a single file. The VHD image format is used by virtualization platforms such as Microsoft Hyper-V and Citrix Xen.

325
Q

How do I prepare a VHD file for import from Citrix Xen?

VM Import/Export

Amazon EC2 | Compute

A

Open Citrix XenCenter and select the virtual machine you want to export. Under the Tools menu, choose “Virtual Appliance Tools” and select “Export Appliance” to initiate the export task. When the export completes, you can locate the VHD image file in the destination directory you specified in the export dialog.

326
Q

How do I prepare a VHD file for import from Microsoft Hyper-V?

VM Import/Export

Amazon EC2 | Compute

A

Open the Hyper-V Manager and select the virtual machine you want to export. In the Actions pane for the virtual machine, select “Export” to initiate the export task. Once the export completes, you can locate the VHD image file in the destination directory you specified in the export dialog.

327
Q

Are there any other requirements when importing a VM into Amazon EC2?

VM Import/Export

Amazon EC2 | Compute

A

The virtual machine must be in a stopped state before generating the VMDK or VHD image. The VM cannot be in a paused or suspended state. We suggest that you export the virtual machine with only the boot volume attached. You can import additional disks using the ImportVolume command and attach them to the virtual machine using AttachVolume. Additionally, encrypted disks (e.g. Bit Locker) and encrypted image files are not supported. You are also responsible for ensuring that you have all necessary rights and licenses to import into AWS and run any software included in your VM image.

328
Q

Does the virtual machine need to be configured in any particular manner to enable import to Amazon EC2?

VM Import/Export

Amazon EC2 | Compute

A

Ensure Remote Desktop (RDP) or Secure Shell (SSH) is enabled for remote access and verify that your host firewall (Windows firewall, iptables, or similar), if configured, allows access to RDP or SSH. Otherwise, you will not be able to access your instance after the import is complete. Please also ensure that Windows VMs are configured to use strong passwords for all users including the administrator and that Linux VMs and configured with a public key for SSH access.

329
Q

How do I import a virtual machine to an Amazon EC2 instance?

VM Import/Export

Amazon EC2 | Compute

A

You can import your VM images using the Amazon EC2 API tools:

Import the VMDK, VHD or RAW file via the ec2-import-instance API. The import instance task captures the parameters necessary to properly configure the Amazon EC2 instance properties (instance size, Availability Zone, and security groups) and uploads the disk image into Amazon S3.

If ec2-import-instance is interrupted or terminates without completing the upload, use ec2-resume-import to resume the upload. The import task will resume where it left off.

Use the ec2-describe-conversion-tasks command to monitor the import progress and obtain the resulting Amazon EC2 instance ID.

Once your import task is completed, you can boot the Amazon EC2 instance by specifying its instance ID to the ec2-run-instances API.

Finally, use the ec2-delete-disk-image command line tool to delete your disk image from Amazon S3 as it is no longer needed.

Alternatively, if you use the VMware vSphere virtualization platform, you can import your virtual machine to Amazon EC2 using a graphical user interface provided through AWS Management Portal for vCenter. Please refer to Getting Started Guide in AWS Management Portal for vCenter. AWS Management Portal for vCenter includes integrated support for VM Import. Once the portal is installed within vCenter, you can right-click on a VM and select “Migrate to EC2” to create an EC2 instance from the VM. The portal will handle exporting the VM from vCenter, uploading it to S3, and converting it into an EC2 instance for you, with no additional work required. You can also track the progress of your VM migrations within the portal.

330
Q

How do I export an Amazon EC2 instance back to my on-premise virtualization environment?

VM Import/Export

Amazon EC2 | Compute

A

You can export your Amazon EC2 instance using the Amazon EC2 CLI tools:

Export the instance using the ec2-create-instance-export-task command. The export command captures the parameters necessary (instance ID, S3 bucket to hold the exported image, name of the exported image, VMDK, OVA or VHD format) to properly export the instance to your chosen format. The exported file is saved in an S3 bucket that you previously created

Use ec2-describe-export-tasks to monitor the export progress

Use ec2-cancel-export-task to cancel an export task prior to completion

331
Q

Are there any other requirements when exporting an EC2 instance using VM Import/Export?

VM Import/Export

Amazon EC2 | Compute

A

You can export running or stopped EC2 instances that you previously imported using VM Import/Export. If the instance is running, it will be momentarily stopped to snapshot the boot volume. EBS data volumes cannot be exported. EC2 instances with more than one network interface cannot be exported.

332
Q

Can I export Amazon EC2 instances that have one or more EBS data volumes attached?

VM Import/Export

Amazon EC2 | Compute

A

Yes, but VM Import/Export will only export the boot volume of the EC2 instance.

333
Q

What does it cost to import a virtual machine?

VM Import/Export

Amazon EC2 | Compute

A

You will be charged standard Amazon S3 data transfer and storage fees for uploading and storing your VM image file. Once your VM is imported, standard Amazon EC2 instance hour and EBS service fees apply. If you no longer wish to store your VM image file in S3 after the import process completes, use the ec2-delete-disk-image command line tool to delete your disk image from Amazon S3.

334
Q

What does it cost to export a virtual machine?

VM Import/Export

Amazon EC2 | Compute

A

You will be charged standard Amazon S3 storage fees for storing your exported VM image file. You will also be charged standard S3 data transfer charges when you download the exported VM file to your on-premise virtualization environment. Finally, you will be charged standard EBS charges for storing a temporary snapshot of your EC2 instance. To minimize storage charges, delete the VM image file in S3 after downloading it to your virtualization environment.

335
Q

When I import a VM of Windows Server 2003 or 2008, who is responsible for supplying the operating system license?

VM Import/Export

Amazon EC2 | Compute

A

When you launch an imported VM using Microsoft Windows Server 2003 or 2008, you will be charged standard instance hour rates for Amazon EC2 running the appropriate Windows Server version, which includes the right to utilize that operating system within Amazon EC2. You are responsible for ensuring that all other installed software is properly licensed.

So then, what happens to my on-premise Microsoft Windows license key when I import a VM of Windows Server 2003 or 2008? Since your on-premise Microsoft Windows license key that was associated with that VM is not used when running your imported VM as an EC2 instance, you can reuse it for another VM within your on-premise environment.

336
Q

Can I continue to use the AWS-provided Microsoft Windows license key after exporting an EC2 instance back to my on-premise virtualization environment?

VM Import/Export

Amazon EC2 | Compute

A

No. After an EC2 instance has been exported, the license key utilized in the EC2 instance is no longer available. You will need to reactivate and specify a new license key for the exported VM after it is launched in your on-premise virtualization platform.

337
Q

When I import a VM with Red Hat Enterprise Linux (RHEL), who is responsible for supplying the operating system license?

VM Import/Export

Amazon EC2 | Compute

A

When you import Red Hat Enterprise Linux (RHEL) VM images, you can use license portability for your RHEL instances. With license portability, you are responsible for maintaining the RHEL licenses for imported instances, which you can do using Cloud Access subscriptions for Red Hat Enterprise Linux. Please contact Red Hat to learn more about Cloud Access and to verify your eligibility.

338
Q

How long does it take to import a virtual machine?

VM Import/Export

Amazon EC2 | Compute

A

The length of time to import a virtual machine depends on the size of the disk image and your network connection speed. As an example, a 10 GB Windows Server 2008 SP2 VMDK image takes approximately 2 hours to import when it’s transferred over a 10 Mbps network connection. If you have a slower network connection or a large disk to upload, your import may take significantly longer.

339
Q

In which Amazon EC2 regions can I use VM Import/Export?

VM Import/Export

Amazon EC2 | Compute

A

Visit the Region Table page to see product service availability by region.

340
Q

How many simultaneous import or export tasks can I have?

VM Import/Export

Amazon EC2 | Compute

A

Each account can have up to five active import tasks and five export tasks per region.

341
Q

Can I run imported virtual machines in Amazon Virtual Private Cloud (VPC)?

VM Import/Export

Amazon EC2 | Compute

A

Yes, you can launch imported virtual machines within Amazon VPC.

342
Q

Can I use the AWS Management Console with VM Import/Export?

Amazon EC2 Running Microsoft Windows and Other Third-Party Software

Amazon EC2 | Compute

A

No. VM Import/Export commands are available via EC2 CLI and API. You can also use the AWS Management Portal for vCenter to import VMs into Amazon EC2. Once imported, the resulting instances are available for use via the AWS Management Console.

343
Q

Can I use my existing Windows Server license with EC2?

Amazon EC2 Running Microsoft Windows and Other Third-Party Software

Amazon EC2 | Compute

A

Yes you can. After you’ve imported your own Windows Server machine images using the ImportImage tool, you can launch instances from these machine images on EC2 Dedicated Hosts and effectively manage instances and report usage. Microsoft typically requires that you track usage of your licenses against physical resources such as sockets and cores and Dedicated Hosts helps you to do this. Visit the Dedicated Hosts detail page for more information on how to use your own Windows Server licenses on Amazon EC2 Dedicated Hosts.

344
Q

What software licenses can I bring to the Windows environment?

Amazon EC2 Running IBM

Amazon EC2 | Compute

A

Specific software license terms vary from vendor to vendor. Therefore, we recommend that you check the licensing terms of your software vendor to determine if your existing licenses are authorized for use in Amazon EC2.

345
Q

How am I billed for my use of Amazon EC2 running IBM?

Amazon EC2 Running IBM

Amazon EC2 | Compute

A

You pay only for what you use and there is no minimum fee. Pricing is per instance-hour consumed for each instance type. Partial instance-hours consumed are billed as full hours. Data transfer for Amazon EC2 running IBM is billed and tiered separately from Amazon EC2. There is no Data Transfer charge between two Amazon Web Services within the same region (i.e. between Amazon EC2 US West and another AWS service in the US West). Data transferred between AWS services in different regions will be charged as Internet Data Transfer on both sides of the transfer.

For Amazon EC2 running IBM pricing information, please visit the pricing section on the Amazon EC2 running IBM detail page.

346
Q

Can I use Amazon DevPay with Amazon EC2 running IBM?

Amazon Time Sync Service

Amazon EC2 | Compute

A

No, you cannot use DevPay to bundle products on top of Amazon EC2 running IBM at this time.

347
Q

How do I use this service?

Amazon Time Sync Service

Amazon EC2 | Compute

A

The service provides an NTP endpoint at a link-local IP address (169.254.169.123) accessible from any instance running in a VPC. Instructions for configuring NTP clients are available for Linux and Windows.

348
Q

What are the key benefits of using this service?

Amazon Time Sync Service

Amazon EC2 | Compute

A

A consistent and accurate reference time source is crucial for many applications and services. The Amazon Time Sync Service provides a time reference that can be securely accessed from an instance without requiring VPC configuration changes and updates. It is built on Amazon’s proven network infrastructure and uses redundant reference time sources to ensure high accuracy and availability.

349
Q

Which instance types are supported for this service?

Service Level Agreement (SLA)

Amazon EC2 | Compute

A

All instances running in a VPC can access the service.

350
Q

What does your Amazon EC2 Service Level Agreement guarantee?

Service Level Agreement (SLA)

Amazon EC2 | Compute

A

Our SLA guarantees a Monthly Uptime Percentage of at least 99.99% for Amazon EC2 and Amazon EBS within a Region.

Decks in AWS 2018 - By Service - FAQs Class (121):