Skip to content

Instantly share code, notes, and snippets.

@pjkelly
Created September 3, 2014 18:15
Show Gist options
  • Save pjkelly/be2cd3881e766620a411 to your computer and use it in GitHub Desktop.
Save pjkelly/be2cd3881e766620a411 to your computer and use it in GitHub Desktop.
Setting up an Amazon S3 bucket to share files.

Setting up an Amazon S3 bucket to share files

  1. Sign into your AWS console: https://console.aws.amazon.com/console/home
  2. Click on “S3”.
  3. Click “Create Bucket” and enter a Bucket Name using only alphanumeric characters and no spaces. We recommend prefixing it with your organization’s name, so something like “myorganization-downloads” works well. No other customization is necessary, so then click “Create” to complete the creation process.
  4. Choose the bucket you just created from the list of buckets to navigate into it.
  5. Once inside the folder, click “Upload” and upload all the files you want there.
  6. After your files are done uploading, select them by clicking the square to their left and then choose “Actions” -> “Make Public”. This will make the files publicly accessible.
  7. To get the public URL of a file, select the file and then click the Properties tab (in the top right of the window). The Link attribute contains the publicly accessible URL of the file.

Some other notes:

  • After you’ve created a bucket, it’s only necessary to repeat steps 4-7 to upload additional files.
  • If you are uploading a lot of files, you can organize them into folders in your bucket. There a “Create Folder” button next to the “Upload” button.
  • It is possible to make files public when you are uploading them by clicking through the detail screens of the upload dialog. If you’re uploading a large quantity of files, this can save you some time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment