AWS Cloud Developer: Compute Flashcards
EC2
Elastic Cloud Compute
Elastic Cloud Compute or EC2 is a foundational piece of AWS’ cloud computing platform and is a service that provides servers for rent in the cloud.
Each server is referred to as an instance
Why is EC2 not considered serverless?
EC2 instances are actual servers in an AZ or Data center
Is EC2 elastic?
Yes
Pricing options for EC2
On Demand - Pay as you go, no contract.
Dedicated Hosts - You have your own dedicated hardware and don’t share it with others.
Spot - You place a bid on an instance price. If there is extra capacity that falls below your bid, an EC2 instance is provisioned. If the price goes above your bid while the instance is running, the instance is terminated.
Reserved Instances - You earn huge discounts if you pay up front and sign a 1-year or 3-year contract.
What is the biggest benefit of Amazon Elastic Compute Cloud (Amazon EC2) over physical servers?
Pay only for what you use
EBS
Elastic Block Store
Elastic Block Store (EBS) is a storage solution for EC2 instances and is a physical hard drive that is attached to the EC2 instance to increase storage.
Benefit of EBS over instance store?
Able to persist data after server is spun down
EBS is automatically replicated in it’s AZ protecting you form instance failures and improves availabillity
Flat Network
All devices are connected to a single switch and communicate with each other
VPC
Virtual Private Cloud (VPC)
Virtual Private Cloud or VPC allows you to create your own private network in the cloud. You can launch services, like EC2, inside of that private network. A VPC spans all the Availability Zones in the region.
VPC allows you to control your virtual networking environment, which includes:
IP address ranges
subnets
route tables
network gateways
VPC is a security measure
What is the default limit for VPC’s?
The default limit is 5 VPCs per Region. You can request an increase for these limits.
What are the time limits on Lamdas?
Lambdas have a time limit of 15 minutes.
What is a Lamda?
The code you run on AWS Lambda is called a “Lambda function.”
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume.
With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.
Which languages are supported by lamda
Java, Go, PowerShell, Node.js, C#/.NET, Python, and Ruby
What is Elastic Beanstalk?
Elastic Beanstalk
Elastic Beanstalks is an orchestration service that allows you to deploy a web application at the touch of a button by spinning up (or provisioning) all of the services that you need to run your application.
Which languages are supported by Elastic Beanstalk
Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker.