Developer builds and deploys MERN app on AWS using Terraform and keyless GitHub Actions OIDC

A developer has published a detailed walkthrough on building and deploying a full-stack MERN application called 'Little List' to AWS production infrastructure. The app includes a React frontend, a Node.js/Express REST API, and MongoDB, offering features such as JWT authentication, diary logging, and a URL shortener. AWS services used include S3 for static hosting, CloudFront as a CDN, ECR for Docker images, an Application Load Balancer, and an Auto Scaling Group of EC2 instances. Infrastructure was provisioned using modular Terraform, while deployments were automated via GitHub Actions using OpenID Connect, eliminating the need to store permanent AWS credentials. The guide targets both beginners learning full-stack cloud deployment and experienced engineers interested in multi-environment Terraform design patterns.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in