deploy django on AWS

30 views
Skip to first unread message

Harshit Agarwal

unread,
Jun 30, 2019, 12:37:20 PM6/30/19
to django...@googlegroups.com
Hello Django users,
I want to host my django website on aws, This is first time that i am hosting a website. Can u suggest any good resource from which i can learn?

Thank you

Anirudh Jain

unread,
Jun 30, 2019, 12:52:37 PM6/30/19
to django...@googlegroups.com
You can use ubuntu+nginx+gunicorn. There are some blogs on digital ocean regarding deployment. After you launch an ec2 instance on aws and connect to it via ssh from terminal, it won't matter whether you are using aws or digital ocean.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE%2BC-X_ROpNGnGGQKt7VDE3Bb%2BL1O8q2GAY91JWfgdwA7kKZFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Joe Reitman

unread,
Jun 30, 2019, 12:55:02 PM6/30/19
to Django users
https://www.zappa.io/

It's not easy to configure but it does work well when up and running.

Malcolm MacKinnon

unread,
Jun 30, 2019, 12:58:52 PM6/30/19
to django...@googlegroups.com
I use this: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html

There's a lot more to learn, especially if you want to connect to a
database like postgres, but this is a good place to start.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAC3mK7e_yHXZqd%2BGe6%2B6O1G2yA3hGDfUbywGag7Zw-Tx_3RuAg%40mail.gmail.com.

Aldian Fazrihady

unread,
Jun 30, 2019, 8:32:49 PM6/30/19
to django...@googlegroups.com
Experimenting on AWS features is the best way to learn. You shouldn't worry about cost when you only experimenting 1-3 hours per day and immediately stop your running AWS CPU resources when you are done. 
Moreover,  if you are using a new AWS account,  you get 1 year of free access to many resources. 

My spot EC2 instance is relatively cheap that it costs me less than $5 a month. 

To use spot instances, you need to use autoscaling.  Autoscaling costs you no money. 

When you started to use managed computation resources,  such as RDS, or ElastiCache,  monthly costs are starting to become expensive. You can prevent that if you are able to manage Database and Cache on your own EC2 instances. 

Once you comfortable with those items,  you try to automate deployment by creating automation script based on git and AWS Command Line Interface. 

Regards, 

Aldian Fazrihady

--
Reply all
Reply to author
Forward
0 new messages