Amazon Virtual Private Cloud
User Guide (API Version 2013-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Using EC2 Dedicated Instances

Your Amazon EC2 Dedicated Instances run on single-tenant hardware. They are physically isolated at the host hardware level from your other instances and instances that belong to other AWS accounts. You must launch a Dedicated Instance into a virtual private cloud (VPC).

This topic discusses the basics of Dedicated Instances and shows you how to implement them.

Dedicated Instance Basics

Each instance that you launch into a VPC has a tenancy attribute. This attribute has the following values.

ValueDescription

default

Your instance runs on shared hardware.

dedicated

Your instance runs on single-tenant hardware.

You can't change the tenancy of an instance after you launch it. If you didn't set the tenancy of an instance to dedicated when you launched it, you must stop the running instance, set the tenancy, and relaunch it.

Each VPC has a related instance tenancy attribute. This attribute has the following values.

ValueDescription

default

Whether an instance launched into the VPC is a Dedicated Instance is based on the value of the tenancy attribute for the instance.

dedicated

All instances launched into the VPC are Dedicated Instances, regardless of the value of the tenancy attribute for the instance.

You can't change the instance tenancy of a VPC after you create it. Instead, you must terminate any instances in the VPC, delete the VPC, recreate the VPC with the new value for the instance tenancy attribute, and relaunch the instances.

If you are planning to use Dedicated Instances, you can implement them using either method:

  • Specify that all instances you launch into your VPC are Dedicated Instances by creating the VPC with the instance tenancy set to Dedicated.

  • Specify that individual instances you launch into your VPC are Dedicated Instances by leaving the the instance tenancy of your VPC set to Default when you create it, and specifying dedicated tenancy for the instance when you launch it.

Amazon EBS with Dedicated Instances

When you launch an Amazon EBS-backed Dedicated Instance, the EBS volume doesn't run on single-tenant hardware.

Reserved Instances with Dedicated Tenancy

To guarantee that sufficient capacity will be available to launch Dedicated Instances, you can purchase Dedicated Reserved Instances. For more information about Reserved Instances, go to On-Demand and Reserved Instances.

When you purchase a Dedicated Reserved Instance, you are purchasing the capacity to launch a Dedicated Instance into a VPC at a much reduced usage fee; the price break in the hourly charge applies only if you launch an instance with dedicated tenancy. However, if you purchase a Reserved Instance with a default tenancy value, you won't get the price break in the hourly charge if you later launch a Dedicated Instance.

In addition, you can't change the tenancy of a Reserved Instance after you've purchased it. So, if you purchase a Reserved Instance and later you want to use that capacity for launching a Dedicated Instance, you can't change that Reserved Instance into a Dedicated Reserved Instance.

Auto Scaling of Dedicated Instances

If you plan to implement Auto Scaling of your Dedicated Instances, they must be launched into VPCs that have the instance tenancy attribute set to dedicated.

Pricing for Dedicated Instances

We have a separate pricing model for Dedicated Instances. For more information, see the Amazon EC2 Dedicated Instances product page.

Working with Dedicated Instances

This section shows you how to complete the following tasks.

Creating a VPC with an Instance Tenancy of Dedicated

When you create a VPC, you have the option of specifying its instance tenancy. You can accept the default, or you can specify an instance tenancy of dedicated for your VPC. In this section, we show you how to create a VPC with an instance tenancy of dedicated.

To create a VPC with an instance tenancy of dedicated (VPC Wizard)

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. From the dashboard, click the Start VPC Wizard button.

  3. Select a VPC configuration, and then click Continue.

  4. From the confirmation page, click Edit Hardware Tenancy, and then select Dedicated.

    Create VPC Wizard Confirmation - Dedicated
  5. Click the Create VPC button to create the VPC.

To create a VPC with an instance tenancy of dedicated (Create VPC dialog box)

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. Click Your VPCs in the navigation pane, and then click the Create VPC button.

  3. In the Create VPC dialog box, select Dedicated from the Tenancy drop-down list. Specify the CIDR Block, and then click Yes, Create.

    Create VPC - Dedicated

Launching Dedicated Instances into a VPC

If you launch an instance into a VPC that has an instance tenancy of dedicated, your instance is automatically a Dedicated Instance, regardless of the tenancy of the instance. The following procedure shows you how to launch a Dedicated Instance into a VPC that has default instance tenancy.

To launch a Dedicated Instance into a VPC with default instance tenancy

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. Create a VPC, or decide to use an existing VPC.

  3. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  4. Click the Launch Instance button, select Classic Wizard, and then click Continue.

  5. In the CHOOSE AN AMI page, select an AMI.

  6. On the INSTANCE DETAILS page, select M1 small (m1.small) from the Instance Type list. Under Launch Instances, select a subnet for the VPC to launch the instance into. Click Continue.

  7. Under Advanced Instance Options, select Dedicated from the Tenancy drop-down list, and then click Continue.

    Request Instances wizard - Tenancy is Dedicated
  8. Continue as prompted by the VPC wizard. When you're finished reviewing your options on the REVIEW page, click the Launch button to launch the Dedicated Instance.

Displaying Tenancy Information

To display tenancy information for your VPC

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. Click Your VPCs in the navigation pane.

  3. Check the instance tenancy of your VPC in the Tenancy column.

    Using the AWS Console to View VPC Tenancy Information
  4. If the Tenancy column is not displayed, click the Show/Hide button, select Tenancy from the Show/Hide Columns dialog box, and then click Close.

To display tenancy information for your instance

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. Click Instances in the navigation pane.

  3. Check the tenancy of your instance in the Tenancy column.

    Using the AWS Console to View Instance Tenancy Information
  4. If the Tenancy column is not displayed, do one of the following:

    • Click the Show/Hide button, select Tenancy from the Show/Hide Columns dialog box, and then click Close.

    • Select the instance. The Description tab in the details pane displays information about the instance, including its tenancy. For example:

      Instance Description Tab in the AWS console

API and Command Overview

The following table summarizes the available commands and API actions for Dedicated Instances.

DescriptionCommandAPI Action

You can specify the supported tenancy options for instances that you launch into the VPC. A value of default means that you can launch instances into the VPC with any tenancy; a value of dedicated means that you must launch all instances into the VPC as Dedicated Instances.

ec2-create-vpc

CreateVpc

Describes the supported tenancy options for instances launched into the VPC (default or dedicated).

ec2-describe-vpcs

DescribeVpcs

You can specify the tenancy option for an instance that you launch into a VPC (default or dedicated).

ec2-run-instances

RunInstances

Describes the tenancy value of an instance (default or dedicated).

ec2-describe-instances

DescribeInstances

Describes the tenancy value of a Reserved Instance (default or dedicated).

ec2-describe-reserved-instances

DescribeReservedInstances

Describes the tenancy value of a Reserved Instance offering (default or dedicated).

ec2-describe-reserved-instances-offerings

DescribeReservedInstancesOfferings