AWS EC2 Flashcards
List the EC2 instance categories?
Spot Instance, On-Demand Instances, Reserved Instances.
What is an EC2 spot instance?
You can bid on unused EC2 capacity by using a spot instance, but a spot instance can be stopped and unallocated by AWS at any point in time.
What is a reserved instance?
You pay upfront for EC2 capacity and you are guaranteed to be able to use this capacity when you need it, even if the AWS region is at 100% capacity.
What is a on demand instance?
You use what you need and pay as you go.
When using a reserved instance are you guaranteed you will be able to provision the EC2 instance when need, even if the AWS region is at 100% capacity.
Yes
When using spot instances are you gaurenteed resources?
No
When using spot instance can the instance be stoped at any time?
Yes.
When using reserved instance can the instance be stoped at any time?
No.
When using on-demand instance can the instance be stoped at any time?
No.
With on demand instance are you gaurenteed resources
No.
Is a spot instance the best choice for a situation where the load is changing all the time and the workload can not be interupted?
No a better choice here would be on-demand instance.
What is AWS free tier?
When you sign up and during the first 12months you get some free resources with some restrictions, this is to help you learn.
Is spot instances a lower cost then other instance types?
Yes as you bit for unused capacity.
What sort of processes are best suited to spot instances?
Batch processes or tasks.
If you know you will need a instance 24/7 365, what instance type is best suited to get best value, the work load can not be interrupted.
Reserved as it gives you the low price as you pay upfront and are guarantee the resources.
`
No.
When you buy a reserved instance is it in all availability zones?
No it is for a single availability zone.
Can you transfer a reserved instances from one availability zone to another ?
Yes.
If you have a large reserved instance and you do not need it any more but need a number of smaller instances, what can you do?
You can create a number of small instances from a large reserved instance.
What is the default number of instances you can create ?
20
Mow many elastic IP do you get by default?
5
Where you reached the default max limits of EIP’s or Instances, what can you do to get more resources?
You can ask AWS to give you more resources, this typically takes 24hrs.
Is ES2 instances fault tolerant?
No you have to architect a solution with fault tolerance.
Dose ES2 instances integrate with IAM?
Yes