How to configure static website in AWS S3



Welcome back- In this video you will see "How to configure static website by using AWS S3 service"
I am sharing 2 files for checking it.One is .html and second one for allowing bucket policy to object.

File 1 - html code

<!DOCTYPE html>

<html>

<body>

<h1>Hello, TechAdda Cloudy!</h1>

<p>How are you doing?</p>

</body>

</html>


File 2- Policy code (Allow Bucket )

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




 

Comments

Popular posts from this blog

Core 5 Security Epics in AWS Cloud

Why do you need to monitor your network?

How to change Domain account logging password