Hello, Cloud!

The Hello, Cloud! is the second QuickStart in Volterra’s Hello, World! series. This guide provides instructions to deploy a secure mesh for your application spanning across multiple cloud locations. Using these instructions, you can also visualize web application connectivity and security metrics using Volterra Console.


Prerequisites

  • Volterra VES Account.

    Note: In case you do not have the account, see Create a VES Account.

  • Volterra Node installed on Azure with Azure Kubernetes Service (AKS).

  • Volterra Node installed on Amazon Web Services (AWS).

Deploy Using Volterra Quickstart

Using Volterra Quickstart tool creates the mesh in a quick manner. Perform the following steps to deploy the secure mesh for your application.

Step 1: Create an input variables file. This example show sample variables file.

{
    "api_p12_file": "<api p12 file path>",
    "api_url": "<api_url>",
    "name": "<prefix name for all the resource created>",
    "aws_vsite_name": "<aws-vsite-name>",
    "aws_site_name": "<aws-site-name>",
    "azure_site_name": "<az-site-name>",
    "sli_network_prefix": "192.168.0.0",
    "slo_network_prefix": "192.168.1.0",
    "stage_one": true,
    "stage_two": true,
    "stage_three": true,
    "stage_four": true,
    "stage_five": false,
    "aks_kubeconfig_base64": "<this needs to be given>",
  }

Step 2: Download the Volterra Quickstart tool.

docker run --rm -v $(pwd):/opt/bin:rw docker.io/volterraio/volt-terraform:latest cp /deploy-terraform.sh /opt/bin

Step 3: Create the VES_P12_PASSWORD environment variable. Enter your API credentials password as the value for this variable.

export VES_P12_PASSWORD=<your_password>

Note: This step requires you to create API credentials in the Volterra Console by navigating to IAM -> API Credentials option.

Step 4: Deploy the application in your cloud locations using the created variables file.

./deploy-terraform.sh apply -p volterra -i <absolute_path_to_vars_file> -tn hello-cloud --force

Step 5: Monitor your application for statistics using the output option of the Quickstart tool.

./deploy-terraform.sh output -n <name you have provide in variable file> curl_cmd_to_test_app_url

Note: The output option of terraform returns the IP address or URL to your application so that you can use the same with the curl to obtain statistics.


Concepts