2022-05-23 11:37:13 +00:00
|
|
|
# terraformed hetzner
|
|
|
|
|
|
|
|
## preparation
|
|
|
|
|
|
|
|
* sign up for hetzner cloud
|
|
|
|
* create a project for testing
|
|
|
|
* create API token for the new project
|
|
|
|
* generate SSH key for VM access:
|
|
|
|
* `ssh-keygen -t ed25519 -C "terraform" -f ssh-terraform-hetzner -P ''`
|
|
|
|
|
2022-05-23 11:37:13 +00:00
|
|
|
## resources
|
|
|
|
|
|
|
|
* provider documentation: https://registry.terraform.io/providers/hetznercloud/hcloud/1.33.2/docs
|
|
|
|
|
|
|
|
## terraform templates
|
|
|
|
|
2022-05-24 11:37:13 +00:00
|
|
|
`single-host/` contains templates for a simple test VM
|
|
|
|
|
|
|
|
`three-web-hosts/` contains templates for three webservers behind a load balancer
|