ecs in action
TRANSCRIPT
![Page 1: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/1.jpg)
ECS in action! ainoya
![Page 2: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/2.jpg)
"ainoya
#naokiainoya
![Page 3: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/3.jpg)
![Page 4: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/4.jpg)
![Page 5: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/5.jpg)
Client App iOS/Android
Server API Scala / Play framework
Infrastructure docker on AWS
![Page 6: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/6.jpg)
Docker
![Page 7: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/7.jpg)
Modern Ecosystem
![Page 8: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/8.jpg)
![Page 9: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/9.jpg)
How are your docker containers deployed to AWS ?
![Page 10: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/10.jpg)
Elastic beanstalk made easy
![Page 11: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/11.jpg)
But you want to run multiple containers in a single instance?
![Page 12: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/12.jpg)
How is the best way to do that in AWS?
![Page 13: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/13.jpg)
In case:
![Page 14: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/14.jpg)
1. fleet
![Page 15: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/15.jpg)
CoreOS Clusterfleet
Docker ContainerRunning Containers via Systemd
![Page 16: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/16.jpg)
![Page 17: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/17.jpg)
2. kubernetes
![Page 18: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/18.jpg)
![Page 19: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/19.jpg)
![Page 20: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/20.jpg)
![Page 21: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/21.jpg)
3. Elastic Container Service
![Page 22: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/22.jpg)
✓ Good Web console ✓ Auto recovery ✓ Rolling upgrade
![Page 23: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/23.jpg)
Service
Task definition
Task definition
Task definition
![Page 24: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/24.jpg)
ECS cluster Auto Scaling Group
ECS agentContainer C
Container AContainer B
Dock
er
daem
onCustomised AMI
ECS agent
Container AContainer B
Dock
er
daem
on
Customised AMI
Container C
ECS API
ELB API
![Page 25: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/25.jpg)
Persistence Layer is outside of containers
![Page 26: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/26.jpg)
![Page 27: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/27.jpg)
ECS, is what we needed
![Page 28: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/28.jpg)
Feature requests
![Page 29: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/29.jpg)
Task definition
![Page 30: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/30.jpg)
Like global service of Fleet
![Page 31: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/31.jpg)
For Logging Monitoring
![Page 32: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/32.jpg)
ECS cluster
ECS agent
Container A
Dock
er
daem
onCustomised AMI
ECS agent
Container A
Dock
er
daem
on
Customised AMI
![Page 33: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/33.jpg)
More focus on real operation
![Page 34: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/34.jpg)
Like operating the ecosystem..
![Page 35: ECS in action](https://reader033.vdocuments.net/reader033/viewer/2022050809/55d0694dbb61eb387e8b4650/html5/thumbnails/35.jpg)
And we are hiring :-)