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.
Inside the S3 Dashboard, you’ll find a list of buckets. Ready to add a new one? Just hit ‘Create Bucket’.
Ensure a distinctive bucket name for successful creation. Don’t forget to choose the region as ap-south-1 (Mumbai).
Enable ACLs for added security, and in the Object Ownership section, choose ‘Object Writer’ for the desired control.
Ensure public access for the bucket by unchecking the necessary settings.
Enable Bucket Versioning to keep track of various versions of objects within the bucket.
Add tags for organization. Specify ‘Name’ as the key and ‘Portfolio’ as the value.
Opt for server-side encryption with Amazon S3-managed keys and enable the bucket key. Once set, click ‘Create Bucket’ to finalize.
Explore the list of objects and upload new ones by clicking on the ‘Upload’ button.
To upload to a specific folder, click ‘Add Folder’.
Choose the ‘Portfolio’ folder and hit ‘Upload’. Your files are ready for download here.
It will load all the files into the bucket.
Check the destination path and click on ‘Permissions’ to define access permissions for the objects.
In the Access Control List (ACL), choose from predefined ACLs and grant public-read access.
Once you’ve set the permissions for the objects, click ‘Upload’ to complete the process.
You can check the status of the uploaded files in the bucket.
You’ll find the list of uploaded objects here.
Choose the object and click on ‘Properties’.
Look for ‘Static Website Hosting’ and click on ‘Edit’.
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.
Find the static website hosting section with the bucket website endpoint and click on it.
Append the endpoint with /Portfolio/. It will automatically redirect to the index.html page.
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
Top comments (0)