GithubHelp home page GithubHelp logo

devops-for-programmers-project-lvl3's Introduction

Hexlet tests and linter status:

Actions Status

Deployed app:

https://weryha.xyz/

Prerequisites:

  • Install Ansible > 4

  • Install Make

  • Create (if necessary) account at Terraform Cloud

  • Create (if necessary) account at Datadog

  • Login into Terraform CLI under your Terraform Cloud account

  • Get secret vault_password file and place it to ./ansible/.vault_password.

  • Call make setup to install prerequisites and initiate terraform

  • Ensure you have the following variables in your Terraform Cloud account or put them into the file with *.auto.tfvars extension:

do_token /* DigitalOcean Personal Access Token */
pvt_key /* Private ssh key location, so Terraform can use it to log in to new Droplets */
datadog_api_url /* The datadog API URL */
datadog_api_key /* The datadog API key */
datadog_app_key /* The datadog APP key */
region /* Optional. Services region to use */
datadog_query /* Optional. The monitor query to notify on */
app_port /* Optional. Port your application runs at */
db_name /* Optional. Name of the database to use */

To create infrastructure using Terraform run:

  make build-infrastructure

To deploy an app run:

  make deploy

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.