leshik on Nostr: You can use ECS on Fargate of course. However, there are cases when it’s not the ...
You can use ECS on Fargate of course. However, there are cases when it’s not the best choice:
1. Fargate containers are slow to come up;
2. Fargate is more expensive;
3. Sometimes it throttles for no reason, seems more like AWS overselling CPUs;
4. You’re basically locked in to awsvpc network and CloudWatch logs, which is not a great thing if you want to run e.g. FluentD on each instance, and ship logs to e.g. Graylog. The same applies to monitoring tools, e.g. cAdvisor, or other Prometheus collectors that you might want to run on each EC2 ECS instance.
1. Fargate containers are slow to come up;
2. Fargate is more expensive;
3. Sometimes it throttles for no reason, seems more like AWS overselling CPUs;
4. You’re basically locked in to awsvpc network and CloudWatch logs, which is not a great thing if you want to run e.g. FluentD on each instance, and ship logs to e.g. Graylog. The same applies to monitoring tools, e.g. cAdvisor, or other Prometheus collectors that you might want to run on each EC2 ECS instance.