faasd/docs/bootstrap
Alex Ellis (OpenFaaS Ltd) 8159fb88b7 Update faasd version to 0.9.9
This version contains several fixes and should be used for
new users.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2020-12-07 14:21:47 +00:00
..
2020-08-13 16:18:28 +01:00
2020-12-07 14:21:47 +00:00
2020-05-27 12:00:06 +01:00
2020-05-27 12:00:06 +01:00

Bootstrap faasd on Digitalocean

  1. Sign up to DigitalOcean
  2. Download Terraform
  3. Clone this gist using the URL from the address bar
  4. Run terraform init
  5. Run terraform apply -var="do_token=$(cat $HOME/digitalocean-access-token)"
  6. View the output for the login command and gateway URL i.e.
gateway_url = http://178.128.39.201:8080/
login_cmd = faas-cli login -g http://178.128.39.201:8080/ -p rvIU49CEcFcHmqxj
password = rvIU49CEcFcHmqxj

Note that the user-data may take a couple of minutes to come up since it will be pulling in various components and preparing the machine.

A single host with 1GB of RAM will be deployed for you, to remove at a later date simply use terraform destroy.

If required, you can remove the VM via terraform destroy -var="do_token=$(cat $HOME/digitalocean-access-token)"