Amazon Simple Storage Service (Amazon S3) is an object storage service by AWS that can be used to store all kind of data, files, and objects. While S3 is majorly used to store data and files, you can also store/host applications. The typical way to host a website in S3 is hosting static websites. Key benefits of hosting static websites in S3 includes high performance and scalability, cost effective, built-in security, compliance, and audit capabilities, integrated access controls, and analytics. And the best part is, it just takes minutes to setup, deploy, and launch your website in S3.
When you build a static Unity web app or game that is built to be run in a browser, you can use Amazon S3. This step by step tutorial explains how to configure a S3 bucket, upload files, and host a static website in S3.
Please follow the following steps.
Step 1. Create a S3 bucket
Login to your AWS account and go to AWS Management Console.
- Navigate to S3 in the AWS Console
Find S3 by typing S3 in the services text box and select S3, Scalable Storage in the Cloud.

- Create new bucket
Click on Create bucket and enter a bucket name. Name does not have capital letters. I give my bucket name, “cscbucket”.

Note
A bucket name has to be a unique name. If there is previously bucket in AWS, you will get an error message.
Select a Region. I keep my Region as US East.

Click Next.
This screen is for bucket properties. Set all properties as required by your policies. For simplicity, I keep the default settings.

Click Next.
On this screen, we can block or allow all public access. We will use Permissions. So leave this default as well. We will come back here later.

Click Next.
On next screen, you will see selections options etc.

Click Create bucket to create the bucket.
You will notice “cscbucket” bucket in the bucket list.

Step 2. Upload Files to a S3 bucket
Now, the next step is to upload our production build project that needs to be deployed in AWS.
Click on the bucket name.
On this screen, we can upload files/objects and set their properties.

Upload all the files to bucket using drag and drop or using the Add Files button.

Easiest way is to drag and drop all files including folders to the screen.

Click Upload button to upload files.
You will see some error message if there are any problems with the file upload.
In my case, I see files have been uploaded.










Join the conversation! Your thoughts help the community grow.