简体   繁体   中英

Multiple tasks on the same ecs service

I'm newbie on AWS, and I'm working right now with the aws ECS Service . I noticed an input that asks how much tasks I want to perform in a particular service.

I wonder what is the use of multiple similar tasks in one service . To the best of my knowledge if I want to run different tasks on the same ec2 instance I'm supposed to create a service for each of them.

So my question is when and why I should use multiple identical tasks in a particular service ?

Thanks :-)

why I should use multiple identical tasks in a particular service

For scalability and fault-tolerance . More tasks in a service can handle more load. Also if a single tasks crashes, you have several others to carry out your workload, which prevents downtime.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM