How to migrate an existing web application from Heroku to AWS

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

2

1 Answer

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/

  • ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobXJqYmp9doKOoaawZaSkeq61xquYrZ1dlrtusdeiqq2hnpx6uLHBZpipqJyesKLAyKilZp6ipLputMSrpqStXam8bq3WrA%3D%3D