Cram Deck Flashcards
Benefits of Cloud Computing
Opex vs. Capex, Running data center, capacity guessing, massive economies of scale, increase speed and agility, global in minutes
EC2
Elastic compute cloud. General purpose, compute optimized, memory optimized, accelerated, storage optimized
EC2: General Purpose
balance of compute, memory, networking. Application servers, gaming servers, backend servers for enterprise applications, small and medium databases
EC2: Compute Optimized
High performance processing. high performance web servers, compute intensive applications servers, and dedicated gaming servers, batch processing workloads that require processing many transactions in a single group
EC2: Memory Optimized
fast performance for workloads that process large datasets in memory. workload that requires large amounts of data to be preloaded before running an application. This scenario might be a high performance database or a workload that involves performing real time processing of a large amount of unstructured data.
EC2: Accelerated Computing
hardware accelerators, or coprocessors, to perform some functions more efficiently than is possible in software running on CPUs. floating point number calculations, graphics processing, and data pattern matching.
EC2: Storage Optimized
require high, sequential read and write access to large datasets on local storage.
distributed file systems, data warehousing applications, and high frequency online transaction processing (OLTP) systems.
Storage optimized instances are designed to deliver tens of thousands of low latency, random IOPS to applications.
IOPS
input/output operations per second
performance of a storage device.
EC2 Pricing Models
On demand, EC2 savings plans, reserved instances, spot instances, dedicated hosts.
EC2: On Demand Pricing
short term, irregular workloads that cannot be interrupted.
No upfront costs or minimum contracts apply.
run continuously until stopped
pay for compute time used
applications that have unpredictable usage patterns
not for work lasting > year (use Reserved Instances).
EC2: Savings Plans Pricing
1 - 3 year term.
savings of up to 72% over On Demand costs.
EC2: Reserved Instances Pricing
Standard, Convertible, Scheduled
Standard & Convertible for 1 - 3 year
Scheduled Reserved Instances for a 1 year term.
greater cost savings with the 3 year option.
EC2: Spot Instances Pricing
For flexible start and end times, or that can withstand interruptions.
cost savings at up to 90% vs. On Demand
2-Minute Warning before stop/hibernate/terminate
EC2: Dedicated Hosts Pricing
physical servers with Amazon EC2 instance capacity that is fully dedicated to your use.
use your existing per socket, per core, or per VM software licenses.
On Demand Dedicated Hosts and Dedicated Hosts Reservations.
Dedicated Hosts are the most expensive.
EC2 Auto Scaling
automatically add or remove Amazon EC2 instances in response to changing application demand.
Dynamic scaling responds to changing demand.
Predictive scaling automatically schedules on predicted demand.
Can set minimum capacity, desired capacity, and maximum capacity
Elastic Load Balancing
automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances.
Amazon SNS
Simple Notification Service is a publish/subscribe service. NS topics, a publisher publishes messages to subscribers. subscribers can be web servers, email addresses, AWS Lambda functions, etc.
Amazon SQS
Simple Queue Service.
send, store, and receive messages between software components, without losing messages or requiring other services to be available.
Serverless Computing
code runs on servers, but you do not need to provision or manage these servers.
focus more on innovating new products and features instead of maintaining servers.
AWS Lambda, fargate, sqs, sns, s3, etc.
AWS Lambda
Run code without provision or manage servers.
pay only for the compute time that you consume.
E.G. automatically resizing uploaded images to the AWS Cloud.
Containers
package application code and dependencies into a single object.
can also use containers for processes and workflows in which there are essential requirements for security, reliability, and scalability.
Amazon ECS
Elastic Container Service.
highly scalable, high performance container management system that enables you to run and scale containerized applications on AWS.
supports Docker containers.
Amazon EKS
Elastic Kubernetes Service. fully managed service that you can use to run Kubernetes on AWS.
Kubernetes
open source software that enables you to deploy and manage containerized applications at scale. A large community of volunteers maintains Kubernetes, and AWS actively works together with the Kubernetes community.