GithubHelp home page GithubHelp logo

bryan-0 / aws-terraform-scalable-web-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 20 KB

Scalable Web Infra on AWS + Terraform (EC2 - VPC - S3 - CloudFront - Route53 - RDS | DynamoDB)

Makefile 3.62% HCL 94.89% Shell 1.48%

aws-terraform-scalable-web-app's Introduction

Scalable Web App Blueprint (AWS + Terraform)

Infrastructure Design

image

Feel free to modify and adapt it to your needs, this is a purely practice project but it can be refined, enhanced and used in a production environment if needed.

Note: The private subnet part hasn't been done yet, everything else is functional!

Dependencies

  • Terraform version ~> 1.4.2
  • AWS Account
  • AWS CLI any supported version.

Deploying

Once you've cloned this repo into your local computer, you will need to:

  • Configure your AWS credentials, run aws configure.
  • Configure your environment variables with the following: (create a tfvars file e.g. dev.tfvars)
infra_region = "eu-west-1"
web_domain = "example.com"
environment = "dev"
  • Run terraform init to initialize modules.
  • Run terraform plan -var-file="dev.tfvars" or simply make tf-plan-dev to double-check if needed, also remember to check your configured region.
  • Run terraform apply -var-file="dev.tfvars" or simply make tf-apply-dev and enjoy!

Hosted web app:

image

Thank you!

aws-terraform-scalable-web-app's People

Contributors

bryan-0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.