AWS Core Services Flashcards
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