Click here to Skip to main content
15,888,286 members
Articles / Programming Languages / Javascript

Use AWS CDK to deploy a S3 bucket and use Route 53 to point DNS to the bucket

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
15 Jun 2020CPOL2 min read 16K   1  
Static sites are common place, often I'll knock something up as a proof of concept and to share that with my friends I'll make a public s3 bucket and send the link, quick and easy.
In this article we will: Create a bucket in s3 with CDK, setup the bucket to allow hosting, set the default document, deploy a sample HTML file to the bucket, look up a root hosted zone, create a new DNS record in an existing zone that points to a s3 bucket.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions