Skip to content

Commit

Permalink
Merge pull request #148 from max-amb/Documentation
Browse files Browse the repository at this point in the history
DOC: update to add terraform_provisioning to main README
  • Loading branch information
khalford authored Jun 21, 2024
2 parents 73e63db + 1945c42 commit d34ec2b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ A Python package to bulk upload systems data to Netbox from files creating devic
A Python script to reverse the SSL certificate chain order. For example, a certificate as CA -> Root would output as Root -> CA.
[More Here](reverse_ssl_cert_chain/)

## terraform_provisioning

One terraform script to create a private network on openstack along with a router and a subnet and one to deploy a load balancing application.
[More Here](terraform_provisioning/)

## word_cloud_generator

A Python script that when run, creates a filter word cloud from the summary of tickets over a time period.
Expand Down
17 changes: 15 additions & 2 deletions terraform_provisioning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,21 @@
* This folder contains terraform scripts to manage openstack configurations
* These require a `clouds.yaml` in `~/.config/openstack/` to provide authentication

## priv_network.tf
* This terraform scripts creates a private network with a subnet domain of `10.0.0.x`
## private_network
* This terraform script creates a private network with a subnet domain of `10.0.0.x`
* It also adds a router to connect the private network to the external network
* You must provide a external_network_id to connect to router to
* The script must be run with `--var-file=vars.tfvars` to pass through the required variables

## load_balancing_application
* This terraform script creates a private network and sets up two pools along with a load balancer
* In one of the pools ssh traffic will be directed to a bastion vm to access the application vm's
* The other pool contains the application vm's which the load balancer can pick from
* A private key is created in the script and then passed into the bastion vm to provide access to the application vm's
* You must provide:
* A external_network_id to connect to router to
* A floating IP for the load balancer in order to connect to the vm's and bastion
* A image name for the bastion and web vm's
* A flavour name for the bastion and web vm's also
* A key pair to place on the bastion vm in order for you to access it
* The number of instances of the web vm to be created in order for effective load balancing

0 comments on commit d34ec2b

Please sign in to comment.