Sunday, November 14, 2010

Amazon RDS installation and configuration on ubuntu

Amazon RDS(Relational Database Service)
Prerequisite : Account on aws.amazon.com

Installation :
Step 1: Download Amazon RDS command line tool kit http://developer.amazonwebservices.com/connect/entry.jspa%3FexternalID%3D2928%26categoryID%3D294
Step 2: Unzip the files to a location, I kept in /opt/RDSCli-1.1.005
Step 3: Create a credential file in RDSCli-1.1.005 folder
#cd RDSCli-1.1.005
Create a credential file as credential-file-path.conf
Step 4: credential-file-path.conf has access key and secret access key info as,
AWSAccessKeyId=xxxxxxxxx
AWSSecretKey=xxxxxxxxxxx
Step 5: Configure ~/.bashrc as
export AWS_RDS_HOME=/opt/RDSCli-1.1.005
export AWS_CREDENTIAL_FILE=$AWS_RDS_HOME/credential-file-path.conf
export PATH=$PATH:$AWS_RDS_HOME/bin
Step 6: Execute the bashrc file as,
# source ~/.bashrc
Step 7: To see that the command line toolkit is setup correctly type $rds—help

No comments:

About Me

Friendly and humanitarian Honest and loyal Original and inventive Independent and intellectual