DevOps Project-3

DevOps Project-3

Project Description

The project involves hosting a static website using an AWS S3 bucket. Amazon S3 is an object storage service that provides a simple web services interface to store and retrieve any amount of data. The website files will be uploaded to an S3 bucket and configured to function as a static website. The bucket will be configured with the appropriate permissions and a unique domain name, making the website publicly accessible. Overall, the project aims to leverage the benefits of AWS S3 to host and scale a static website in a cost-effective and scalable manner.

In AWS management console, Go to Amazon S3 service.

1.Create an S3 Bucket:

First, create an S3 bucket in the AWS Management Console.

No alt text provided for this image

Choose a unique bucket name and select a region that is closest to your target audience.

No alt text provided for this image

To enable public access to your S3 bucket, Set the "Block public access" settings to "Off"

No alt text provided for this image

Click on 'Create bucket'

No alt text provided for this image

Bucket is successfully created.

No alt text provided for this image


2. Upload Website Files:

Once your bucket is created, upload your website files to the bucket.

Click on 'Upload'

No alt text provided for this image

Click on 'Add files' to add website files.

No alt text provided for this image
No alt text provided for this image

Website files are uploaded to the bucket.

No alt text provided for this image


3. Configure Static Website Hosting:

Go to the "Properties" tab

No alt text provided for this image

Edit "Static Website Hosting".

No alt text provided for this image

Enable Static website hosting. Set the "Index Document" to "index.html"

No alt text provided for this image


After enabling static website hosting, you will have bucket website endpoint which your website URL.

No alt text provided for this image

4. Set Permissions:

Set the bucket permissions to allow public access to your website.

Go to the "Permissions" tab and click on "Bucket Policy".

No alt text provided for this image

Then add the following bucket policy to make your bucket publicly accessible:

No alt text provided for this image


Browse bucket website URL.

You should now be able to access your static website using the bucket's URL.

No alt text provided for this image


Thank you for reading!

To view or add a comment, sign in

More articles by Sayali Shewale

  • DevOps Project-2

    Project Description The project is about automating the deployment process of a web application using Jenkins and its…

    2 Comments
  • Day 80: DevOps Project-1

    Project Description The project aims to automate the building, testing, and deployment process of a web application…

    4 Comments
  • Day 73 - Setup Grafana on AWS EC2 Instance

    Task: Setup grafana in your local environment on AWS EC2. Go to the AWS console and Launch an EC2 instance Open port…

    2 Comments
  • Day 72 - Grafana

    What is Grafana? Grafana is an open-source data visualization and monitoring tool that allows you to query, visualize…

    3 Comments
  • Day 70 - Terraform Modules

    Modules are containers for multiple resources that are used together. A module consists of a collection of .

    2 Comments
  • Day 69 - Meta-Arguments in Terraform

    When you define a resource block in Terraform, by default, this specifies one resource that will be created. To manage…

    1 Comment
  • Day 68 - Scaling with Terraform

    Understanding Scaling Scaling is the process of adding or removing resources to match the changing demands of your…

  • Day 67: AWS S3 Bucket Creation and Management using terraform

    AWS S3 Bucket Amazon S3 (Simple Storage Service) is an object storage service that offers industry-leading scalability,…

    1 Comment
  • Day 66 - Terraform Hands-on Project - Build Your Own AWS Infrastructure with Ease using Infrastructure as Code (IaC)

    Task: 1.Create a VPC (Virtual Private Cloud) with CIDR block 10.

    3 Comments
  • Day 65 - Working with Terraform Resources

    Understanding Terraform Resources A resource in Terraform represents a component of your infrastructure, such as a…

    3 Comments

Others also viewed

Explore content categories