This project provides an example infrastructure as code (IaC) setup using Terraform, Docker, and Kubernetes to deploy a full-stack application. The Terraform code was forked from hashicorp/learn-terraform-provision-eks-cluster and updated to meet my Requirements.
- Java
- Node.js
- Angular
- Terraform
- Docker
- Kubernetes
The project is organized into the following directories:
backend/
: contains the backend code for the application.frontend/
: contains the frontend code for the application.k8s/
: contains the Kubernetes configuration files.state/
: contains the Terraform state files.terraform/
: contains the Terraform configuration files.
To get started with this project, follow these steps:
- Clone the repository to your local machine.
- Navigate to the
terraform/
directory. - Run
terraform init
to initialize the Terraform modules. - Run
terraform apply
to deploy the infrastructure. - Navigate to the
k8s/
directory. - Run
kubectl apply -f .
to deploy the Kubernetes resources.
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them to your branch.
- Push your branch to your forked repository.
- Create a new pull request from your branch to the original repository.
This project is licensed under the MIT License. See the LICENSE
file for details.