Skip to content

dbakong/test-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Instance Web Application with Database

Introduction

This project demonstrates the deployment of a multi-instance web application with a database. The setup is divided into two parts:

  1. Part A: Single server with a small database.
  2. Part B: Scalable architecture with five servers, a medium-sized database, and a load balancer.

Setup and Deployment Steps

  • Clone the Repository:

    git clone https://github.com/dbakong/test-web-app.git
  • Create project dependencies

    make setup
  • Change to the desired directory

    cd test-web-app/part-a
    # or 
    cd test-web-app/part-b
  • Create a terraform execution plan

    make plan
  • Build AWS infrastructure:

    make apply
  • Get testing instructions

    make test

    see

Assumptions

  • You have the AWS CLI installed and configured to access an AWS account
  • The IAM role you are using has the necessary permissions to create and manage the resources specified in this project, including EC2 instances, RDS databases, and other infrastructure components.

Project Dependencies

  1. AWS CLI
  2. Terraform
  3. GNU Make

Security Considerations

  • Ensure your AWS credentials are secure.
  • Use IAM roles with the minimum required permissions.
  • Manage secrets securely, avoiding hardcoding sensitive information.

Troubleshooting

Some useful resources for troubleshooting common issues:

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Multi-Instance Web Application with Database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published