Deploying Node.js Apps on AWS: Elastic Beanstalk Or App Runner?
AWS offers over 200 services, with each of them catering to different use cases. There are at least 5 of them for deploying web applications and API services, so it can be difficult to decide which service is best suited for your use case.
I recently...
khairahscorner.hashnode.dev5 min read
Amazing post Airah! Keep it up.
Just a little addition, you can also update Beanstalk by using Codepipeline. You can connect your GitHub repository to Codepipeline and then set up the workflow to update your Beanstalk once the code is done building.
Although I would recommend ECS/Fargate over Beanstalk, if you need to do some HTTPS termination and don't want to purchase a custom domain, you can add Cloudfront in front of your Beanstalk application.
That being said, Apprunner is IMO the best way to host lightweight Node JS backend apps since the CPU is throttled when no inbound requests are detected. Be mindful however as this does not support the running of worker type of processes.
But all the same, very enlightening post Airah! Looking forward to your next one.