Static Web Hosting on AWS: Part 2 - Creating S3 Remote Backend with DynamoDB State Locking
Hands-On With Digital Den Hands-On With Digital Den
1.16K subscribers
725 views
12

 Published On Oct 30, 2023

This video guides you through setting up a Terraform remote backend on AWS. You'll create a reusable module for backend resources, configure Terraform for remote state storage, and learn the essential Terraform workflow commands.

Timeline:
00:00 - The Chicken & Egg Problem
03:09 - Creating A Remote Backend Module With Variables
29:42 - Creating Outputs
32:40 - Running Terraform Format
34:38 - Creating The Main Configuration File And Referencing The Backend Module
41:46 - Referencing Outputs
44:16 - Defining Variables
49:09 - Initializing Terraform And Deploying Backend Resources
54:32 - Configuring And Transitioning To A Remote Backend

Topics Covered:
• Creating a reusable module for AWS backend resources (IAM user, S3 bucket, DynamoDB table)
• Configuring the main Terraform file with provider and version information
• Setting up remote backend configuration in backend.tf
• Executing Terraform workflow commands (init, validate, plan, apply)

Reference Files:
• Remote Backend Reference: https://github.com/digitalden3/AWS-St...
• Main.tf Reference: https://github.com/digitalden3/AWS-St...

Next Steps:
Part 3:    • Static Web Hosting on AWS: Part 3 - C...  

#terraform #aws #remotebackend #infrastructureascode

show more

Share/Embed