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!