Just a quick note article didn't mention: smallest Fargate instance you can get is 512mb, around 15$ per month (+ vpc costs). But, If you have a compose file, then you can fit multiple containers in a single instance.
(0.25×$0.04048+0.5×$0.004445)×24×30=$8.89