Container Flashcards
What is Docker?
A platform for developing, shipping, and running applications in containers.
What are the benefits of using Docker?
- Application portability
- Consistent performance
- Simplified maintenance
- Improved resource utilization
What is Docker Hub?
A public registry for storing and sharing Docker images.
What is Amazon ECR?
A private registry for storing and managing Docker images on AWS.
How does Docker differ from a virtual machine?
Docker shares the host OS kernel, while VMs have their own guest OS. This makes Docker containers more lightweight and efficient.
What is Amazon ECS?
Amazon’s own container orchestration service for deploying and managing containers.
What are the two launch types for Amazon ECS?
EC2 launch type (you manage the EC2 instances) and Fargate launch type (serverless).
What is AWS Fargate?
A serverless compute engine for containers that removes the need to manage servers or clusters.
What is an EC2 Instance Profile used for in Amazon ECS?
It allows the ECS agent to make API calls to the ECS service.
What is an ECS Task Role?
It allows each task to have a specific role for accessing AWS resources.
What are the supported load balancers for Amazon ECS?
Application Load Balancer, Network Load Balancer, and Classic Load Balancer (not recommended).
What is Amazon EFS?
A fully managed, elastic file system that can be mounted onto ECS tasks for persistent storage.
What is Amazon EKS?
A managed Kubernetes service on AWS for deploying, managing, and scaling containerized applications.
What is Kubernetes?
An open-source system for automating deployment, scaling, and management of containerized applications.
What are the node types in Amazon EKS?
Managed Node Groups, Self-Managed Nodes, and Fargate.
What is a StorageClass in Amazon EKS?
It defines how data volumes are provisioned for your pods in a Kubernetes cluster.
What is the benefit of using Managed Node Groups in Amazon EKS?
EKS creates and manages the worker nodes for you.
Why would you choose EKS over ECS?
If you need the flexibility and portability of Kubernetes or have existing Kubernetes deployments.
What is a key benefit of containerization?
Provides consistency across different environments, from development to production.
What is the purpose of a Dockerfile?
A text document that contains all the commands a user could call on the command line to assemble an image.
What is a key benefit of Docker containers?
They can run on any OS without compatibility issues.
Name two use cases for Docker.
Microservices architecture and lift-and-shift applications to the cloud.