

Each file uploaded as public is not only accessible using s3cmd but also has a HTTP address, URL, that can be used just like any other URL and accessed for instance by web browsers.

Note about ACL (Access control lists) - a file uploaded to Amazon S3 bucket can either be private, that is readable only by you, possessor of the access and secret keys, or public, readable by anyone. ~$ s3cmd put addressbook.xml s3://-test/addrbook.xmlįile 'addressbook.xml' stored as s3://-test/addrbook.xml (123456 bytes) Now you should see your freshly created bucket My e-mail domain name () leading to a bucket name, Or "asdf" are already taken and you must make up something Make a bucket with s3cmd mb s3://my-new-bucket-nameĪs mentioned above bucket names must be unique amongst There are pros and cons for each and you are free to select either, or, both or none.Īs you have just started using S3 there are no buckets owned by you as of now. While GPG encryption is protects your data against reading while they are stored in Amazon S3, HTTPS protects them only while they're being uploaded to Amazon S3 (or downloaded from).

Please note: - both the above mentioned forms of encryption are independent on each other and serve a different purpose. HTTPS is an encrypted version of HTTP, protecting your data against eavesdroppers while they're in transit to and from Amazon S3. Using GPG encryption will protect your data against reading by Amazon staff or anyone who may get access to your them while they're stored at Amazon S3.Īnother option to decide about is whether to use HTTPS or HTTP transport for communication with Amazon. You can optionally enter a GPG encryption key that will be used for encrypting your files before sending them to Amazon. Be careful when copying them! They are case sensitive and must be entered accurately or you'll keep getting errors about invalid signatures or similar.

You will be asked for the two keys - copy and paste them from your confirmation email or from your Amazon account page. At the end you should posses your Access and Secret Keys. You will have to supply your Credit Card details in order to allow Amazon charge you for S3 usage. Go to Amazon S3 homepage, click on the "Sign up for web service" button in the right column and work through the registration. Check out our S3cmd S3 sync how-to for more details. The most popular feature is the S3 sync command. The following example demonstrates just the the basic features.
