Static S3 Website | S01 E04 | Build On Weekly

A simple task as any, host a static website on Amazon S3

AWS Admin
Amazon Employee
Published Mar 31, 2023
Last Modified Jun 25, 2024
Welcome to episode 4, yes 4 it's already has been a month of Build On Weekly! 🥳
Unfortunately today you only get to listen to a bald man yell into the camera, as Jacquie is away. But he (Darko), will be showing you how to some magical things with the latest amazing tool - Cloud Development Kit (CDK) for Terraform. Today is all about building the infrastructure for that static website of yours. All with the power of CDK and Terraform. 🪣
We will be posting here, on Community.aws, to share show notes, links, socials, code, and any other things mentioned during the live stream with you! 🚀
CDK Terraform

Deployed Weekly

Today, on Deployed Weekly, we will cover AWS Power Tools, again, for all of you C# fans. Terraform and CDK have something to tell you. Sharing some code for Site to Site VPN over Private IPs. A cool workshop you can take next week, and a World Championship for all of you developers, and builders out there!

Static Website with CDK for Terraform

Today we are checking out the newly released CDK (Cloud Development Kit) for Terraform. 🥳 And with it, we will be building a static website hosting system using Amazon S3 🪣
The goal is to setup an S3 bucket with all the required configurations to host a static website. This was Darko's first foray with CDK for Terraform, so cut him some slack.
What is CDK for Terraform? Well it's Cloud Development Kit for Terraform... Okay, but what does that mean? Well this means that you can write Terraform configurations in your choice of TypeScript, Python, C#, Java, or Go, and still benefit from the full ecosystem of HashiCorp Terraform providers and modules. Wonderful.
This means having the infrastructure for a static website on AWS, defined in these lines of code:
💾 Check out the rest of the code Darko has written today, as you follow along with the video: https://github.com/darko-mesaros/cdktf-s3-website

Links from the discussion

🐦 Reach out to the hosts and guests:

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.