Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS: Dedicated Host VS Dedicated Instance, why the first is more expensive than the later?

I'm studying for my Associate Architect exam at AWS, and I can't find an explanation for this question. Why Dedicated Host are more expensive than Dedicated Instances? I understand the main differences between the two, it is just that in my brain it doesn't make sense.

This is my perspective: if you ask for a dedicated host, you control the entire hardware. CPUs, RAM, Sockets, etc. You can use your own license (BYOL). But if you ask for a Dedicated Instance, the hardware it is still just for you. Your AWS account is still the only one using that hardware. You have less control over it, but even though you are locking down a single piece of hardware just for your purposes.

So, why dedicated hosts are more expensive than dedicated instances, if after all, in either case, you "own" the hardware? Again, in either case, AWS won't be able to use that hardware for something else.

like image 983
Perimosh Avatar asked Oct 11 '20 22:10

Perimosh


People also ask

What is the biggest difference between Amazon EC2 dedicated instances and dedicated Hosts?

An important difference between a Dedicated Host and a Dedicated instance is that a Dedicated Host gives you additional visibility and control over how instances are placed on a physical server, and you can consistently deploy your instances to the same physical server over time.

What is the difference between a bare metal instance and dedicated host?

A: Dedicated Hosts have pre-installed virtualization software (Xen or Nitro Hypervisor) whereas bare metal servers do not have pre-installed virtualization software. Bare-metal servers are meant for customers who wish to use their own hypervisor or for applications that need to run in non-virtualized environments.

What is the difference between EC2 dedicated instances and Reserved instances?

Dedicated instances may share hardware with other instances from the same AWS account that are not Dedicated instances. Pay for Dedicated Instances On-Demand, save up to 70% by purchasing Reserved Instances, or save up to 90% by purchasing Spot Instances.

How many instances can you run on a dedicated host?

T3 Dedicated Hosts run general purpose burstable T3 instances that share CPU resources of the host by providing a baseline CPU performance and the ability to burst to a higher level when needed. This enables T3 Dedicated Hosts, which have 48 cores, to support up to a maximum of 192 instances per host.


2 Answers

you are locking down a single piece of hardware just for your purposes.

Dedicated Instance does not work like this. Your instance runs on some dedicated hardware. Its not lockdown to you. If you stop/start instance, you can get some other hardware somewhere else. Basically, the hardware is "yours" (you are not sharing it with others) for the time your instance is running. You stop/start it, you may get different physical machine later on (maybe older, maybe newer, maybe its specs will be a bit different), and so on. So your instance is moved around on different physical servers - whichever is not occupied by others at the time.

With Dedicated Host the physical server is basically yours. It does not change, it's always the same physical machine for as long as you are paying.

like image 130
Marcin Avatar answered Sep 22 '22 07:09

Marcin


Dedicated Host

As soon as you 'allocate' a Dedicated Host, you start paying for that whole host.

A host computer is very big. In fact, it is the size of the largest instance of the selected family, but can be divided-up into smaller instances of the same family. ("You can run any number of instances up to the core capacity associated with the host.")

Any instances that run on that Host are not charged, since you are already being billed for the Host.

That is why a Dedicated Host is more expensive than a Dedicated Instance -- the charge is for the whole host.

Dedicated Instance

"Dedicated Instances are Amazon EC2 instances that run in a virtual private cloud (VPC) on hardware that's dedicated to a single customer... Dedicated Instances may share hardware with other instances from the same AWS account that are not Dedicated Instances."

This means that no other AWS Account will run an instance on the same Host, but other instances (both dedicated and non-dedicated) from the same AWS Account might run on the same Host.

Billing is per-instance, with a cost approximately 10% more than the normal instance charge (but no extra charge if it is the largest instance in the family, since it requires the whole host anyway).

like image 33
John Rotenstein Avatar answered Sep 23 '22 07:09

John Rotenstein