|
AmazonSetup
server setup steps for new Amazon server instance
These steps mostly follow the same as the earlier documentation for the VMware .vmdk server image setup steps documented earlier at http://code.google.com/p/xenia/wiki/VMwareInstall#Setup With the differences being:
Image size limit, Elastic Block StorageBe aware that the initial server image is 6.8 Gigabytes in size, leaving a little over 2 Gigabytes of space on a maximum 10 Gigabyte Amazon image limit. Note that any changes or data gathered to the image will not persist on a reboot of the image. It should be possible if needed to take a snapshot of a changed live image using the ec2-bundle-vol command as the root user and storing the generated server image to a mounted Elastic Block Storage(EBS). The ec2 commands are under /root/tools and documented earlier here The initial image is also setup with the '/usr2' directory being the 'data' directory where the postgres database and any log or data files should be stored. The instance is configured to immediately begin aggregating data to the database when started and you will need to either:
#copy data dir recursively, preserving symbolic links and ownership cp -r -d -p /usr2 /usr3 Elastic Block Storage links see also Elastic IP http://alestic.com/2009/06/ec2-elastic-ip-internal in regards to providing a more permanent IP address to mask changing instances. |