Skip to content

Terraform and CI/CD definitions for seamless deployments to the cloud for next-enterprise repositories.

Notifications You must be signed in to change notification settings

Blazity/next-enterprise-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enterprise Terraform Infrastructure for Next.js

Logo

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.

Features

  • 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

Documentation

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.

Installation

In order to make deployments possible without manual work and attention needed - we've created an Enterprise CLI

  1. Open the terminal of your choice
  2. Install the CLI
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/Blazity/enterprise-cli/main/install.sh | sh
  1. Make sure you're in the next-enterprise as current working directory
  2. Execute enterprise prepare aws and follow the instructions in the terminal.
  3. Open the freshly created GitHub repository -> Actions -> Deploy Stack

Team & maintenance

next-enterprise-terraform is backed and maintained by Blazity, providing up to date security features and integrated feature updates.

Active maintainers

  • Tomasz Czechowski (tomaszczechowski) (original creator of the project) - Solutions Architect & DevOps
  • Igor Klepacki (neg4n) - Open Source Software Developer

Architecture

Architecture

License

MIT