The Fargate Illusion

The Fargate Illusion

I’ve had my eye on AWS Fargate for some time now and it’s something that developers at $work have been gleefully pointed at as “serverless computing” – mainly because with Fargate, you can run your Docker container without having to manage the underlying nodes. I defined the succes criteria here as something close-ish to a “production ready” application, so I wanted to have the following:

I approached this whole task from an infrastructure as code mentality, and instead of following the default AWS console wizards, I used terraform to define the infrastructure. Then I compiled the task definition using the module I mentioned above:

I was pretty confused at this point – I need to define a lot of configuration here to get this running and I’ve barely even started, but it made a little sense – anything running a docker container needs to have some idea of the configuration values of the docker container.

Source: leebriggs.co.uk