GithubHelp home page GithubHelp logo

ecogit-stage / weight-tracker-deployment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bridgecrew-perf6/weight-tracker-deployment

0.0 0.0 0.0 27 KB

Terraform-Deployment-Infrastructure-Week5

HCL 100.00%

weight-tracker-deployment's Introduction

how to run this project?

Requriments

  1. Terraform
  2. Azure account
  3. Azure CLI

Steps to run the project:

  1. Conncte your Azure CLI to your Azure accont-az login.
  2. Add secretVars.tfvar file with this content of variabls (the users names and passwords for you virtual machines.):
variable "dbuser" { default = "<userName>" }
variable "dbpass" { default = "<password>" }
variable "appuser" { default = "<userName>" }
variable "apppass" { default = "<password" }
  1. Run terraform apply (in the project directory).
  2. Now you can connect your machines through bastion in your azure portal and use the bash scripts (in the configureVMs_scripts directory) to inatall the app and the DB on them. (Make sure to configure the ENV file in the DB server with your own credentials , okta, okta ID , Password, IP of the machines etc. ).

Terraform backend on azure storage

To upload the terraform state to azure storage, you need to cancel the comment inside the "backetStateConfiguration.tf" file. And change the storage attributes names to your own.

You need to run terraform init again, to apply the backend configuration.

More details

You can read more details about this terraform module in the automated documentation: Terraform-docs

weight-tracker-deployment's People

Contributors

itaydevops 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.