Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Launch Amazon EC2 instances on an Amazon EC2 Dedicated Host
After you have allocated a Dedicated Host, you can launch instances onto it. You can't
launch instances with host
tenancy if you do not have active Dedicated Hosts with
enough available capacity for the instance type that you are launching.
For Dedicated Hosts that support multiple instance sizes, we recommend that you launch
the larger instance sizes first, and then fill the remaining instance capacity
with the smaller instance sizes as needed.
Before you launch your instances, take note of the limitations. For more
information, see Dedicated Hosts restrictions.
You can launch an instance onto a Dedicated Host using the following methods.
- Console
-
To launch an instance onto a specific Dedicated Host from the Dedicated Hosts
page
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
Choose Dedicated Hosts in the navigation
pane.
-
On the Dedicated Hosts page, select a host and
choose Actions, Launch
Instance(s) onto Host.
-
Select an AMI from the list. SQL Server, SUSE,
and RHEL AMIs provided by Amazon EC2 can't be used with Dedicated Hosts.
-
On the Choose an Instance Type page,
select the instance type to launch and then choose
Next: Configure Instance Details.
If the Dedicated Host supports a single instance type only, the
supported instance type is selected by default and can't be
changed.
If the Dedicated Host supports multiple instance types, you must select
an instance type within the supported instance family based on
the available instance capacity of the Dedicated Host. We recommend that
you launch the larger instance sizes first, and then fill the
remaining instance capacity with the smaller instance sizes as
needed.
-
On the Configure Instance Details page,
configure the instance settings to suit your needs, and then for
Affinity, choose one of the following
options:
-
Off—The
instance launches onto the specified host, but it is not
guaranteed to restart on the same Dedicated Host if
stopped.
-
Host—If
stopped, the instance always restarts on this specific
host.
For more information about Affinity, see Amazon EC2 Dedicated Host auto-placement and host affinity.
The Tenancy and Host
options are pre-configured based on the host that you
selected.
-
Choose Review and Launch.
-
On the Review Instance Launch page,
choose Launch.
-
When prompted, select an existing key pair or create a new
one, and then choose Launch
Instances.
To launch an instance onto a Dedicated Host using the Launch Instance
wizard
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Instances,
Launch Instance.
-
Select an AMI from the list. SQL Server, SUSE,
and RHEL AMIs provided by Amazon EC2 can't be used with Dedicated Hosts.
-
Select the type of instance to launch and choose
Next: Configure Instance
Details.
-
On the Configure Instance Details page,
configure the instance settings to suit your needs, and then
configure the following settings, which are specific to a
Dedicated Host:
-
Tenancy—Choose Dedicated Host - Launch this
instance on a Dedicated Host.
-
Host—Choose either Use
auto-placement to launch the instance on
any Dedicated Host that has auto-placement enabled, or select a
specific Dedicated Host in the list. The list displays only Dedicated Hosts
that support the selected instance type.
-
Affinity—Choose one of the following
options:
-
Off—The
instance launches onto the specified host, but it
is not guaranteed to restart on it if
stopped.
-
Host—If
stopped, the instance always restarts on the
specified host.
For more information, see Amazon EC2 Dedicated Host auto-placement and host affinity.
If you are unable to see these settings, check that you have
selected a VPC in the Network menu.
-
Choose Review and Launch.
-
On the Review Instance Launch page,
choose Launch.
-
When prompted, select an existing key pair or create a new
one, and then choose Launch
Instances.
- Amazon CLI
-
To launch an instance onto a Dedicated Host
Use the run-instances Amazon CLI command and specify the instance
affinity, tenancy, and host in the Placement
request
parameter.
- PowerShell
-
To launch an instance onto a Dedicated Host
Use the New-EC2Instance Amazon Tools for Windows PowerShell command and specify the
instance affinity, tenancy, and host in the Placement
request parameter.