How to upload directory to AWS S3 Bucket

If you use the upload button in S3, you will only be able to upload files and not directories:

Image 28
Uploading files to S3 with the Upload button

However, you can simply drag and drop the folder in your web browser and it will upload all of the desired contents:

Image 36
Drag and drop folder into AWS S3 Bucket

Make sure you drag it over the list of files and directories. When you do this you will get the normal window for uploading S3:

Image 30
Initial upload to s3 window

On the next screen you need to decide whether or not you want to grant public access to the files:

Image 32
Set S3 Directory availability

Now you need to decide if the default properties will work for you or not. Most of the time I don’t need to change these settings, but your scenario could be different:

Image 33
AWS S3 Upload Properties

Click next and you will reach the review screen. Click Upload:

Image 34
AWS S3 Upload Review Page

Now you can see the upload is in progress at the bottom of the screen and the directory has been added to my S3 bucket:

Image 35
S3 Upload in Progress

And that’s it!

Blogpostctadesktop

Free trial to boost your IT skills

Practice on REAL servers, learn from our video lessons, interact with the Server Academy community!