[AWS SAA-C02 Study Note] Container & Kubernetes
Elastic Beanstalk
Like Heroku
Intro
Quick Deploy and manage web-apps on AWS without worrying about infrastructure
The Heroku of AWS. Choose a platform, upload your code and it runs with little worry for developers about infrastructure knowledge.
Not recommended for “Production” applications.
Elastic Beanstalk Cheat Sheet
EKS
Amazon Elastic Kubernetes Service (Amazon EKS)
Kubernetes Architecture
master node
etcd
worker node
Amazon EKS Architecture
ECS
Elastic Container Service (ECS)
- managed service to run Containers (Docker)
- serverless (with Fargate) and managed (with EC2) options
- supports auto scaling to handle variable volume
- cost-effective
- great for ad-hoc jobs or full scale service
Workflow
can assign task on specific ECS cluster
ECR
EC2 Container Registry
- fully managed docker container registry
- store, manage and deploy container images
- integrated with amazon ECS
- encrypted, redundant and highly-available
- granular security permissions with AWS IAM
ECS
runs and manages docker-enabled applications across a logical group of EC2 instances
ECS Cluster
- logical group of EC2 instances that you can place containers onto
- can utilize on-demand, spot or reserved EC2 instances
- can include different EC2 instance types region-specific
- EC2 instances are liked in a virtual private cloud (VPC)
ECS Agent
- manages the state of containers on a single EC2 instance
- how ECS communicates with the docker daemon on the EC2 instance
- must be on every EC2 instance in your ECS cluster
- included with the ECS-Optimized Amazon Machine Image (AMI)