Git Product home page Git Product logo

trakk-backend-itskillscentre's Introduction

Before deploying into any account, we need to to set up backend infarstructure for tracking state file. To do so, follow the following instructions:

  • cd backend firectory
  • update the main.auto.tfars
  • Run terraform terraform initto intialize your directory and then terrfaorm plan to get the plan of the changes that terraform will
  • terraform apply will create s3 for storing state file, a second s3 for logging and dynamo db for locking state files.
  • The generated files can be commited to source control for tracking
  • Take note of the bucket and dynamo db generated,

The __001SSM folder is to deploy SSM run which installed inspector agents on all the ec2 instances. Take Note of the following before deploying the ssm, the window target is all the ec2 instances in the account. This can be changed to filter the ec2 through tag on line 18

  • cd to the _01SSM directory
  • Fill the backend.tf with values gotten from the backend_directory, the key value is the name of the file to be used in the bucket
  • Fill the auto.tfvars
  • Run terraform terraform initto intialize your directory and then terrfaorm plan to get the plan of the changes that terraform will
  • terraform apply will windows target and windows maintenace and windows task to run on the targets, cloudwatch group for the logs.

The __002inspector folder is to deploy inspector. The inspector rules is triggered using event bridge.

  • cd to the _002inspector directory
  • Fill the backend.tf with values gotten from the backend_directory, the key value is the name of the file to be used in the bucket
  • Fill the auto.tfvars
  • Run terraform terraform initto intialize your directory and then terrfaorm plan to get the plan of the changes that terraform will
  • terraform apply will deploy inspcetor and create event bridge to trigger the rules.

trakk-backend-itskillscentre's People

Contributors

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