Other Compute Services Flashcards

1
Q

Amazon ECS

A

Elastic container service

  • Docker containers on AWS
  • You provision the EC2s
  • AWS starts and stops containers
  • Integrates with ALB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Docker

A
  • Software development platform to deploy apps
  • Packaged as containers that can run on any OS
  • Apps run the same no matter
    • any machine
    • no compatibility issues
    • predictable behavoir
    • less work
    • easier to maintain and deploy
    • works with different languages, OSes
  • scale up and down quickly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Amazon Fargate

A
  • Docker containers on AWS
  • You don’t provision the EC2s
  • serverless
  • AWS runs containers based on CPU/RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Amazon ECR

A

Elastic container registry

  • private docker registry on AWS
  • Store docker images for ECS or Fargate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

AWS Lambda

A
  • Virtual functions - no servers
  • limited by time - short executions
  • run on-demand
  • scaling is automated
  • Pay per request & compute time
  • Integrated with other AWS services
  • event-driven
  • CloudWatch

Uses: Create thumbs for S3 images, Run serverless cron

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

AWS Lambda language support

A
  • Node.js (Javascript)
  • Python
  • Java (Java 8)
  • C# (.NET Core)
  • Golang
  • C# / Powershell
  • Ruby
  • Custom runtime API (Rust)
  • Lambda container image
    • must use lambda runtime API
    • ECS / Fargate preferred
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Amazon API Gateway

A

fully managed service for developers to create, publish, maintain, monitor, secure APIs

  • Serverless / scalablel
  • Supports RESTful and WebSocket APIs
  • Support for security, user auth, API throggling, API keys,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

AWS Batch

A

Batch processing at scale

  • run 100ks of batch jobs
  • each job has start and end
  • batch will launch EC2 / Spot instances
  • provisions right amount of memory/compute
  • Batch jobs are docker images that run on ECS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Batch versus Lambda

A

Lambda:
* time limit
* limited runtimes
* limited temp disk
* serverless

Batch
* no time limit
* any runtime that’s a docker image
* EBS / instance store for space
* Relies on EC2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Amazon Lightsail

A

Virtual servers, storage, databases, and networking

  • Low & predictable pricing
  • simpler alternative to EC2, RDS, ELB, etc.
  • Great for those with little cloud experience
  • Can set up notifications and monitoring
    • simple web apps
    • websites (wordpress, magneto)
    • dev/test environments
  • HA but no autoscaling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly