Hosting Portfolio on AWS S3
Tags: aws
Published: 2023-11-25 14:16:18

## Simple Storage Service (S3)

Amazon Simple Storage Service (AWS S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. Customers of all sizes and industries can use Amazon S3 to store and protect any amount of data for a range of use cases, such as data lakes, websites, mobile applications, backup and restore, archive, enterprise applications, IoT devices, and big data analytics. Amazon S3 provides management features so that you can optimize, organize, and configure access to your data to meet your specific business, organizational, and compliance requirements.

**Steps**

Navigate to the AWS Management Console, locate the search bar, type ‘**S3**,’ and click on it.

![](https://cdn-images-1.medium.com/max/NaN/1*oMnydNR95NJ0uJooZIno8g.png)

Inside the S3 Dashboard, you’ll find a list of buckets. Ready to add a new one? Just hit ‘**Create Bucket**’.

![](https://cdn-images-1.medium.com/max/NaN/1*MEUvrGEUY-jApRboauxqaA.png)

Ensure a distinctive bucket name for successful creation. Don’t forget to choose the region as ap-south-1 (Mumbai).

![](https://cdn-images-1.medium.com/max/NaN/1*7x_EuyxrfkVc-0_uQn4H3Q.png)

Enable ACLs for added security, and in the Object Ownership section, choose ‘**Object Writer**’ for the desired control.

![](https://cdn-images-1.medium.com/max/NaN/1*NX4ov0RJY5A4NbOd8rNusQ.png)

Ensure public access for the bucket by unchecking the necessary settings.

![](https://cdn-images-1.medium.com/max/NaN/1*3RP_0GUz1Wy8lQEs407Byg.png)

Enable Bucket Versioning to keep track of various versions of objects within the bucket.

![](https://cdn-images-1.medium.com/max/NaN/1*0eQONE5m0XyM-a14MpTW_w.png)

Add tags for organization. Specify ‘**Name**’ as the key and ‘**Portfolio**’ as the value.

![](https://cdn-images-1.medium.com/max/NaN/1*V2QrEavHLI6tN_-IxJdKmA.png)

Opt for server-side encryption with Amazon S3-managed keys and enable the bucket key. Once set, click ‘**Create Bucket**’ to finalize.

![](https://cdn-images-1.medium.com/max/NaN/1*N2q5DexcbTbkQd0sIxQXNg.png)

Explore the list of objects and upload new ones by clicking on the ‘**Upload**’ button.

![](https://cdn-images-1.medium.com/max/NaN/1*Si0QYWbNpGYpL8dzJQ-bMw.png)

To upload to a specific folder, click ‘**Add Folder’**.

![](https://cdn-images-1.medium.com/max/NaN/1*iJQteMydwYAhTiihj_52vw.png)

Choose the ‘**Portfolio**’ folder and hit ‘**Upload**’. Your files are ready for download [here](https://github.com/SUBBARAMIREDDY-K/Portfolio).

![](https://cdn-images-1.medium.com/max/NaN/1*xUYAfpUSPwtjR0Pay9Op9w.png)

It will load all the files into the bucket.

![](https://cdn-images-1.medium.com/max/NaN/1*8xShn6zZXQFwDEAwFW0HDA.png)

Check the destination path and click on ‘Permissions’ to define access permissions for the objects.

![](https://cdn-images-1.medium.com/max/NaN/1*_cyde9G5949K20XAu7A8Ag.png)

In the Access Control List (ACL), choose from predefined ACLs and grant public-read access.

![](https://cdn-images-1.medium.com/max/NaN/1*8STgZK2iqnsIU_urk4gf0A.png)

Once you’ve set the permissions for the objects, click ‘**Upload**’ to complete the process.

![](https://cdn-images-1.medium.com/max/NaN/1*D6m2gSajq9qH0g46cy6pvA.png)

You can check the status of the uploaded files in the bucket.

![](https://cdn-images-1.medium.com/max/NaN/1*5Jf6mE8KyAIsWTFCR2EAHw.png)

You’ll find the list of uploaded objects here.

![](https://cdn-images-1.medium.com/max/NaN/1*OSzEpHBXEwsu1pGfApXFVA.png)

Choose the object and click on ‘**Properties**’.

![](https://cdn-images-1.medium.com/max/NaN/1*J4gKx_yKvjBPyAfMltcZXQ.png)

Look for ‘**Static Website Hosting**’ and click on ‘**Edit**’.

![](https://cdn-images-1.medium.com/max/NaN/1*yIV1-w03RquqR0T2YIsYKA.png)

Enable static website hosting, select ‘**Host a static website**’ as the hosting type, and specify ‘**index.html**’ as the index document. For error handling, set ‘**error.html**’ as the Error document.

![](https://cdn-images-1.medium.com/max/NaN/1*l7U1Id8IDdNWCecSd8-EuA.png)

Find the static website hosting section with the bucket website endpoint and click on it.

![](https://cdn-images-1.medium.com/max/NaN/1*IaxOfj870bZZOySBgtskQg.png)

Append the endpoint with /Portfolio/. It will automatically redirect to the index.html page.

![](https://cdn-images-1.medium.com/max/NaN/1*hP3MOFtyYBp2i74eVvHJsQ.png)

Thanks for reading! I hope you found this helpful and informative.

I’m always happy to connect with fellow tech enthusiasts and answer any questions you may have. Don’t forget to follow me for more updates on tech, programming, and more.😄😄

Follow me on LinkedIn to see interesting posts like this : ) [Linkedin](https://www.linkedin.com/in/subbaramireddy/)