💰 Note: This will create resources in your Joyent account for which you will be charged.
- Clone this repo, open a terminal, and change directory to the repo location.
- Download and install Terraform.
- Download and run sdc-docker-setup.sh to generate required certificates for Prometheus to connect to Triton Container Monitor.
- Copy the file
terraform.tfvars.example
toterraform.tfvars
in this directory and edit the variable values to the paths to your SSH key for your Joyent account and the paths to the certificates created in the previous setup. - Set the required environment variables
SDC_URL
,SDC_ACCOUNT
, andSDC_KEY_ID
in your terminal as described in Set Up your CLI. - Execute
terraform init
. - Execute
terraform apply
and enteryes
when prompted to make the changes. - Once the apply finishes, open the
grafana_address
value from the output in your browser. Enteradmin
as the username andadmin
as the password when prompted. - In Grafana navigate to the Triton Cloud dashboard.
⚠️ Note: This will destroy previously created resources and you will lose any associated data.
- Execute
terraform destroy
and enteryes
when prompted to make the changes.