DNS Sample Application

The following instructions help you deploy a sample application integrated with the platform built-in DNS services. The application provides a UI to perform the typical operations with resources, bind them with domains, and create DNS records for them.

The application imitates provisioning of VPSes (virtual private servers) for customers.

In this document:

Deployment

Application Deployment

This phase aims at creating an application APS connector and an APS application instance in it. The latter imitates a connection of the platform with an original application.

The platform configuration must meet the installation Prerequisites, that means it must be configured to use the Docker registry and has a service node implementing the endpoint host role.

  1. Download the DNS Sample Application package to your local computer.

  2. In the provider control panel, navigate to Services > Applications and import the package from your local computer. Click the Refresh icon on top right of the screen to ensure the package has been imported.

  3. Open the imported application and on the Instances tab, click Add Instance.

  4. Make sure the Automatically deploy application’s backend option is selected.

  5. Click Next and then Finish on the next screen.

Wait until the new instance appears and its status is Ready. If it takes longer than 2 minutes, navigate to Operations > Tasks to clarify the cause of the delay.

Product Deployment

In this phase you will create a service plan and all other required product components in the platform containing OSS and BSS. In addition, the service plan must upsell a domain registration service plan. The latter must provide a domain for the main service plan.

Create Main Service Plan

  1. Open the imported APS package and on the Instances tab, click the Configure Offer button.

  2. To use the default deployment configuration, select the Use smart defaults and skip to summary radio-button and click Next.

  3. In the Summary step, you will find the final configuration containing all necessary product components.

Add Domain Registration as Upsell

Create a domain registration service plan and then add it as upsell to the main service plan. Follow the instructions in the Bind-to-Domain demo project to complete it.

Provisioning

Create and subscribe your test customer to the new service plan and then test the application functionality as explained in Provisioning phase of the Bind-to-Domain demo project.