Amazon EC2 | Nitro Hypervisor Flashcards

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

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

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

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

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

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

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

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

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

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

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