I'm looking to deploy a django app on AWS (since I have some credit coupon) and am looking for a good place to read about it - mostly b/c I never used it before. thanks
Create a virtual environment with virtualenv and use it to install Django and its dependencies. By using a virtual environment, you can know exactly which packages your application needs, so that the required packages are installed on the Amazon EC2 instances that are running your application.
Although our Django and Flask applications use very different AWS services, we seamlessly replaced the previous infrastructure with what was needed. Next week, we’ll explore PostgreSQL, Express, React, and Node.js, and use them to create a simple application.
ALLOWED_HOSTS = [' eb-django-app-dev.elasticbeanstalk.com '] Save the file, and then deploy your application by running eb deploy. When you run eb deploy, the EB CLI bundles up the contents of your project directory and deploys it to your environment. If you are using Git with your project, see Using the EB CLI with Git .
The Django version you install must be compatible with the Python version on the Elastic Beanstalk Python configuration that you choose for deploying your application. For information about deployment, see Deploy your site with the EB CLI in this topic.
looking for a good place to read about it
Here you go
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With