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.
Answer from Marcin on Stack Overflowyou 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.
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).
I have a peculiar doubt on the pricing models. Clarify me if I am wrong. We have options such as
On-demand (For compute and storage)
Dedicated hosts (An entire server is dedicated to us and we can use it for compute and storage as well)
Dedicated instances (We are dedicated a physical hardware which other customers cannot use but if we stop and start the service or similar operation, then, we are assigned some other physical hardware where there are no customers using. Used for compute and storage both)
Spot instances (Spare hardware is given at a discount to make use of the idle. If the EC2 instance wants the resource we may lose the progress. IS THIS FOR COMPUTE AND STORAGE or ONLY COMPUTE?)
Savings Plan (Commitment to a consistent amount of usage for what? Compute or storage or both?)
Reserved instances (Reservation for 1 or 3 years. Both compute and Storage. Does this apply to elasticache as well? Elasticache is a caching service right? Does it also require reservations? Does it not erase after some time?)
I hope someone answers. Learning for the CCP exam.
Just trying to get this straight.
From AWS Whitepaper:
Dedicated instances are physically isolated at the host hardware level from instances that belong to other AWS accounts
Does this mean it reserves resources? For example, 2GB of RAM will be 100% guranteed and reserved for an EC2 Reserved Instance?