sdelamo / static-website-cloudfront-s3-route53

Project template to host a static website seamlessly with AWS using CloudFront - S3 - Route53 - Certificate Manager. Infrastructure created via CDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites

Register a Domain

For example with Hover.

Create a Hosted Zone for the domain

In the AWS Console, create a Hosted Zone for the domain

Set the NS records in your domain registrar

Obtain the NS records in the Route 53 zone and copy them in your domain registrar

Install CDK CLI

Deployment

  • Login into your AWS account with aws configure.
  • cd infra
  • If this is an AWS account where you never run CDK. Run cdk bootstrap
  • cdk deploy

About

Project template to host a static website seamlessly with AWS using CloudFront - S3 - Route53 - Certificate Manager. Infrastructure created via CDK


Languages

Language:Java 98.9%Language:HTML 1.1%