start | find | index | login or register | edit
ec2-notes
by earl, 6121 days ago
- http://docs.amazonwebservices.com/AmazonEC2/gsg/2006-06-26/

building debian/ubuntu ami for ec2:
- amazon elastic computing walkthrough
- build a self bundling debian image on amazon ec2
- setting up debian sarge on amazon's ec2

chris wenzel's s3/ec2 notes:
- http://www.manamplified.org/archives/2008/03/notes-on-using-ec2-s3.html

basic facts (as of 2006-11-07, 2007-01-10):
- xen virtualized
- 32-bit host system running gnu/linux kernel 2.6.16
- guest system reports amd opteron 250 2.4ghz cpu
- guest system reports 1.74gb memory
- guest system has 160gb direct attached storage
- fedora core 4 images provided by amazon

- # hdparm -tT /dev/sda{1,2}:
  /dev/sda1:
Timing cached reads: 1632 MB in 2.00 seconds = 815.40 MB/sec
Timing buffered disk reads: 476 MB in 3.01 seconds = 158.39 MB/sec

/dev/sda2:
Timing cached reads: 1612 MB in 2.00 seconds = 805.61 MB/sec
Timing buffered disk reads: 108 MB in 3.02 seconds = 35.77 MB/sec

running instances (using the shortcut commands):
$ ec2dim
$ ec2run -k ssh-key ami-id
$ ec2din
$ ec2auth default -p 22
$ ssh -i key root@host
$ ec2kill instance-id


don't forget to fix the ec2-ami-tools' makedev stuff before trying to bundle a debian volume: in /usr/lib/site_ruby/aes/amiutil/image.rb add:
    # Debian specific MAKEDEV fixes
Dir.mkdir( dev_dir + '/pts' )
Dir.mkdir( dev_dir + '/shm' )
exec("cd #{dev_dir} && /sbin/MAKEDEV console")
exec("cd #{dev_dir} && /sbin/MAKEDEV std")
exec("cd #{dev_dir} && /sbin/MAKEDEV generic")
powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 8692 days • c'est un vanilla site