I am using Heroku for my django web app, but I don't want to use it anymore, but now I am looking for a way to migrate the app from Heroku to AWS elastic bean I would love to hear that please explain and i am using django defualt sqlite3 db
Asked
Active
Viewed 1,634 times
5
-
2If you're afraid you'll lose your data just back it up. Connect to it using DBeaver or some other client and back it up before starting the transfer. – lucutzu33 Sep 17 '21 at 14:29
-
@EneP I am also looking for the answer to how to migrate app from Heroku to aws if you know please write the answer – Shreyash mishra Sep 17 '21 at 16:41
1 Answers
8
There are many way to migrate to AWS, it depends on which approach you would like to go for.
You have the expertises in managing server and don't mind maintaining it; Use EC2: https://medium.com/saarthi-ai/ec2apachedjango-838e3f6014ab
You just want to deploy it and don't want to deal with server/patching and so on using Elastic BeanStalk: https://www.andrlik.org/dispatches/migrate-django-heroku-elastic-beanstalk/
Cost is very important to you, you may use AWS lightsail: https://aws.amazon.com/getting-started/hands-on/deploy-python-application/
You application is containerized, you may use AWS ECS: https://testdriven.io/blog/deploying-django-to-ecs-with-terraform/

Ahmed Ablak
- 718
- 3
- 14