Choosing Dedicated Hosts, Capacity Reservations and Licensing Options
This lesson explains the EC2 options for special requirements: physical isolation, guaranteed capacity and bringing your own software licences. Questions about them usually turn on one keyword.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish shared tenancy, Dedicated Instances and Dedicated Hosts.
- Explain what an On-Demand Capacity Reservation guarantees.
- Identify the licensing options on AWS, including licence-included and bring your own licence.
Tenancy options
Tenancy decides whether your EC2 instances share physical hardware with other AWS customers. With shared tenancy, the default, instances from different customers can run on the same server, kept separate by the hypervisor; this is secure and suits almost every workload. With Dedicated Instances, your instances run on hardware used only by your account, which meets compliance rules that require single-tenant hardware. With Dedicated Hosts, you get a whole physical server and can see its sockets and cores, which is needed when software licences are counted per physical socket or core and you bring your own licences. The following table summarises the options, from least to most isolated.
| Option | What you get | Choose when |
|---|---|---|
| Shared (default) | Instances on hardware shared with other customers, isolated by the hypervisor | Almost always |
| Dedicated Instances | Instances on hardware used only by your account | A compliance rule requires single-tenant hardware |
| Dedicated Hosts | A whole physical server, with visibility of its sockets and cores | Software licences are tied to physical sockets or cores (bring your own licence), or strict compliance |
Which tenancy?
Capacity Reservations
An On-Demand Capacity Reservation guarantees EC2 capacity of a given instance type in a specific Availability Zone, for as long as you keep it, even if you do not run instances. It has no discount on its own, but Savings Plans and Regional Reserved Instances apply to it. Use it for events where capacity must be available, such as a product launch or disaster recovery.
Capacity Reservations
Licensing
Software licences can be obtained and managed on AWS in several ways. The following list describes the available options.
- License included: the price of instances such as Windows Server or RDS for SQL Server includes the licence.
- Bring your own licence (BYOL): reuse licences you already own, sometimes requiring Dedicated Hosts.
- AWS License Manager tracks licence usage and enforces limits across accounts, helping avoid non-compliance.
- AWS Marketplace sells third-party software with pay-as-you-go or annual licensing, billed on your AWS bill.
A company wants to move a database server to EC2 and reuse its existing software licences, which are priced per physical CPU core. Which EC2 option meets this requirement?
Dedicated Hosts, which give visibility and control of the physical cores. Dedicated Instances also use single-tenant hardware but do not expose sockets and cores for licensing.
When are Dedicated Hosts needed?
Show answer
When software licences are tied to physical servers or cores, or when rules require a dedicated physical server.
Exam Tips
Remember for the exam
- Dedicated Hosts: a whole physical server; needed for per-socket or per-core BYOL licensing.
- Dedicated Instances: single-tenant hardware without host-level visibility.
- Capacity Reservations guarantee capacity in an AZ but do not give a discount by themselves.
- License Manager tracks and enforces software licence usage.
- Marketplace software is billed through your AWS bill.