Disable Advertising on Public Network

Objective

This document provides instructions on how to enable the ability to disable advertisement of services on public internet at tenant-level. After disabling the advertisement, you can enable advertising at individual namespace-level. For information advertisement concepts, see Advertisement Policy.

Using the instructions provided in this guide, you can raise a support request to turn on disabling of advertisement on public internet tenant-level, selectively enable advertisement at namespace-level, and turn off disabling of advertisement at tenant-level.


Prerequisites

The following prerequisites apply:


Limitations

The following limitations apply:

  • Turning on and turning off the ability to disable advertisement on public internet at tenant-level is granted through support request only.
  • Enabling and disabling of advertising on public internet at namespace-level is supported only using APIs.

Tenant-level vs Namespace-level Control

After turning on the ability to disable advertisement at tenant-level, advertisement on public internet for all namespaces is disabled. You can disable advertisement at tenant-level using a support request and then selectively turn on the ability at namespace-level using the UpdateAllowAdvertiseOnPublic API. At namespace-level, the API has the following 3 values you can set:

  • Default
  • Enable
  • Disable

The following table presents the behavior of advertisement for various combinations of tenant-level and namespace-level settings:

Default Disable at Tenant-level Allow at Namespace-level Advertise on public
TRUE Default No
TRUE Enable Yes
TRUE Disable No
FALSE Default Yes
FALSE Enable Yes
FALSE Disable No

Disable Advertisement at Tenant-Level

Enabling the ability to disable the advertisement on public internet requires you to raise a support request.

Perform the following steps:

Step 1: Log into the VoltConsole and raise support request to disable advertising on internet.
  • Click General on the namespace selector in the configuration menu.
  • Select Support -> Requests page and click Add new request.
  • Select Request for the Type field and select Others for the Topic field.
  • Select a priority for the Priority field.
  • Enter a subject and description for disabling advertisement to public internet in the fields Please choose a subject for your issue and Please explain the problem below respectively.
  • Click Submit request.

Note: Volterra support disables the advertisement on public networks for your tenant and confirms.

Step 2: Verify that the advertisement on public internet is disabled.
  • Change to your application namespace in namespace selector and go to Manage -> Load Balancers -> HTTP Load Balancers. Click Add HTTP Load Balancer.
  • Perform configuration as per the instructions mentioned in the HTTP Load Balancer guide. Ensure that Advertise on Internet is selected for the Where to Advertise the VIP field in VIP configuration section.
  • Click Save and Exit.

Result: An error is returned mentioning that advertisement on public internet is not allowed.


Enable Advertisement at Namespace-Level

Perform the following steps:

Step 1: Enable advertisement on public network at namespace-level.

Go to CLI and enter the following command:

curl -k  -X POST --cert-type P12 --cert ~/Downloads/<api-creds>.p12:<password> https://<tenant>.console.ves.volterra.io/api/web/namespaces/<namespace>/update_allow_advertise_on_public

Note: Replace <api-creds> with your API certificate file name and with the namespace name for which you want to enable advertising on public internet. Replace <password> with the password for your API certificate.

Step 2: Verify that advertisement on public internet at namespace-level is allowed.
  • Log into VoltConsole. Change to your application namespace in namespace selector and go to Manage -> Load Balancers -> HTTP Load Balancers. Click Add HTTP Load Balancer.
  • Perform configuration as per the instructions mentioned in the HTTP Load Balancer guide. Ensure that Advertise on Internet is selected for the Where to Advertise the VIP field in VIP configuration section.
  • Click Save and Exit.

Result: The load balancer is created successfully and requests to the configured domain over internet are successful.


Concepts


API References