Easily reduce by 70% your AWS Fargate bills

Quick post today about cost saving on AWS. As you know, two of my preferred subjects on Public Cloud are Security and FinOps! Recently, AWS introduced a way to reduce AWS bills by up to 70% using Spot instances with the AWS Fargate service. It’s really easy to use. If your workload is interruption-proof, batch jobs, or CI/CD containers, don’t hesitate to use it to drastically reduce your workload costs. Using Terraform, you just have to specify capacity_providers and/or default_capacity_provider_strategy on your aws_ecs_cluster resource. ...

February 16, 2020 · 1 min · 127 words · zoph

Serverless job scheduling using AWS Fargate

I was wondering if I could schedule simple bash scripts using AWS Fargate for some trivial batch operations. To be completely honest, it is also an excuse to learn more about AWS Fargate, and to convert a legacy bash script based on EC2 Spot instances to a container world. In this post, we will see how to schedule a bash script job once a day. To do so, we will deploy the corresponding AWS infrastructure (even if it’s serverless, yes :wink:) using Terraform. ...

September 22, 2019 · 5 min · 1006 words · zoph