Tagged Questions
-2
votes
1answer
39 views
Setting up Django project on server to be front-facing [closed]
I'm setting up my first Django project on a server
I'm following this guide, and along the way, it tells you to python manage.py runserver, and then view the a welcome page at the loopback ip ...
0
votes
3answers
205 views
EC2 servers are slower than local machine
We have been trying to do some performance benchmarking for our webapp written using python that uses mongodb heavily and we have found the following.
We tried using 1st Gen Extra Large ec2 servers ...
1
vote
2answers
99 views
Create an Amazon EC2 instance with automatic access to private S3
I was wondering. Say I have a file in a private S3 bucket, and I then deploy an EC2 instance which has something like that in its rc.local:
GET http://privateamazons3url.com
How can I make it so ...
0
votes
1answer
69 views
EC2 and Mongo, best practices
When hosting web applications with EC2 is it best practice to use a separate EC2 instance for the database (mongo in this case) or is it ok just to keep the web server and database server on the same ...
2
votes
1answer
149 views
Dealing with upgrade of libevent on Amazon AWS
I am building an application (in Python) on Amazon EC2 that has a following dependency chain:
gevent-websocket ---> gevent ---> libevent
The last one (libevent) got upgraded on Sunday and ...
1
vote
1answer
48 views
Where to put script that backs up root EBS volume using snapshot
I have this awesome python script obtained from http://aws-musings.com/manage-ebs-snapshots-with-a-python-script/
I would like to back up the root EBS volume of my EC2 instances into EBS snapshots.
...
1
vote
1answer
101 views
ipython easy_install/pip error
gcc is complaining with the following when trying to sudo easy_install readline:
Running readline-6.2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JEUNX3/readline-6.2.4/egg-dist-tmp-_THoHR
...
5
votes
1answer
339 views
rsyslog update on Amazon Linux suddenly treats INFO level messages as EMERG
I'm having strange issue with rsyslog on some of my EC2 instances running Amazon Linux 2012.3.
Upon yum upgrading rsyslog 4.6 to 5.8.10, it seems like every INFO level log message is suddenly treated ...
5
votes
3answers
280 views
deploying Python code with Puppet
I'm trying to implement a deployment system for my web application, based on Puppet.
The application consists of several services (a couple of web servers: Django- and Tornado-based and a worker ...
0
votes
1answer
129 views
“User 'wsgi' not found” when starting uWSGI
I'm currently trying to set up a server on Amazon EC2 (Ubuntu 11.10) using web.py, nginx and uWSGI as shown here: http://blog.nobien.net/2011/08/14/nginx-uwsgi-and-web-py-and-my-new-job/
I've ...
1
vote
1answer
378 views
Using boto, is there a way to create an AMI from a snapshot ID?
There's a command in the AWS EC2 API called ec2-register or ec2reg which has an argument -s for snapshot ID. You are able to create an image from a snapshot. I'd like to be able to do this in Python ...
0
votes
1answer
276 views
Choosing the right EC2 instance size
I am running a API server on an EC2 C1.medium instance. Our API call takes around 3-5 seconds to finish (runs a python call and uses NLTK calls which are little memory consuming). We have configured ...
0
votes
1answer
184 views
EC2 or GAE for python/django app [closed]
I am currently deciding whether to use EC2 or GAE for my django app. I've done some research on both. In terms of deploying a database-driven django app with the following:
-- high on db reads / ...
1
vote
1answer
833 views
Amazon EC2 + S3 + Python + Scraping - The cheapest way of doing this?
I tapped in to Amazons AWS offerings and please explain this in high level - if I am thinking right.
So I have few Python scraping scripts on my local machine. I want to use AWS for super fast ...
0
votes
1answer
89 views
How do I create a stable Django/Python template on EC2?
My current Django template on EC2 is using a number of easy-install packages always because there is no matching yum package. Unfortunately, easy-install has a disconcertingly high failure rate. ...
0
votes
1answer
118 views
How do you separate a wsgi django/python app server from the web server?
I've built a django / python application, running on apache with wsgi, and hosted on a single amazon AWS EC2 instance.
It a custom client application, so low traffic, but one part of my application ...
1
vote
2answers
242 views
How to deploy local project to Amazon
I have a small webapp written in Python/Django which works fine on my local machine. I've been tinkering and setting up my server on the free tier of Amazon EC2 by following online tutorials. However, ...
20
votes
1answer
2k views
Python CGI on Amazon AWS EC2 micro-instance — a how-to!
How can you make an EC2 micro instance serve CGI scripts from lighthttpd? For instance Python CGI?
Well, it took half a day, but I have gotten Python cgi running on a free Amazon AWS EC2 ...
0
votes
1answer
343 views
bottle.py on EC2 micro instance causes 2 order of magnitude slowdown
Cross-posted from StackOverflow:
I wrote a little toy script to solve this type of game, and put it on my new micro EC2 instance. It works perfectly, but while it takes around 0.5 seconds to run a ...