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 applicationmongo.toml
- This repo includes auser.toml
file for overriding the default configuration of mongodbcore/haproxy
= This repo uses thecore/haproxy
package as a loadbalancer in front of National Parks- Scaling - In both the
terrform/azure
andterraform/aws
plans there is acount
variable which allows you to scale out the web instances to demonstrate the concept of choreography vs orchestration in Habitat.
In order run this repo, you must first install Habitat. You can find setup docs on the Habitat Website.
- Building national parks and running locally in the studio (start here)
- Habitat via containers on Azure Kubernetes Service
- Habitat via containers on Google Kubernetes Engine
- Habitat + Terraform - Running natively on VMs
- Continued local testing with Habitat + Docker Compose
This repository contains Terraform code that is now written to Terraform 0.12.x specs. It is HIGHLY recommended to use tfswitch if you are not already using it. This repo contains .tfswitchrc files that will automatically enable the right version of terraform, assuming you have that functionality set up in your terminal emulator. See the end of the tfswitch homepage under the heading Use .tfswitchrc file
for more information.