background preloader

Hosting

Facebook Twitter

Mysql

Persistent Django on Amazon EC2 and EBS – The easy way : Thomas Brox Røst. Now that Amazon’s Elastic Block Store (EBS) is publicly available, running a complete Django installation on Amazon Web Services (AWS) is easier than ever. Why EBS? EBS provides persistent storage, which means that the Django database is kept safe even after the Django EC2 instances terminate. This tutorial will take you through all the necessary steps for setting up Django with a persistent PostgreSQL database on AWS. I will be assuming no prior knowledge of AWS, so those of you who have dabbled with it before might want to skim through the first steps. Knowing your way around Django is an advantage but not a requirement. I am deliberately keeping things simple—to get a deeper understanding of the hows and whys of AWS you should take a look at James Gardner’s excellent article as well as the official documentation.

The command line tools can be a bit intimidating so I will also show you how Elasticfox can be a fully satisfactory alternative. Summary Step 1: Set up an AWS account 07. 09. 11. Philip Roche » Simple Django install on Amazon EC2. I set up an amazon ec2 instance this weekend and as I knew I’d bedoing it again I noted the steps performed. Hopefully they’ll be of use to someone. Firstly you need to set up an EC2 account. I’d also recommend downloading () which makes it easier to manages instances, volumes andelastic IPs. Also install the so you can start and stop instances etc. The following guide is what I did to set up an Ubuntu 9.10 instance with EBS volume attached and a basic django install running. References to 79.125.24.49 are to my elastic IP address that I set up using Elasticfox so it will be different for you. Seting up Ubuntu 9.10 django install on EC2. Django with Mysql and Apache on EC2 — The Usware Blog - Django Web Development.

By : Shabda Raaj What is EC2 Unless you have been living on Mars these last few years, you are sure to have heard of EC2. Amazon's cloud offering, it offers infinite scalability. Using EC2, you can bring up any number of machines online at minutes notice, and after you are done with them, bring them down. How does EC2 work? A EC2 machine is nothing but a bare machine. The prerequisites You need to have an AWS account with EC2 enabled. Give ElasticFox your EC2 credentials. I started the AMI with AMI id ami-f27c999b. After you start your ami, right click in ElasticFox on your instance and get its Public DNS. My public dns was ec2-75-101-203-97.compute-1.amazonaws.com, my private key is stored in a file called id-django.

Shabda@shabda-laptop:~$ ssh -i id-django root@ec2-75-101-203-97.compute-1.amazonaws.com..........root@domU-12-31-39-02-BC-E1:~# Fine, we are in our brand new EC2 server now! Ok, so we created a new user and gave the new user shabda sudo rights. Ok we are logged in as shabda. For Domain Names, UK Web Hosting, Virtual, Cloud & Server Solutions | GlobalGold.

Welcome to Tagadab | tagadab.com. Hover - domain name and email management made simple. Setup Unmanaged VPS 4 Linux Noobs! - vpsBible. VPS Virtual Private Server Cloud | UK / USA. Website Hosting, Hosting, UK Hosting, Business Web Hosting. Hosting for an agile web - WebFaction. ModSecurity: Open Source Web Application Firewall. Complete Web Solutions: domains, hosting, site builders and SSL. App Engine - Google Code. Dedicated Server - Dedicated Server Hosting - Managed Dedicated Server by Rackspace. Web Hosting Services: All-inclusive website hosting package, Free blog and CMS, Free domain, top customer care. SiteGround - the best Web Space Hosting Provider.