Git Product home page Git Product logo

3-tier-app-aws-terraform's Introduction

3-tier-app-aws-terraform

Simple 3-tier app example deployed to AWS using Terraform.

Requirements

  • Terraform >= 0.11.1
  • AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables exported.

Usage

Clone this repository and run:

Initializing Terrraform remote backend:

λ ~/3-tier-app-aws-terraform/ terraform init -backend-config=terraform.remote

Terraform plan:

λ ~/3-tier-app-aws-terraform/ terraform plan

Terraform apply:

λ ~/3-tier-app-aws-terraform/ terraform apply

After the process is completed, should then be able to connect to http://EC2_INSTANCE_IP/app1 and http://EC2_INSTANCE_IP/app2 in your browser.

References

3-tier-app-aws-terraform's People

Contributors

guitmz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

3-tier-app-aws-terraform's Issues

Error related to backend state file

When running terraform init with the backend-config argument I am getting an error

Error configuring the backend "s3": No valid credential sources found for AWS Provider.
Please see https://terraform.io/docs/providers/aws/index.html for more information on
providing credentials for the AWS Provider

Please update the configuration in your Terraform files to fix this error
then run this command again.

So how do I resolve this error.

Thanks and regards,
Harish

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.