Section 18: Containers on AWS: ECS, Fargate, ECR & EKS Flashcards
What is a container?
A container is a bundle that contains an application and all its dependencies.
What is the benefit of a container over a VM (virtual machine)?
Containers provide the isolation benefits of virtualization with faster starts and less overhead, as well as portable, consistent environments.
What is Amazon ECS?
Amazon’s own container platform, ECS is a highly scalable and fast container management service.
What does Amazon ECS do and how does it work?
ECS allows you to launch docker containers on AWS. AWS manages the starting and stopping of containers, but the user must provision and maintain the underlying infrastructure (EC2s) unless using Fargate. It is free, so ECS is not costly and it integrates with many AWS services.
How does the Amazon ECS Fargate launch type work?
The Fargate launch type does not make you provision infrastructure, making it a serverless way to launch docker containers. Just create task definitions and there you go.
How do you scale ECS Fargate launch type?
Scaling Fargate is simple, just increase the number of tasks
What is Amazon EKS?
EKS = Elastic Kubernetes Service. It is a way to launch managed Kubernetes clusters on AWS.
What is Kubernetes?
Kubernetes is an open source system for automatic deployment, scaling and management of containerized (usually Docker) applications
What is the major EKS use case?
EKS is most useful for companies already using Kubernetes that want to migrate to AWS using Kubernetes.