I was thinking about the TCO (total cost of ownership) of my application, and it lead me to think about our sidekiq instances. They get used a lot, but often they are for scheduled jobs so there is no need to the sidekiq instances to be running all the time 24/7 costing money.
I guess we could schedule them to stop and start using cron or suchlike, but then I was looking into AWS Fargate.
Fargate seems to be a serverless solution, so you only pay for what you use. So I am guessing, if our Sidekiq container had no activity, then we wouldn't be charged for it (does fargate spin them up and down?).
Has anyone had any experience of this, or am I thinking about Fargate wrong?
Thanks