News for hackers. Stuff that matters.
Re:Our nightmare on Amazon ECS by robbles on Friday July 08, 2016 @09:28PM (#12059654)
Did you run ECS on a custom AMI, or use the stock one?

We've been running with vanilla EB + ECS for months and haven't seen this at all.

From an outside perspective, it sounds like the primary issue you referenced here (the agent disconnecting) could have been due to a mismatch in configuration between the agent and docker, or maybe just a permissions issue. IIRC, the ECS agent tries to clean up containers every few hours so perhaps not being configured correctly caused it to get stuck?

Re:Our nightmare on Amazon ECS by tmacie on Friday July 08, 2016 @10:33PM (#12059805)
We used the stock AMI. I would not be surprised if we had a configuration issue, but we spent a lot of time trying to debug it and were never able to find the root cause of the issue.
Re:Our nightmare on Amazon ECS by velkyk on Saturday July 09, 2016 @01:49AM (#12060302)
yep, we were using Amazon ECS-Optimized Amazon Linux AMI, docker and agent should've matched there. It was strange behavior, either all agents were connected or most of them were disconnected at the same time...
Re:Our nightmare on Amazon ECS by robbles on Saturday July 09, 2016 @02:31PM (#12062638)
How did you first discover the bug? Did your deploys just start failing in an obvious way, or did your instances disappear (from ECS's perspective)?

I'm wondering if Elastic Beanstalk is hiding this from us in some way. Or maybe just has a workaround built in?

Re:Our nightmare on Amazon ECS by maslam on Saturday July 09, 2016 @02:37AM (#12060424)
Yes. This is pretty much what we saw.