Technology - Compute Services Flashcards
What is Elastic Cloud Compute? (EC2)
EC2- Allows you to rent and manage virtual servers (called Instances) in the cloud that can grow and shrink based on demand (Elastic)
EC2 Instances are virtual servers running on a physical server.
Virtual Servers in the cloud - Compute Power
True or False: EC2 Instances are considered serverless.
False - EC2 instances run as virtual servers on a PHYSICAL server.
When would you want to deploy an EC2 in the Real World?
- To Deploy a Database -
- Deploy a Web Server for Web Applications
3.
Name TWO ways to access an EC2 instance:
- AWS Management Console (In A Web Browser)
- SSH (most common, requires a key pairing first)
- EC2 Instance Connect (EIC)
- AWS Systems Manager
Describe the EC2 “on-demand” pricing option
Pay for only what you use on-demand down to the second.
Describe the EC2 “spot” pricing option
The cheapest option - Allows instances only on unused capacity across the Region. Used when the start/stop time of the application is not an issue. You pay the “spot” price at the begining of each hour.
Describe “Reserved Instances” pricing option
Allows you to commit to a specific instance type in a particular region for 1 or 3 years. Must sign a contract.
Can save up to 75% off On-Demand Prices.
What are “Dedicated Hosts”?
Paying for a physical server that is ONLY yours.
When would you use a Savings Plan model in AWS
When you want to lower your bill across computer services
When flexibility across regions
What is Elastic Load Balancing?
Automatically distributes your incoming application traffic across multiple EC2 instances.
Types include: Classic, Application, Gateway, and Network
What is EC2 Auto-Scaling?
Adds or replaced EC2 instances automatically across Availability Zones based on need and changing demand (Horizontal Scaling)
It reduces the impact of system failures and improves the availability of applications.
What is AWS Lambda?
AWS Lambda is a serverless compute service that lets you run code without managing servers and scales automatically.
Code functions using many popular languages
What are some business-use cases for AWS Lambda?
- Real-Time File Processing
- Sending Email Notification
- Backend Business Logic
What are some features of AWS Lambda?
- Supports popular programming languages (Java, Go, PowerShell, Node.js, C#, Python, & Ruby)
- Lambda can execute your code in response to events
- Lambda functions have a 15-minute time out.
What is the pricing model for Lambda?
- Compute time
- Request count
- Always free (1 million free lambda call requests each month)