Module 2: Compute in the Cloud Flashcards
What is Amazon Elastic Compute Cloud (Amazon EC2)?
Amazon Elastic Compute Cloud (Amazon EC2) is a cloud infrastructure that provides raw computing resources on demand.
Describe the benefits of Amazon Elastic Compute Cloud (Amazon EC2)?
- Launch an Amazon EC2 instance within minutes
- Stop using it when you finish running a workload
- Pay only for the compute time you use when an instance is running, not when it is stopped or shut down
- Save costs by paying only for server capacity that you need or want
How does Amazon EC2 Instances work?
- Launch an instance
- Connect to the instance
- Use the instance
What are the 5 Amazon EC2 instance types?
- General purpose instances provide a balance of compute, memory, and networking
resources - Compute optimized instances are ideal for compute-bound applications that benefit
from high-performance processors. - Memory optimized instances are designed to deliver fast performance for workloads
that process large datasets in memory. - Accelerated computing instances use hardware accelerators, or coprocessors, to
perform some functions more efficiently than is possible in software running on CPUs - Storage optimized instances are designed for workloads that require high, sequential
read and write access to large datasets on local storage
What are the 4 Amazon EC2 Instance Pricing Options?
- On-Demand Instances are an excellent option to use for this type of short-term,
irregular workload that cannot be interrupted. No upfront costs or minimum
contracts apply - Spot Instances are ideal for these types of workloads with flexible start and end
times, or that can withstand interruptions. Spot Instances use unused EC2 computing
capacity and offer you cost savings at up to 90 percent of On-Demand prices - Reserved Instances are a billing discount that is applied to the use of On-Demand Instances if you commit to 1 or 3 years of service
- Amazon EC2 Savings Plans can help you reduce your compute costs by committing to a consistent amount of compute usage for a 1-year or 3-year term. This results in savings of up to 66 percent over On-Demand costs.
What are the 2 Amazon EC2 Dedicated Computing options?
- Dedicated Instances are EC2 instances that run in a virtual private cloud (VPC) on hardware that is dedicated to a single customer. They have a higher cost compared to standard Amazon EC2 instances.
- Dedicated Hosts are physical servers with EC2 instance capacity that is fully
dedicated to your use. Of all the EC2 options covered, Dedicated Hosts are the most expensive
What is EC2 Auto Scaling, and the two approaches of scaling?
Amazon EC2 Auto Scaling enables you to automatically add or remove Amazon EC2 instances in response to changing application demand. Dynamic scaling responds to changing demand whereas Predictive scaling automatically schedules the right number of Amazon EC2 instances based on
predicted demand.
What does Elastic Load Balancing mean?
Elastic Load Balancing means size of a workload remains the same, but the workload is balanced by evenly distributing it across Amazon EC2 instances.
What is the difference between Monolithic Application Design and a Microservice Application Design?
In Monolithic, components including databases, servers, user interfaces, business logic, etc. are tightly coupled, meaning if a single component fails, other components fail. Microservices components are loosely coupled, so if a single component fails, the other components continue to work because they are
communicating with each other.
What is the Amazon Simple Notification Service and how do publishers/subscribers communicate?
Amazon Simple Notification Service (Amazon SNS) is a managed service that provides message delivery from publishers to subscribers. Publishers communicate asynchronously with subscribers by sending messages to a topic.
What is the Amazon Simple Queue Service?
Amazon Simple Queue Service (Amazon SQS) is a message queuing service where you can send, store, and receive messages between software
components without losing messages or requiring other services to be available.
What is AWS Lambda?
AWS Lambda is a service that lets you run code without needing to provision or manage servers.
What are the 4 steps involved when using AWS Lambda?
- Upload code to Lambda.
- Set code trigger from event source
- Code runs only when triggered
- Pay only for compute time you use
What is a Container?
A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another.
What is Amazon Elastic Container Service?
Amazon Elastic Container Service (Amazon ECS) is a highly scalable, high-performance container management system that allows you to run and scale containerized applications on AWS.