EC2 101 Flashcards
What is EC2?
A web service that provides resizable compute capacity in the cloud.
What is the EC2 On Demand Pricing Model?
Allows for paying a fixed rate by the second/hour with no commitment,
What is EC2 Reserved Pricing Model?
Provides reserved capacity with significant discounts on the hourly rate
What is EC2 Sport Pricing Model?
Allows for bidding a price for excess instance capacity, providing greater cost savings for applications that have flexible start and end times.
What is EC2 Dedicated Hosts Pricing Model?
Physical EC2 servers dedicated for your use.
What is the use case for EC2 On Demand?
Applications with short term, spiky, or unpredictable workloads that cannot be interrupted.
What is the use case for EC2 Reserved?
Applications with steady state or predictable usage, or those that require reserved capacity.
What is the use case for EC2 Spot
Applications with flexible start and end times, are feasible at very low compute costs, or users with urgent computing needs for large amounts of additional capacity.
What is the use case for Dedicated Hosts?
Useful for regulatory requirements or licensing that does not support multi tenancy.
True or False: If the EC2 Spot instance is terminated by AWS you will not be charged for a partial hour of usage.
True, however if you terminate it yourself, you will be charged for any hour in which the instance ran.
True or False: EC2 Termination Protection is turned on by default.
False; it is not turned on by default. Termination Protection protects the EC2 instance from accidental deletion.
True or False: On an EBS Backed EC2 instance, the default action is for the root EBS volume to be deleted when the instance is terminated.
True; this can be changed by unchecking the delete on termination box. However, additional volumes are not automatically deleted upon termination by default.
Can EBS EC2 Root Volumes of default AMIs be encrypted?
Yes, this can be done during the provisioning of the instance. Additional volume can also be encrypted. Encryption can also be done after the instance has been created.
How long does it take for a rule change to a Security Group to take effect?
It takes effect immediately.
True or False: All Security Group inbound traffic is blocked by default.
True, rules must be added to allow access to the service the Security Group is managing access to.