Skip to content

balkarsinghkang/national-parks-demo

 
 

Repository files navigation

Enterprise Automation Stack - National Parks - Java Tomcat Application

This is an example Java Tomcat application packaged by Habitat on VMs hardened and patched by Chef Infra and Audited by Inspec using the "Effortless" pattern. This example app has existed for some time, and another example can be found here. The differences with this example versus previous examples are the following:

  • core/mongodb - Previous examples had you build a version of mongodb that was already populated with data before the application
  • mongo.toml - This repo includes a user.toml file for overriding the default configuration of mongodb
  • core/haproxy = This repo uses the core/haproxy package as a loadbalancer in front of National Parks
  • Scaling - In both the terrform/azure and terraform/aws plans there is a count variable which allows you to scale out the web instances to demonstrate the concept of choreography vs orchestration in Habitat.

Usage

In order run this repo, you must first install Habitat. You can find setup docs on the Habitat Website.

Demo Tracks

  1. Building national parks and running locally in the studio (start here)
  2. Habitat via containers on Azure Kubernetes Service
  3. Habitat via containers on Google Kubernetes Engine
  4. Habitat + Terraform - Running natively on VMs
  5. Continued local testing with Habitat + Docker Compose

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 76.8%
  • Java 10.2%
  • HTML 7.4%
  • Shell 4.4%
  • PowerShell 1.1%
  • Smarty 0.1%