|
|
|
|
|
by lukeck
2693 days ago
|
|
Apart from pricing and the potential to overcommit resources on EC2-ECS, there are a couple of other differences. One is your options for doing forensics on Fargate. AWS manage the underlying host so you give up the option of Doing host level investigations. It’s not necessarily worse as you can fill this gap in other ways. Logging is currently only via CloudWatch logs so if you want to get logs into something like Splunk you’ll have to run something that can pick up these logs. You’ll have that issue to solve if you want logs from some other AWS services like Lambda to go to the same place. The bigger issue for us is that you can’t add additional metadata to log events without building that into your application or getting tricky with log group names. On EC2 we’ve been using fluentd to add additional context to each log event like the instance it came from, the AZ, etc. Support for additional log drivers on Fargate is on the public roadmap[1][2] so there will hopefully be some more options soon. [1] Fargate Log driver support v1 https://github.com/aws/containers-roadmap/issues/9
[2] Fargate log driver support v2 https://github.com/aws/containers-roadmap/issues/10 |
|