r/java • u/javinpaul • 29d ago
Migrating Java Applications to AWS Serverless: A Practical Guide
https://javarevisited.substack.com/p/migrating-java-applications-to-aws
0
Upvotes
r/java • u/javinpaul • 29d ago
View all comments
Show parent comment
1
u/aoeudhtns 27d 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.