Local Hosting

Multipass

Local hosting via Multipass on Windows, Linux, or Intel Mac.

3 min

Install Multipass and Terraform for your operating system. On a Mac (Intel), you can also install via Homebrew e.g.

text
brew install multipass terraform jq

Clone workshop repository:

bash
git clone https://github.com/splunk/observability-workshop

Change into Multipass directory:

bash
cd observability-workshop/local-hosting/multipass

Log Observer Connect:

If you plan to use your own Splunk Observability Cloud Suite Org and or Splunk instance, you may need to create a new Log Observer Connect connection: Follow the instructions found in the documentation for Splunk Cloud or Splunk Enterprize .

Additional requirements for running your own Log Observer Connect connection are:

Initialize Terraform:

bash
terraform init -upgrade

Create Terraform variables file. Variables are kept in file terrform.tfvars and a template is provided, terraform.tfvars.template, to copy and edit:

bash
cp terraform.tfvars.template terraform.tfvars

The following Terraform variables are required:

Instance type variables:

Optional advanced variables:

Run terraform plan to check that all configuration is OK. Once happy run terraform apply to create the instance.

bash
terraform apply

Once the instance has been successfully created (this can take several minutes), exec into it using the name from the output above. The password for Multipass instance is Splunk123!.

bash
multipass exec cynu -- su -l splunk

Validate the instance:

bash
kubectl version --output=yaml

To delete the instance, first make sure you have exited from instance and then run the following command:

bash
terraform destroy