Past Meetup

AWS Container Service Introduction Part 1

This Meetup is past

160 people went

Details

We are going to conduct 3 meetup in next three month for ECS and CICD with ECS.

Introduction : What is Amazon ECS ?
Components of ECS
Elastic Container Registry
ECS Task Definition
ECS cluster
ECS Agent
ECS service
ECS monitoring matrix

Related Services
AWS Identity and Access Management
Auto Scaling
Load Balancing
AWS CloudFormation

Demo #1

Centos 7 + ECS cluster + ECR + EC2 + ALB Setup

Create IAM role and policy
AmazonEC2ContainerServiceforEC2Role
Generate Key pair for EC2
ALB in ELB
Create target group
Set rule in ALB listeners
Targets And health check
Setting up Docker master node
Disable selinux
Yum update
Install start enable docker
Pull centos 7 docker image
Build docker image from Dockerfile (code from s3)
Container start script
ECR
Create new repository
Get login
Build docker image to push
Tag docker image
Push to our repo
ECS cluster
Create empty ECS cluster
EC2 instance
Create EC2 instance
Add instance in ECS cluster using userdata script
Create Task Definition
Name
Networking
Add container
Name - Image - Limits - port mapping
Ulimits
Volume mount point
Label
Json format
Create service
Using Task definition
Cluster
Task Placement
ELB or ALB
Service ASG
Exploring ECS cluster
Services
Task