Automate Deployment with Terraform User Data | Docker + GitHub Actions | Flight Booking App | Day 21

Опубликовано: 02 Август 2026
на канале: Nehemiah Kamolu
265
10

In Day 21 of the Flight Booking Backend series, we take automation to the next level — using Terraform User Data scripts to install and configure everything our app needs on AWS. 🚀

This shell script runs automatically when GitHub Actions applies Terraform, handling:
• Installing Docker & Docker Compose
• Cloning our GitHub repo
• Setting environment variables for production
• Running the FastAPI backend project in containers

By the end of this session, you’ll know how to:
✅ Automate server setup end-to-end with Terraform
✅ Provision infra + deploy app in one GitHub Action
✅ Scale deployments for backend, frontend, and future AI services

We’re building this Flight Booking App end-to-end:
✅ FastAPI backend
🌐 Next.js frontend
🧪 DevOps & CI/CD with Terraform + GitHub Actions
🤖 AI integrations coming soon

📌 Full playlist:
👉    • FastAPI & Next.js project: Flight Booking ...  

📂 GitHub Repo (Public Mirror):
👉 https://github.com/KNehe/aero_bound_v...

🔥 Subscribe to learn DevOps, FastAPI, Next.js & AI integrations live.