Skip to content

Instantly share code, notes, and snippets.

@AwsGeek
Created December 23, 2018 20:17
Show Gist options
  • Save AwsGeek/890e8d72f6a89cf647366513d5ade5a7 to your computer and use it in GitHub Desktop.
Save AwsGeek/890e8d72f6a89cf647366513d5ade5a7 to your computer and use it in GitHub Desktop.
Setting up a Static Website on S3
{
"Version":"2012-10-17",
"Statement":[{
"Sid":"PublicReadForGetBucketObjects",
"Effect":"Allow",
"Principal": "*",
"Action":["s3:GetObject"],
"Resource":["arn:aws:s3:::www.aws-today.com/*"]
}]
}
<html>
<head>
<title>AWS Today!</title>
<link href='https://fonts.googleapis.com/css?family=Yanone Kaffeesatz' rel='stylesheet'>
<style>
P { text-align: center }
H1 { text-align: center }
body { font-family: 'Yanone Kaffeesatz';font-size: 22px; }
</style>
</head>
<body>
<h1>Welcome to AWS Today!</h1>
<p>Back-to-Basics Video Series</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment