Infrastructure as Code
Report Bug
·
Request Feature
This is a walkthrough from a clean tenant and the point is to use this as a boiler plate for several use-cases. What you will get:
- A network stack
- Bastion host where you can manage your infrastructure
- Web servers spread out over three availability zones with a Load Balancer
- Using terraform remote state to reference resources from earlier step
The repository is constructed to be used as a starting point, on an empty OpenStack tenant, with the goal to get you started using terraform. The repository is structured in 4 separated parts. Each can be followed as instructions in order, or more advanced - used individually (with awareness of configuration!)
- 00_Start_here To generate Keypair
- 01_Router_Networking_Bastion To create a router, a network with a subnet and a bastion host
- 02_Web_Servers_LBaaS To setup web-servers and a loadbalancer
- 03_Tear_down To clean up the tenant in Openstack
- OpenRC file from openstack sourced
- Terraform
- Empty tenant in openstack
In order to use this repository on an existing openstack tenant, you will have to make adjustments in example.auto.tfvars
to fit your environment of each section.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
We accept PRs for expanding and improve upon these examples
Distributed under the MIT License. See LICENSE
for more information.
Team CS - Elastx Support - support@elastx.se