Easily reduce by 70% your AWS Fargate bills

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

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

Serverless job scheduling using AWS Fargate

I was wondering if I could schedule simple bash scripts using AWS Fargate for some trivial batches 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 instance 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 · 1005 words · zoph