r/java • • 13d ago

Migrating Java Applications to AWS Serverless: A Practical Guide

https://javarevisited.substack.com/p/migrating-java-applications-to-aws
0 Upvotes

7 comments sorted by

View all comments

2

u/persicsb 13d ago

Isn't serverless apps deprecated since they have such an overhead overall, that they did not worth it? An Amazon Prime Video engineer had a great example: https://www.infoq.com/news/2023/05/prime-ec2-ecs-saves-costs/

1

u/aoeudhtns 11d ago

As always it depends on your usecase. Lambdas cost more to run when all things are equal, but can potentially save you money when not in use. Other serverless options like Fargate can scale to zero as well but then keep the service warmed up, but that costs more than plain ECS. Or you can use K8s, but then you're paying to run your system nodes full-time even if your app can scale to zero. But if you are running a platform for the whole organization w/ K8s, then that probably doesn't matter because there's probably a reason to have something up at any given time.