Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.28 KB

File metadata and controls

36 lines (21 loc) · 1.28 KB

AWS Questions

What is the difference between a Docker image and a container?

What's AWS Lambda layer?

A Lambda Layer is a ZIP archive / file that contains code and can be imported by Lambda functions. They are extracted to /opt folder in a Lambda function execution environment.

What's an AWS lambda function? What is a handler in a lambda function?

Why do we need task definition in Amazon ECS?

A task definition is required to run Docker containers in Amazon ECS. It's a blueprint that tells how a container should be launced.

How does one use task to run docker image in Amazon ECS?

  1. Build you image
  2. Push image to registry.
  3. Create JSON file describing your task definition.
  4. Register this task definition with ECS.
  5. Make sure that your cluster has enough resources. 6 Start a new task from the task definition.

Explain

  1. ECR Repository: store versioned application container images

  2. ECS Cluster: provides compute power to run application container instances

  3. ECS Task Definition: specifies application container image version and environment considerations

  4. ECS Service: specifies how task definition will be deployed onto underlying compute resources

  5. What is a cold start?

A latency experienced when you trigger a function.