Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Steps to setup Static Website using AWS S3 with Godaddy

Step 1- Create a S3 Bucket with enable all public access.

Step 2- Upload all static files using AWS console or AWS cli command line such as

$ cd www.surgeryplanet.com
$ aws s3 sync . s3://www.surgeryplanet.com

Step 3- Enable Bucket S3 Static Website Hosting

Step 4- Apply Bucket Policy to public

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PublicReadGetObject",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::www.surgeryplanet.com/*"
        }
    ]
}

Step 5- Create a S3 Bucket such as surgeryplanet.com and redirect to www.surgeryplanet.com

Step 6- Create a domain hosted zone in AWS route 53.

Step 7 – Gather NS record from Route 53 domain hosted zone.

Step 8 – Apply Route 53 given records in Godaddy Domain DNS server

Step 9 – In Route 53, Add A records with S3 Bucket of

Rajesh Kumar
Follow me