Skip to content

In this project, you will deploy a static website to AWS using S3, CloudFront, and IAM.

Notifications You must be signed in to change notification settings

alemag1986/Udacity-Deploy-Static-Website-on-AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Static Website on AWS

Description

In this project, you will deploy a static website to AWS using S3, CloudFront, and IAM.

The files included are:

  • index.html - The Index document for the website.
  • /img - The background image file for the website.
  • /vendor - Bootssrap CSS framework, Font, and JavaScript libraries needed for the website to function.
  • /css - CSS files for the website.

Instructions

  1. Create S3 bucket
  • bucket name: udacity-website-amagnani
  • uncheck: block all public access
  1. Upload files and folders: index.html, img, vendor, css

  2. Add Policy

{
  "Version":"2012-10-17",
  "Statement":[
    {
      "Sid":"AddPerm",
      "Effect":"Allow",
      "Principal": "*",
      "Action":["s3:GetObject"],
      "Resource":["arn:aws:s3:::udacity-website-amagnani/*"]
    }
  ]
}
  1. Configure S3 as Host Static Website
  • entry page: index.html
  • error page: index.html
  1. Create Distribution vith CloudFront
  • select delivery method: web
  • set Origin Domain Name your S3 bucket
  • set Origin Path empty (equivalent to “/”)

Website URL

http://d2j58lat2rxk09.cloudfront.net/index.html

Captures

  • The S3 bucket is visible in the AWS Management console. capture1-s3-bucket-creation

  • All website files should be added to the S3 bucket. capture2-s3-uploadfiles

  • The S3 bucket is configured to support static website hosting. capture5-s3-static-website-host-configuration

  • The permission access to the bucket should be configured to allow public access. capture4-s3-publicaccess capture3-s3-bucketpolicy

  • CloudFront has been configured to retrieve and distribute website files. capture6-cloudfundation capture7-cloudfront-origins

  • Website publicly accessible capture8-website

About

In this project, you will deploy a static website to AWS using S3, CloudFront, and IAM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published