These instructions are about installing a light version of Netdata Cloud for clients who do not have a Kubernetes cluster installed. This setup is for demonstration purposes only, as it has no built-in resiliency on failures of any kind.
To install the whole environment, log in to the designated host and run:
curl https://netdata-cloud-netdata-static-content.s3.amazonaws.com/provision.sh -o provision.sh
chmod +x provision.sh
sudo ./provision.sh install \
-key-id "" \
-access-key "" \
-onprem-license-key "" \
-onprem-license-subject "" \
-onprem-url "" \
-certificate-path "" \
-private-key-path ""
The script above is responsible for:
Prompting the user to provide:
-key-id
- AWS ECR access key ID.-access-key
- AWS ECR Access Key.-onprem-license-key
- Netdata Cloud On-Prem license key.-onprem-license-subject
- Netdata Cloud On-Prem license subject.-onprem-url
- URL for the On-prem (without http(s) protocol).-certificate-path
- path to your PEM encoded certificate.-private-key-path
- path to your PEM encoded key.Installation will begin. The script will install:
The script starts to provision the K3s cluster with gathered data.
After cluster provisioning, the PoC Cloud is ready to be used.
Warning
This script will automatically expose Netdata but also a mailcatcher under
<URL from point 1.>/mailcatcher
.
Only login by mail can work without further configuration. Every mail this PoC Cloud sends will appear on the mailcatcher, which acts as the SMTP server with a simple GUI to read the mails.
<URL from point 1.>/mailcatcher
. Find yours and click the link.To uninstall the whole PoC, use the same script that installed it, with the uninstall
switch.
cd <script dir>
sudo ./provision.sh uninstall