chapter 7 Flashcards
What are the elements required to provision an EC2 instance?
An instance requires a base OS (AMI) and—optionally—an application stack, an instance type for its hardware profile, and either an EBS or an instance volume for storage.
What are the the sources, pricing, and availability of EC2 AMIs?
The Quick Start and Marketplace AMIs are supported by Amazon or a recognized third-party vendor, which may not be true of AMIs selected from the Community collection. In any case, you should confirm whether using a particular AMI will incur extra charges beyond the normal EC2
usage.
How do EC2 instance types determine the compute power of your instance?
They are divided into type families, each of which focuses on a functional niche (general purpose, compute optimized, memory optimized, accelerated computing, and storage optimized).
Your application needs and budget will determine which instance type you choose.
What are the differences between EBS and instance store volumes?
EBS volumes are versatile and will survice an insance shutdown.
Instance store volumes, on the other hand, provide faster reads and writes and can be more secure for some purposes.
What are the differences between EC2 pricing models?
On-demand is the most expensive way to consume EC2 instances, but it’s also flexible and reliable
Reserved instances work well for instances that must remain running for longer periods of time.
Spot instances are the least expensive but can be shut down with only a two-minute warning.
What are Amazon’s managed deployment services?
Amazon Lightsail provides blueprints for simplified flat-rate deployments using EC2 resources under the hood.
Elastic Beanstalk manages the underlying infrastructure for your application and automatically scales according to demand.
How do container and serverless models work in the cloud?
Containers share the OS kernel and device drivers with their host and share common software layers with each other to produce fast and lightweight applications.
ECS and EKS are AWS services focused on simplifying Docker orchestration within the EC2 framework.
Lambda functions are designed to respond to event triggers to launch short-lived operations.