Our great sponsors
-
terraform-ecs-fargate-scheduled-task
A Terraform template used for provisioning scheduled tasks on AWS ECS Fargate
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If I want to do something more data heavy or complex, I'll sometimes instead go for Python. Having a mixture of languages is one of the big advantages of micro services. Packaging dependencies is a bit tricker for Python, for simple packages I'll usually include in my build script something to copy the relevant directories from my venv's site-packages. However one neat alternative is to use a publicly available precompiled lambda layer from Klayers. These slot neatly in one line of code into my terraform config and enable me to use popular Python packages like numpy and pandas without troubling myself about C extensions, build environment or having to mess with Amazon Linux.
There are some decent Terraform modules out there that package your Fargate either as a task or a service.
There are some decent Terraform modules out there that package your Fargate either as a task or a service.