Skip to content

AnoopHegde/restful-app-infra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restful-app Infrastructure

Overview Architecture

overview

Explain in details

The above image is an overview of the infrastructure. I'll split into three main parts:

  • Networking
  • RDB
  • Server App

Networking

networking

This is the place for configuring:

  • VPC.
  • Public / Private subnets.
  • Internet / NAT gateway.

RDB

rdb

This is for the database, I'll use the aurora-postgresql of AWS for the database on the cloud environment.

Server App

server-app

This part includes:

  • Load balancer
  • EKS
  • ECR

How to execute

Before continuing make sure that your PC has installed the terraform CLI.

The project has two main folders:

  • modules: the base config of the resources.
  • environments: for customizing resources base on the environments (staging, production).

For example for staging environment.

  1. Go to inside the staging folder
cd ./environments/staging/
  1. Init the app:
terraform init
  1. Plan the changes:
terraform plan
  1. Apply the changes:
terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HCL 100.0%