The Artima Developer Community
Sponsored Link

Python Buzz Forum
Amazon EC2: I'm in!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
Amazon EC2: I'm in! Posted: Sep 25, 2006 10:51 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: Amazon EC2: I'm in!
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

My EC2 account was approved today. Just having a quick play with the 'getting started' image. Observations:

- it's running under Xen, using kernel 2.6.16.

- single 2405.448 MHz CPU ("AMD Opteron(tm) Processor 250", 4812.03 BogoMIPS) per box, 1740944 kB (= 1700.14 MB = 1.66 GB) RAM

- single SCSI (SATA?) hard disk with two ext3 partitions and one swap partition: sda1 (/, 9.84 GB), sda2 (/mnt, 146.8 GB), and sda3 (swap, 896.0 MB).

- hdparm -t and hdparm -T results:

/dev/sda2: Timing buffered disk reads: 160 MB in 3.03 seconds = 52.88 MB/sec

/dev/sda2: Timing cached reads: 1692 MB in 2.00 seconds = 845.32 MB/sec

Installing PeopleAggregator

It looks like the 'getting started' image has Apache but no MySQL. There's an FC4 image that has both, though, so I'll try that out.

ec2-run-instances ami-69ae4b00 -k gsg-keypair

ec2-describe-instances

(repeat until it tells you the instance is alive)

ssh -i id_rsa-gsg-keypair root@hostname

rpm -import /usr/share/rhn/RPM-GPG-KEY

yum install subversion ImageMagick php-gd php-mysql php-xml

apachectl restart

cd /var/www

rm -rf html

svn checkout http://update.peopleaggregator.org/svn/release/pa .

ln -s web html

chmod a+w /var/www/web/config /var/www/log /var/www/networks /var/www/web/cache /var/www/web/files /var/www/web/sb-files

Now browse to http://hostname and follow the prompts, and finally:

mv /var/www/web/config/local_config.php /var/www/

Now click on 'click here', and it should be going!

For the next few hours (until I terminate the test instance) you'll be able to see my test install at http://domu-12-31-33-00-01-5e.usma1.compute.amazonaws.com/.

Comment

Read: Amazon EC2: I'm in!

Topic: Thinking about The Switch: Nuxeo's move to J2EE Previous Topic   Next Topic Topic: Look and Say Numbers

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use