Containers Flashcards
provide a standard way to package your application’s code, configurations, and dependencies into a single object
containers
plaintext file that specifies all of the components that are included in the container
dockerfiles
Are containers portable?
Yes
Parent OS used, FS layers are shared making containers
lightweight
Containers only run the application and environment that it needs
True
Provides much of the isolation virtual machines do
true
exposed to the outside world so they can be accessed
ports
can application stacks be multi-container
Yes
fully managed container orchestration service that helps you easily deploy, manage, and scale containerized applications
Amazon Elastic Container Service (Amazon ECS)
logical grouping of tasks or services used to isolate your applications
Amazon ECS cluster
application components must be configured to run in containers
true
text file that describes one or more containers that form your application in JSON format
Task Definition
instantiation of a task definition within a cluster
Task
run and maintain your desired number of tasks simultaneously in an Amazon ECS cluster
Services
defines the images and ports used
Container Definition
Configure and deploy EC2 instances in your cluster to run your containers where you manage and pay for the instances
EC2 Mode
This is a serverless pay-as-you-go option. You can run containers without needing to manage your infrastructure.
Fargate Mode
ECS cluster runs within a
VPC
Given network interfaces inside a VPC which allows the tasks to be run
Fargate Shared Inrfrastructure
Workloads that require consistently high CPU core and memory usage
EC2 Mode
Large workloads that need to be optimized for price
EC2 Mode
Used when your applications need to access persistent storage
EC2 Mode
Used when you must directly manage your infrastructure
EC2 Mode
Large workloads that need to be optimized for low overhead
Fargate Mode
Small workloads that have occasional burst
Fargate mode
Used for Tiny or Batch Workloads
Fargate mode
open-source software that allows you to deploy and manage containerized applications at scale
Kubernetes
managing a cluster of compute instances and scheduling containers to run on the cluster based on the available compute resources and the resource requirements of each container
Kubernetes
Resources, where pods are places on nodes to run
Node
Containers, smallest unit in Kubernetes often 1 container per
Pod
How something external from a cluster can access the service
Ingress
Volume whos lifecycle lives beyond any 1 pod using it
Persistent Storage (PV)
managed Kubernetes service that makes it easy for you to run Kubernetes on AWS and on-premises
Amazon Elastic Kubernetes Service (Amazon EKS)
Runs and scales the Kubernetes control plane across multiple AWS Availability Zones to ensure high availability
True
Can use EBS, EFS, FSx as storage providers
True