This project provides a complete enterprise-grade Terraform setup for deploying a Next.js application to AWS. It integrates and configures a development cloud architecture with a fully automated deployment pipeline using Terraform and AWS services.
A part of the next-enterprise tooling.
- Automated provisioning of AWS infrastructure
- Scalable & secure setup using:
- VPC
- Elastic Container Service (ECS)
- Elastic Container Registry (ECR)
- Application Load Balancer
- S3 + CloudFront for static assets
- AWS WAF (Web Application Firewall)
- Redis Cluster for caching
- CI/CD (GitHub Actions) ready
- Deploying the
next-enterprise
application - Deploying the Storybook
- Destroying the stack
- Deploying the
There is a separate documentation that explains functionality of the project and comprehensively describes the installation process along with visual assets.
We strongly encourage you to visit our docs page describing deployments (docs.blazity.com)
and the docs regarding the description of an AWS provider (docs.blazity.com) to learn more.
In order to make deployments possible without manual work and attention needed - we've created an Enterprise CLI
- Open the terminal of your choice
- Install the CLI
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/Blazity/enterprise-cli/main/install.sh | sh
- Make sure you're in the next-enterprise as current working directory
- Execute
enterprise prepare aws
and follow the instructions in the terminal. - Open the freshly created GitHub repository -> Actions -> Deploy Stack
next-enterprise-terraform is backed and maintained by Blazity, providing up to date security features and integrated feature updates.
- Tomasz Czechowski (tomaszczechowski) (original creator of the project) - Solutions Architect & DevOps
- Igor Klepacki (neg4n) - Open Source Software Developer
MIT