Project

General

Profile

action #118660

Updated by okurz almost 2 years ago

## Motivation 
 We investigated the general feasibility of running an OSD clone in cloud in #88341 and #100581 is about documenting a setup for workers. Using Terraform would give us a more efficient, generic way to setup OSD (in several ways depending on backends) without relying on clicking around in e.g. AWS web interfaces. 

 ## Acceptance criteria 
 * **AC1:** A main.tf exists that allows setup of OSD in the cloud 
 * **AC2:** One or multiple workers are setup 

 ## Suggestions 
 * Look at https://learn.hashicorp.com/terraform 
 * Read https://www.terraform.io/docs 
 * See e.g. Docker setup of Terraform https://learn.hashicorp.com/tutorials/terraform/docker-build?in=terraform/docker-get-started 
 * Look for training videos at O'Reilly 
 * Use the terraform recipes from https://github.com/os-autoinst/openQA/pull/4880 to setup your own instance with terraform to see how openQA bootstrap would be called 
 * Create a script or documentation how from that one would setup a single or multiple workers connecting to another instance 

 ## Out of scope 
 * It is ok if the terraform recipes provide a good baseline for most of the work and the rest is done manually or with quick temporary changes to the terraform recipes as desired. So not 100% needs to be automated. If you e.g. use the AWS webUI to bring in final touches yourself but have that noted down that is completely fine

Back