Ubuntu - Backup Amazon EC2 to S3 (Pre-requisites)

Pre-requisites on the server are Amazon S3 tools, and zipsudo apt-get install s3cmdsudo apt-get install zip unzipYou then need to configure the s3cmd to use the Access Code and Secret Key from the IAM within your AWS console. Its recommended that you set up a new user with programmatic access only for each server / project, and give the user the AmazonS3FullAccess permission.Back on the server, runsudo s3cmd --configureEnter your access key, secret keyIf, like me you are using EU-West-1 (Dublin) as your datacenter, then type in "eu-west-1" for the Default Region.Enter a password to encrypt traffic between the EC2 instance and S3 (DO NOT USE YOUR MAIN ACCOUNT PASSWORD, MAKE A NEW ONE)Path to GPG program - just press EnterUse HTTPS - YesHTTP Proxy - leave blank, just press EnterTest - Yes 

Previous
Previous

Ubuntu - How much free disk space?

Next
Next

MySQL Collation Error