Other Compute Section Flashcards
Two services that launch dockers
ECS (Elastic Container Store) / Fargate
A software development platform to store apps
docker
where are docker images stored?
docker repositories
what is the URL address for a public docker hub?
https://hub.docker.com/
What is the difference between a virtual machine and a container?
In a VM, resources are not shared whereas with containers, server resources are shared between containers
Of the two services that launch container services, which one requires the uses of instances and maintaining infrastructure versus which one is serverless
ECS requires infrastructure
Fargate is serverless
what is the name of the AWS docker repository?
ECR - Elastic Container Registry
Serverless is akin to _aaS
Function
Lambda - how many requests are afforded under the free tier
1 million
Lambda - how many GB of compute time are afforded under the free tier?
400,000 GB- seconds (or 4 TB) seconds of compute time
What service is utilized to monitor Lambda?
AWS Cloudwatch
Lambda is considered to an (expensive/inexpensive) service.
Inexpensive
Batch jobs must be packaged as what type of image?
docker image
Apps created with Dockers are stored in what?
containers
On which OS can your run Docker apps?
any OS
What programming languages can Docker work with?
any
Are docker containers scalable?
yes
When scaling docker containers, how quickly can they be scaled?
in seconds
If you have multiple Docker container applications running, what is the minimum # of EC2 instances?
Just 1, as containers share server resources
What is the docker equivalent of the role hypervisor plays in creating VMs on top of hardware?
Docker daemon
what purpose does ECS serve?
launches Docker containers on AWS
With ECS, are EC2 instances required?
yes
With ECS, EC2 instances are created (as needed/in advance by you).
in advance, by you
With ECS, who is responsible for stopping/starting containers? You/AWS
AWS
Can ECS implement load balancing?
yes
What is one example where ECS might implement load balancing?
if you wanted to utilize a web application
Amazon S3, Dynamo DB, Lambda, and Fargate are all examples of what type (classification) of service?
serverless
With Lambda, we don’t have servers but instead, just have v______ f_______
virtual functions
Lambda is limited by …. what?
time
Lambda is (shorter/longer) executions.
shorter
Lambda runs
a. continuously
b. when manually started
c. on demand
on demand
Lambda, scaling is (manual/automatic)
automatic
Lambda is
a. expensive to run
b inexpensive
inexpensive
For Lamba, how are you charged (choose two)?
1. per line of code
2.per request
3. set monthly fee that covers all usage
4. per compute time x data used
- per request
- per compute time x data used
When using Lambda, how much will it cost you for 1,000,000 Lambda requests?
Nothing, that’s covered under the free tier
When using Lambda, how much will it cost for 400,000GB (4TB) of compute time?
Nothing, that’s covered under the free tier
what type of service is serverless, and said to be “event driven”, only invoked by AWS when needed
Lambda
Lamba is considered a (passive/reactive) type of service.
reactive
Lambda can get up to __GB of RAM per function.
10
The C_____ R______ API will allow you to run any language you want through Lambda
Custom Runtime API
What is the purpose of the “Lambda Container Image”?
allows you to run docker containers on top of Lambda
When using the “Lambda Container Image” to run a docker image on top of Lambda, what must the container image contain?
must contain the Lambda runtime API
why would someone run a CRON job?
So that they could set a specific schedule of when to run a script
By default, what type of AMI is a CRON job run on?
Linux AMI
Beyond the free tier, how much are you going to pay for Lambda request?
$.20 per 1 million requests - $.0000002 per request)
Beyond the free tier, how much are you going to pay for Lambda compute time?
$1 for 600,000 GB-seconds
management tool that sits between a client and a collection of backend services
API Gateway
acts as a reverse proxy to accept all application programming interface (API) calls, aggregate the various services required to fulfill them, and return the appropriate result.
API Gateway
fully managed service for developers to easily create, publish, maintain, monitor, and secure APIs
API Gateway
if the exam asks about “where to create a serverless and scalable API” think of this
Amazon Gateway API
fully managed batch processing service that can do batch processing at any scale
AWS Batch
A batch job can run (insert number) of computing batch jobs on AWS
100,000s
a b____ job runs with a definitive start and stop
batch
a batch job will dynamically launch either of these two types of instances to accommodate the load of the job you’re trying to run
EC2 instances or Spot instances
you can either s_____ or s_______ batch jobs and AWS Batch will do the request
submit, schedule
Batch jobs are defined as what kind of image?
docker
Batch jobs run on E__
ECS
acts as a “front door” for applications to access data, business logic, or functionality from your backend services, such as workloads running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, any web application, or real-time communication applications.
API Gateway
are defined as docker images and run on ECS
batch jobs
batch jobs are helpful for (getting coffee/cost optimizations) and focusing (more/less) on the infrastructure
cost optimizations / less
AWS Batch will make sure you have the right amount of (coffee/resources/instances) to accommodate the load for the job
instances
what two types of storage space does batch jobs rely on and, why?
EBS and “instance store”, because batch jobs run on instances, which themselves use EBS and “instance store” for storage
what kind of time limit are batch jobs limited to?
no time limit
Batch is a (non managed/managed) service
managed
True or False: Batch is a serverless service
False
Which is the reason people use Amazon LightSail?
It’s a simpler alternative to using EC2, RDS, ELB, EBS, Route 53, etc
Amazon LightSail - what is included in the Free Tier?
three months - 750 hours / month
a virtual private server (VPS) provider and is the easiest way to get started with AWS for developers, small businesses, students, and other users who need a solution to build and host their applications on cloud.
Amazon LightSail
Lightsail has (high/low) and (random/predictable) pricing.
low / predictable
True or False: you can setup notifications and monitoring of LightSail resources
True
LIghtSail (does/does not) have high availability, (does/does not) have auto scaling, (unlimited/limited) AWS integrations
Does / Does Not / Limited
Lamba is billed “per request (number of invocations)” and “by the time run x by the (Storage/RAM) provisioned”
RAM (think how long was the TV show and how much data did it use, maybe a 4K show used more data than low definition)
Lambda supports many programming languages except for arb_____ Docker
arbitrary
Maximum Lamba invocation time (the maximum amount of time a Lamba job is allowed to run)
15 minutes
creating thumbnails for images uploaded to S3 or running a serverless CRON job would be good use cases for ….
Lambda
API Gateway allows expose Lambda functions as H___ API
HTTP