Module 2: Compute in the Cloud Flashcards
Amazon Elastic Compute Cloud (EC2)
Provides secure, resizable compute capacity in the cloud.
General Purpose EC2 Instance
Provides a balance of compute, memory, and networking resources.
-Can be used for application servers, gaming servers, backend servers for enterprise applications, and small & medium databases.
Compute Optimized EC2 Instance
Ideal for compute-bound applications that benefit from high-performance processes.
-Used for workloads such as web, application, and gaming servers.
Memory Optimized EC2 Instance
Designed to deliver fast performance for workloads that process large datasets in memory.
Accelerated Computing EC2 Instance
Use hardware accelerators, or compressors, to perform some functions more efficiently than is possible in software running on CPUs.
Storage Optimized EC2 Instance
Designed for workloads that require high, sequential read and write access to large datasets on local storage.
-Used for distributed file systems, data warehousing applications, and high-frequency OLTP systems.
On-Demand Instance EC2 Pricing
- Ideal for short-term, irregular workloads that cannot be interrupted.
- No upfront costs or minimum contracts.
- Pay for what you use.
Savings Plans EC2 Pricing
- Allow for a reduce in compute costs by committing to a consistent amount of compute usage for a 1-3 year term.
- Savings of up to 72%.
Reserved Instances EC2 Pricing
Billing discount applied to the use of On-Demand Instances.
Spot Instances EC2 Pricing
- Unused Amazon EC2 computing capacity and offer up to 90% off On-Demand prices.
- Ideal for workloads with flexible start and end times.
Dedicated Hosts
Physical servers with Amazon EC2 instance capacity that is fully dedicated to your use.
Scalability
Involves beginning with only the resources you need and designing your architecture to automatically respond to changing demand by scaling out or in.
-You pay for only the resources you use.
Amazon EC2 Auto Scaling
Enables you to automatically add or remove Amazon EC2 instances in response to changing application demand.
Demand Scaling
Responds to changing demand.
Predictive Scaling
Automatically schedules the right number of Amazon EC2 instances based on predicted demand.
Minimum Capacity
The number of Amazon EC2 instances that launch immediately after you have created the Auto Scaling group.
Elastic Load Balancing
- The AWS service that automatically distributes incoming application traffic across multiple resources.
- Distributes the workload across the multiple instances to that no single instance has to carry the bulk of it.
Monolithic Application
- An application with tightly coupled components.
- If a single component fails, other components fail, and possibly the entire application fails.
Microservices Approach
- Application components are loosely coupled.
- If a single component fails, the other components continue to work because they are communicating with each other.
Amazon Simple Notification Service (Amazon SNS)
- A publish/subscribe service.
- A publisher publishes messages to subscribers.
Amazon Simple Queue Service (Amazon SQS)
- A message queuing service.
- Messages can be sent, stored, and received between software components, without losing messages or requiring other services to be available.
Serverless
The code runs on services but the servers do not need to be provisioned or managed.
AWS Lambda
- A service that allows you to run code without needing to provision or manage servers.
- You only pay for the compute time that you consume.
Containers
Provide a standard way to package the application’s code and dependencies into a single object.
Amazon Elastic Container Service (Amazon ECS)
A highly scalable, high-performance container management system that enables you to run and scale containerized applications on AWS.
Amazon Elastic Kubernetes Service (Amazon EKS)
A fully managed service that you can use to run Kubernetes on AWS.
Kubernetes
Open source software that enables to deploy and manage containerized applications at scale.
AWS Fargate
A serverless compute engine for containers.