Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cosmicpsyop
Copy link
Contributor

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.

1. Edit terraform.tfvars (see terraform.tfvars.example)

```
VULTR_API_KEY = "EGJGEJIGJKSDGJKSDKSDGJKLDG444JLKG"
Copy link
Owner

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?

Copy link
Contributor Author

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>"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants