EBS and Flows
Tonight I am working on moving my DB storage into an EBS volume. Setting up the volume was pretty easy. Using the AWS console to create and attach the volume. Remember to use mkfs before mounting.
mkdir /data
mkfs /dev/sdf
mount /dev/sdf /data
su – postgres
/etc/init.d/postgresql stop
mv /var/lib/pgsql /data/pgsql
modified /etc/init.d/postgresql to point at new dir for PGDATA, PGLOGS
/etc/init.d/postgresql start
And everything seemed to work. This is enough work for one night. I am packing up my AMI and shutting this all down.
