Practitioner Definitions Flashcards
Business, People, Governance, Platform, Security, and Operations
6 core perspective of AWS CAF
6 R’s Migration to AWS
Rehosting, Replatforming, Refactoring/Re-Architecting, Repurchasing, Retaining, Retiring
Operational, Security, Reliability, Performance, Cost, Sustainability
Well-Architected Framework pillars
6 Advantages of cloud computing
1, Trade upfront expense for variable expense
2, Benefit from massive economies of scale
3, Stop guessing capacity
4, Increase speed and agility
5, Stop spending money running and maintaining data center
6, Go global in minutes
Amazon CodeWhisperer
Get code recommendations while writing code and identify security issues in your code
Amazon Transcribe
Convert speech to text
Amazon Comprehend
Discover patterns in Text
Amazon Fraud Detector
Identify potentially fraudulent online activities
Amazon Lex
Build voice and text chatbots
Amazon Polly
Convert text to speech
Amazon Rekonition
Allow you to have video and image analysis capabilities in your app.
1, General purpose instances
2, Compute optimized instances
3, Memory optimized instances
4, Accelerated computing instances
5, Storage optimized instaces
5 EC2 instance types
Provide a balance of compute, memory, and networking resources.
application servers
gaming servers
backend servers for enterprise app
small and medium databases
General purpose instance
Ideal for compute-bound applications that benefit from high-performance processors.
Ideal for high-performance web servers, compute-intensive app server, and dedicated gaming servers.
Compute optimized instances
Designed to deliver fast performance for workloads that process large datasets in memory.
Memory optimized instances
Designed for workloads that require high, sequential read and write access to large datasets on local storage.
Examples of workloads: distributed file systems, data warehousing app and high frequency online transaction processing(OLTP) systems.
Storage optimized instances
Accelerated computing instances
Hardware accelerators or coprocessors to perform some functions more efficiently than is possible in software running on CPUs.
5 Pricing categories
1, On-Demand
2, Reserved Instances
3, EC2 Instance Savings Plans
4, Spot Instances
5, Dedicated Hosts
On-Demand
Ideal for short-term, irregular workloads that cannot be interrupted.
use instances include: developing and testing applications and running applications that have unpredictable usage patterns.
Does not recommended for workloads that > 1yr
Reserved Instances
Billing discount applied to the use of On-Demand instances in your account.
Standard reserved instances: know EC2 instance type and size.
Convertible reserved instances: different AZ or different instance types.
Savings plans instances
EC2 instance costs when you make an hourly spend commitment to an instance family and region for 1yr or 3yrs.
72% saving compared to On-Demand rates.
Spot Instances
Ideal for workload with flexible start and end times, or that can withstand interruption.
90% off compared On-Demand price.
Dedicated Hosts
Physical servers with EC2 instance capacity that is fully dedicated to your use
Scalability
Involves beginning with only the resources you need and designing your architecture to auto respond to changing demand by scaling out or in.
EC2 auto scaling
Enables you to auto add or remove EC2 instances in response to changing app demand.
Dynamic scaling - responds to changing demand.
Predictive scaling - auto schedules the right number for EC2 instances based on predicted demand.
Elastic Load Balancing
Automatically distributes incoming app traffic across multiple resources.
Monolithic application
Tightly coupled components. If single component fails, other fail.
components include databases, servers, UI, business logic.
SNS (Simple Notification Service)
publish/subscribe service
can be web servers, email address, lambda functions or several other options
Microservices
Loosely coupled components.
Two services facilitate microservices application integration
SNS (Simple Notification Service)
SQS (Simple Queue Service)
SQS (Simple qQueue Service)
Message queuing service. You can send, store, and received messages between software components, without losing messages or requiring other services to be available.
Lambda
service that lets you run code without needing to provision or manage servers.
Pay only for the compute time that you consume.
ECS (Elastic container service)
highly scalable, high performance container management system that enables you to run and scale containerized app on AWS
Supports Docker container
EKS (Elastic Kubernetes Service)
Fully managed service that you can use to run Kubernetes on AWS
Fargate
Serverless compute engine for containers. it works with both Amazon ECS and EKS.
Pay only for the resources that are required to run your containers.
Four factors to determining the right region for services, data, and app
1, Compliance with data governance and legal requirements
2, Proximity to your customers
3, Available services within a region
4, Pricing
AZ (Availability Zone)
single data center or a group of data center within a region.
Edge location
a site that ClouFront uses to store cached copies of your content closer to your customers for faster delivery.
Elastic Beanstalk
you provide code and configuration setting, and Elastic beanstalk deploys and resources necessary to perform the follow tasks:
- adjust capacity
- load balancing
- auto scaling
- app health monitoring
CloudFormation
you can treat your infrastructure as code. you can build an environment by writing lines of code instead of using AWS management console.
YAML or JSON
AWS Outposts
Extend AWS infrastructure and services to different locations including your on-premises data center