5 ms·
I, a single developer, have an automatic CI/CD pipeline running from Github to ECR/ECS that deploys multiple high-availability services to serverless Fargate ta
by kareemsabri 5y ago
I, a single developer, have an automatic CI/CD pipeline running from Github to ECR/ECS that deploys multiple high-availability services to serverless Fargate tasks with no downtime, as well as numerous executables running on cron jobs that pull the latest container and each run their own command on a separate instance of a serverless task. These are all automatically torn down when they complete, and I'm billed for the seconds or minutes they take to execute. Total bill is about $50/month.
I set this all up with Terraform, and never touch the AWS UI. The code is 99.9% ignorant of the fact that it runs on AWS.
I used to self host, and then used Media Temple, and then used DigitalOcean. Maybe I'm ignorant of the latest offerings from those providers but creating, let alone maintaining, something like the above without a cloud provider like AWS or GCP would be a significant overhead.
The downsides the author points out are unpredictable costs (this is a risk, but manageable) and vendor lock in (this is low if you know how to code your services using abstract interfaces that hide the underlying vendors).
- deleted 5y ago[deleted]