AWS Core Services Flashcards
(40 cards)
Compute Service
Service that enables to use cloud-based virtual machines for workloads
EC2
Amazon Elastic Compute Cloud
Web service that provides resizable compute capacity in the cloud
EC2 Use Cases
Web application hosting
Batch processing
Web services endpoint
Dekstop in cloud
EC2 Instance Types
Define processor, memory, and storage type
Cannot be changed without downtime
General Purpose Compute, memory, storage optimized (3 diff types) Accelerated computing (ML)
Pricing based on instance type
Root device type EC2
Instance Store - If you sut it down it will go away
Elastic Block Store - it will stay
EC2 AMI
Amazon Machine Image
instance including config, os, and data
Shared across multiple accounts
Create your own custom ami’s and marketplace
EC2 Purchase Option Reserved Instance
Discounts if you commit to a period of time
Capacity reservation
EC2 Reserved Instance Cost Model*
All Upfront - cheapest
Partial Upfront - middle
No upfront
EC2 Savings Plan Instance*
supports EC2, Lambda,
EC2 Spot Instance
90% discount over on-demand prices
Spot price per availability zone
If your bid is higher, then you can launch
Temrinated if not
Dedicated Host
Physical Server
Software Licensing or Something
EC2 Purchase Options Summary
If you have instance consistent and always needs standard or convertible reserved
If you have batch processing, leverage Spot instances
If you have an inconsistent need for instances use On Demand
Specific per-server license or compliance requirment use Dedicated Host
Leveraging lambda alongside use Savings Plan
Predictable but not steady workload use Scheduled Reserved Instance
AWS Elastic Beanstalk
Automates process of deploying and scaling workloads on EC2 (PaaS)
Supports specific set of technologies
Leverage existing AWS services
Only pay for the other services you leverage
Handles, load balancing, scaling, and monitoring
Java, .Net, PHP, Node.js, Python, Ruby, Go, Docker
Elastic Beanstalk Features
Monitoring
Deployment
Scaling
EC2 Customization
Elastic Beanstalk Use Cases
Deploy with minimal knowledge of other services
Reduce overall maintenance needed for the application
Few customizations are required
AWS Lambda
Run code without provisioning or managing servers Only pay for compute time you consume 128m to 3008mb memory available Integrates with AWS services Enabled event-driven workflows Primary service for serverless
AWS Lambda Advantages
Reduced maintence requirments
Enables Fault tolerance
Scales based on demand
Pricing is based on usage
Networking and CDS
Amazon Route 53 Amazon VPC AWS Direct Connect Amazon API Gateway Amazon CloudFront Elastic Load Balancing
Amazon Virtual Private Cloud (VPC)
Virtual network we can define Enables virtual network in AWS Support public and private subnet Connect to your data center Other VPC's
AWS Direct Connect
Data Center -> AWS
Amazon Route 53
Domain Name Service, DNS
Global service (not regional)
Highly available
Enables global resource routing (send to the server on what you want, ex; if it fails route to new server)
Elastic Load Balancing
Distributes traffic among multiple targets Integrates EC2, ECS, and Lambda Supports one or more AZ's in a region Application Load Balancer Network Load Balancer Classic Load Balancer
Scaling on EC2
Vertical Scaling - Scale-up instance to a larger instance w/ additional resources
Horizontal Scaling - Scale-out and add additional instances to handle the demand of the application
Amazon CloudFront and API Gateway
CloudFront - CDN, enables users to get content from the server closest to them, static/dynamic content, utilizes edge locations, adv security like AWS Shield for DDoS and …
API Gateway- Fully managed API management service, directly integrates with multiple AWS services, provides monitoring & metrics on API calls, supports VPC and on-premise something…