-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deploy strfry to vultr using terraform #91
base: master
Are you sure you want to change the base?
deploy strfry to vultr using terraform #91
Conversation
terraform/vultr/README.md
Outdated
1. Edit terraform.tfvars (see terraform.tfvars.example) | ||
|
||
``` | ||
VULTR_API_KEY = "EGJGEJIGJKSDGJKSDKSDGJKLDG444JLKG" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a live key right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, but i change this to a less alarming example
@@ -28,7 +28,7 @@ Activate and Copy your Vultr API Key from the Vultr [Customer Portal Settings Pa | |||
1. Edit terraform.tfvars (see terraform.tfvars.example) | |||
|
|||
``` | |||
VULTR_API_KEY = "EGJGEJIGJKSDGJKSDKSDGJKLDG444JLKG" | |||
VULTR_API_KEY = "<insert API token here>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here
Using terraform automate deployment of strfry fronted by nginx on port 80.
This works for both freebsd and ubuntu using the docs/DEPLOYMENT.md guide. The default is freebsd
It does not complete the provisioning of DNS which would require using vultrs API and primary DNS service in order to successfully allow certbot to obtain and configure a cert for nginx.
The README.md explains some differences between freebsd and ubuntu and a couple caveats. In particular, using the github action upload to download the package onto the vm does not work without user authentication with github. Therefore a download server is require to host the raw packages or ideally the packages are pushed to a public repo.