Amazon S3 – How To Create Buckets, Upload Data, Set Permissions
Amazon S3 Video Series
In the first video of this series, we saw how to set up an Amazon S3 account.
this video we learn how to create buckets, upload data and set permissions to make our selected files public.
Once you have logged into your S3 account, you’ll find a sidebar on your left and at the very top is a “create bucket” button.
When you click the button, it will open a dialog box in the middle of your screen and offer you options.
One option is to pick a name.
Now when you pick a name, you’ll have to pick something unique to Amazon S3. All names are checked against the entire S3 database for duplication. That means if someone else has used the file name you will have to come up with something else.
S3 will suggest you use a company name as a prefix or something unique to you or your company as you search for a bucket name.
Once you have a bucket name, the ne In xt thing is to select a “region” that corresponds to your own geographic location or that closely matches the area from which you will be doing most of your business.
This has to do with where the data will be stored and where it will be served to maximize speed and minimize load times.
When you have a name and region picked out, click the “create” button on the lower right corner of the dialog box and your bucket is created.
To upload data to your bucket, select your bucket and then click the “upload” button on the upper left corner of the bucket menu bar.
You’ll notice the menu bar offers a list of functions:
- Create Folder
The one we are interested in now is ‘upload”
When you click upload, you will be taken to new “Upload Select Files” dialog box.
Here you want to click the “add files” button. When you do click it, it will open you computer file system and you navigate to the data you want to upload.
When you select the file you want to upload (you can shift command several files) go down to the lower right and click the “open” button.
You will see the files appear in the “Upload Select Files” dialog box.
Go down to the lower right of the “Upload Select Files” dialog box and click ‘Start Upload”
When you do, you will see new “Transfer” area appear below your “Upload Select Files” dialog box. It will display the file that is uploading and in the upper right a progress button showing how far you are into completing the task.
Once the transfer is done, your new file appears in the file area of your bucket.
When you upload data to your Amazon S3 account, all of the permission settings default to private.
That means that only the account owner has access to the data.
If you want to distribute the files for public consumption, like embedding videos or making reports available, you have to reset the permission of the file you want to make public.
To do that you have two ways to do it.
Right Click File
You select the file you want to make public, right click it and in the drop down menu select “make public”
That is the easy way.
If you want a more detailed approach, you can select the “properties” command in the drop down instead.
That will open up the “Properties” screen below the bucket where you will see an information sidebar giving all the information about your file.
On the right is a box with a menu bar with three tabs: Details, Permissions, and Meta Data.
The Details tab gives you the link you will need to serve up the file you have made public. I would not change the default settings for storage or encryption.
The Permissions tab is where you will set the file to go public. If you have already selected the “make public” command you will see a setting for “everyone” under the “grantee” box already in your data screen.
If you haven’t used the “make public” command, you can click the “add more permissions” command and open a new “grantee” command line, open the drop down, select “everyone” and check the “open/download” box only, move to the lower right and click “save” and you are done.
You now have a file that can go public.
You want to go back to the “Details” tab, copy the link and paste in your browser address bar and make sure it opens or plays if it is a video.
So there you have the basics on how to create buckets, upload data and set permissions for your Amazon S3 account.
All you have to do is take action and get going.
If you want to see how it’s done , just watch the video above and take it from there.
I hope this has been helpful.
Stay with it, stay well and talk soon.
PS. Don’t forget to “+ one “,” like” or tweet. Thanks.