Differences
This shows you the differences between two versions of the page.
— | amazon_s3 [2015/06/01 21:28] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Amazon S3 ====== | ||
+ | * [[s3cmd]] | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | |||
+ | Any data uploaded to Amazon S3 should be first encrypted using [[GPG]]. | ||
+ | |||
+ | Here's an IAM policy for a new user to upload files to an S3 bucket. | ||
+ | |||
+ | < | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | }, { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ], | ||
+ | " | ||
+ | " | ||
+ | } ] | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | === Creating a Backups Bucket === | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | This is to setup a single bucket and a single user for backups for one server. | ||
+ | |||
+ | First, create an Amazon S3 bucket. | ||
+ | |||
+ | Second, create a new IAM user. Name syntax should be: '' | ||
+ | |||
+ | Third, select the user, change the permissions, | ||
+ | |||
+ | Create a custom policy, and use the example above, renaming the bucket. | ||
+ | |||
+ | Once that's done, setup either [[backup-manager]] or [[s3cmd]] to transfer files. |