Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > Dashboard Users Guide > Clouds > AWS Global > S3 Browser > Actions > Upload Files to an Amazon S3 Bucket

Upload Files to an Amazon S3 Bucket

Objective

To upload files to a Simple Storage Service (S3) bucket and apply appropriate permissions.

 

Prerequisites

  • 'actor' user role privileges in the RightScale account. 
  • If you plan to use the MySQL Backup feature in the RightScale ServerTemplates, be sure to make an S3 bucket first before you use the ServerTemplates. 

Overview

After you Create an S3 Bucket, you will need to upload files and apply permissions to an S3 Bucket. 

Steps

Upload Files

  • Navigate to Clouds > AWS Global
  • Create a New Bucket or click on the bucket name text link.
  • Once in the bucket, you have a choice to add New Folders or Upload File(s).  

screen_S3Browser-Upload-Files.png

You can select Add Files... to browser for files or drag and drop files from your system into your S3 bucket.

By default, each file that is uploaded will have its permissions set as private.

A 'private' file will only be accessible to resources of the same AWS Account.  In order to retrieve a 'private' file, you will need to pass your AWS Access Key ID and AWS Secret Access Key.  (In future tutorials, where a script is run on a Server to retrieve an object in an S3 bucket, Credentials that RightScale has automatically created for your account (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY) will be used for retrieval validation purposes.) 

If you're dealing with a dump of your database, you'll probably want to keep it private, but you may want to make other objects available to the public.

Make an S3 Object Public

If you want an object to be publicly accessible, click on the item and select Edit in the window that will appear on the right.

Note: You can also bulk select the items by marking multiple items and hitting Actions and 'Set Object Permissions.'

An S3 Object Permissions can be set to the following:

  • Read - Any public user can read an object and its metadata.
  • Read ACL - Anyone with access to the account can read the object and its metadata.
  • Write ACL - Allow anyone with access to the account can create, overwrite, and delete an object.

Click Save.

screen_s3-file-permissions.png

 

You now have an S3 bucket that contains a dump of your MySQL database that will be a requirement for completing one of the MySQL Database Setups tutorials.  

Notes

  • You will not be able to delete a bucket until all of its contents have been deleted.
  • Although EBS Snapshots are technically stored in S3 as well, they are not accessible via the S3 Browser.
You must to post a comment.
Last modified
15:04, 1 Nov 2013

Tags

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.