Richard's Diary
Sunday, January 11, 2009
Amazon EBS
Every 10G is $1/month
ec2-create-volume -s 10 -z us-east-1a
VOLUME vol-a9cf2bc0 10 us-east-1a creating 2009-01-12T02:01:55+0000
ec2-describe-volumes vol-a9cf2bc0
VOLUME vol-a9cf2bc0 10 us-east-1a available 2009-01-12T02:01:55+0000
ec2-attach-volume vol-a9cf2bc0 -i i-f1cc4a98 -d /dev/sdh (this is like physically connecting device)
ATTACHMENT vol-a9cf2bc0 i-f1cc4a98 /dev/sdh attaching 2009-01-12T02:08:01+0000
yes | mkfs -t ext3 /dev/sdh (Create file system)
adduser postgres;mkdir /usr/local/pgsql/data
mount /dev/sdh /usr/local/pgsql/data/
df -h to see storage
/dev/sdh 10G 2M 10G 1% /usr/local/pgsql/data
umount /usr/local/pgsql/data/
A volume must be unmounted inside the instance before being detached
ec2-detach-volume vol-a9cf2bc0
ATTACHMENT vol-a9cf2bc0 i-f1cc4a98 /dev/sdh detaching 2009-01-12T02:08:01+0000
ec2-delete-volume vol-a9cf2bc0
VOLUME vol-a9cf2bc0
ec2-describe-volumes to confirm deleted
2009 (13)
July (1)
Fedora 11 64bit Notes
March (1)
Update
January (11)
SSH Keys with Capistrano
Nine Month Mark
More Subversion
Rails Deployment with Passenger
More AMI Bundling
AMI Bundling
Amazon EBS
Amazon S3
Amazon Hosting Setup
Amazon Web Services TC
Created Subnet With Internet Connectivity Using NA...
2008 (25)
December (12)
Networking Basics
Domain History as Revealed by Webmaster Tools
IPtables
Runlevel Service Configuration
High Availablity Followup for the Future
Recovery worked!
Restoring a PostgreSQL Backup
PostgreSQL Configuration and Backup
More PostgreSQL Notes
Negatives clarification in Adwords
First Use of Production Adwords API
Virtualization
November (12)
Input Sources
Google (Performics) Network TC
Adwords API TC
Adwords TC
Incorporating
HDTV on Laptop
PostgreSQL
Subversion
Big Sigh of Relief
Linux wireless
Backup Laptop
DNS
October (1)
Half a Year
Never Pay More Than You Have To
My History
Privacy
© 2010 Picky Ricky, Inc.
originalblog