DEV Community

Discussion on: Migrating from Heroku to AWS with kubernetes and without stopping production

Collapse
 
rohitakiwatkar profile image
Rohit Akiwatkar

Good case study!! Was just curious about auto-scaling and failover as you had mentioned in the blog.

Are you not using multi-AZ configuration? Making the database and load balancer available in multiple availability zones would be a good solution for failover protection.

Also for microservices running non-API related jobs you can use AWS Lambda. Would be a cost-effective solution.

Collapse
 
frakti profile image
Tomasz Sikora

Diagram from the blog doesn't express that, but we, of course, utilize multi-AZ in our dbs and LB.

Although we love Lambda, keep in mind we came outside AWS already having quite nicely scalable and cheap worker solution. True, it is a custom solution, but for now, there is no business value of changing that process to Lambda.

Regarding auto-scaling, based our observations and predictions of our platform utilization, we handle peaks quite well having only k8s pod auto-scaling (In normal conditions that free resource buffer is used for fast, smooth deployments, which happen quite often). For now, there is no reason for focusing on improving that part as well.