How Can I Migrate My Node App from Heroku to AWS?

0
0
Asked By CleverPotato42 On

I'm looking to migrate my full stack Node application from Heroku to AWS after experiencing some issues with Heroku's reliability. My setup is a client/server Node monorepo that doesn't really see heavy traffic, and I currently use GitHub for building and deploying to Heroku. What would be the best AWS services to use for this migration—like EC2, ECS, or something else? Additionally, how should I handle environment variables in this new setup? Any resources or guides that could help with the migration process would also be appreciated!

5 Answers

Answered By TechieNinja88 On

You might want to consider using Lightsail or sticking with EC2, and maybe look into Coolify to streamline things. If you're planning to handle increased traffic later, implementing some auto-scaling could be beneficial.

Answered By ByteShrimp33 On

If your app is already containerized, AWS offers a variety of ways to manage containers. Check out this list of 17 ways to run containers on AWS for options tailored to your needs! You also might want to explore Lambda with API Gateway for serverless architecture; there are plenty of tutorials out there.

Answered By MigrationMaestro On

Definitely consider containerizing your app. If you want reliability, go with Fargate. If you're looking to cut costs but still want something functional, EC2 might be the way to go.

Answered By QueryMaster21 On

Just a heads up, AWS had its own outage recently, so if you're thinking about moving for reliability, you might want to check alternatives as well. But Fargate seems to be a solid recommendation for migrating a Heroku app.

Answered By CloudGuru77 On

Fargate along with CodePipeline is probably your best option if you're looking for a smooth migration. It's designed for running containers and can automate a lot of the deployment process.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.