Slide 1

Slide 1 text

iCARE Co.,Ltd Serverside engineer Shogo Terai (@krpk1900_dev) What is ECS, EKS, EC2 and Fargate?

Slide 2

Slide 2 text

2 iCARE Co.,Ltd Serverside engineer Shogo Terai I joined iCARE Co.,Ltd in August 2021 as a Serverside engineer. I usually develop Carely, the service of iCARE, by using Rails and GraphQL. About me

Slide 3

Slide 3 text

3 What is ECS, EKS,EC2 and Fargate?

Slide 4

Slide 4 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM 4 Two types of Container services provided by AWS &$4 &,4 &$ 'BSHBUF DPOUSPMQMBOF EBUBQMBOF BQMBDFUPNBOBHF DPOUBJOFST BQMBDFXIFSFDPOUBJOFST BDUVBMMZXPSL (changed based on https://dev.classmethod.jp/articles/cmdevio2019-container/)

Slide 5

Slide 5 text

5 8IBUGFBUVSFTEPFTFBDIIBWF

Slide 6

Slide 6 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM 6 ʲECSʳElastic Containers Service (control plane) • A service to manage containers that run in the cloud. • AWS will take care of installing the container execution environment, 
 building the deployment environment, and autoscaling on your behalf.

Slide 7

Slide 7 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM 7 ʲEKSʳElastic Kubernetes Service (control plane) • A service that makes it easy to run Kubernetes on AWS. • Compared to ECS, it is capable of more advanced operations with richer functions. • Because it is a service that enables Kubernetes to run on AWS, 
 EKS has less affinity with other AWS services than ECS. • On the other hand, it is possible to use tools that have been developed for Kubernetes.

Slide 8

Slide 8 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM 8 FYI : Kubernetes • Containers have the ability to run applications, but they do not have the ability to 
 manage them or link them with other containers. • Kubernetes solves this problem of not being able to collaborate, 
 and makes it possible to manage networks and storage in a coordinated manner.

Slide 9

Slide 9 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM Difference between choosing ECS and EKS 9 ʲECSʳ • Smooth integration with other AWS services such as IAM control, 
 monitoring, logging, and deployment. • The current first choice of AWS. 
 ʲEKSʳ • It has a high degree of freedom and allows for more advanced operations. • You can use tools developed for Kubernetes. vs

Slide 10

Slide 10 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM 10 ʲEC2ʳElastic Compute Cloud (data plane) • A service for building a virtual server in the cloud. • A server running on EC2 is called an EC2 instance. • There is a high degree of freedom in managing the OS, 
 products to be used, version, etc.

Slide 11

Slide 11 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM 11 Fargate (data plane) • A service for running containers without operational management of the instances. • While the degree of freedom is low, AWS manages much of the work, 
 so there are fewer items that need to be managed.

Slide 12

Slide 12 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM Difference between choosing EC2 and Fargate 12 ʲEC2ʳ • It needs to apply patches to OS and middleware, etc. 
 ʲFargateʳ • AWS will take care of the instance type settings, auto-scaling settings, 
 and cluster management. • Resource-optimized EC2 instances, such as GPU instances, 
 cannot be used. • the current first choice of AWS. vs

Slide 13

Slide 13 text

13 8IBUJTUIFSFTVMU

Slide 14

Slide 14 text

Copyright ©iCARE Co.,Ltd All Rights Reserved. $POGJEFOUJBM 14 The result &$4 &,4 &$ 'BSHBUF DPOUSPMQMBOF EBUBQMBOF BQMBDFUPNBOBHF DPOUBJOFST BQMBDFXIFSFDPOUBJOFST BDUVBMMZXPSL (changed based on https://dev.classmethod.jp/articles/cmdevio2019-container/)

Slide 15

Slide 15 text

15 \ We're Hiring👍 / https://herp.careers/v1/icare 👇 HERP https://note.icare-carely.co.jp/ 👇 note

Slide 16

Slide 16 text

16 We are creating healthier workers around the world.