Code Monkey home page Code Monkey logo

fib_tf's Introduction

FIB IaaC

Written in Terraform, this repo contains everything needed to deploy the FIB development environment in AWS. Community modules for Terraform are heavily utilized for this project.

Requirements

  • Workstation or deployment server with Terraform 1.0 or greater.
  • Registered domain name with corresponding hosted zone in Route53.

AWS resources provisioned

  • VPC with public, application, and database subnets.
  • Bastion host (t3a.medium) running Windows Server 2019.
  • Two RHEL8 EC2 instances (t3a.micro) running the FIB web app.
  • Postgres 14 server (db.t3.micro).
  • Application load balancer.
  • CloudWatch canary directed to the load balancer to monitor application health.

Deployment

  • Update main.tf and r53.tf in the 05-alb directory with your domain name and Hosted Zone ID. You can obtain the HostedZoneId from the AWS console by clicking on the Hosted Zone, then Hosted Zone Details. Alternatively you can grab the ID by running `aws route53 list-hosted-zones
  • Rename the S3 buckets that will be created in 05-alb/log-bucket.tf and 06-monitor/artifact-bucket.tf since S3 bucket names must be unique across AWS.
  • Run terraform init then terraform apply in each directory, following the numeric order.

fib_tf's People

Contributors

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