Working with Stack Providers

After having installed the Action Packs needed to provision Environments, as an Administrator, you add Stack Providers as a first step for creating Stacks. One of the following technologies can be used: VMware, Docker and AWS.

Important! The actions that you can perform depend on your folder permissions. See: Assigning Release Automation Permissions.

This page includes the following:

About Stack Providers

Stack Providers are the "engine" or "technology" which allows to create Stacks based on Stack Templates. They provide the infrastructure and middleware on which the components will run: that is Stack Providers host the image. On top of this engine there is an application, which can be rolled out using CDA.

Viewing Stack Providers

  1. Navigate to the Release Automation perspective.
  2. Click the Provisioning tab.
  3. Select Stack Providers.

    Note: Stack Providers and their availability play a crucial role, because the lifecycle control/monitoring and the Stack provisioning happen via the Providers. If a Provider becomes inactive, the whole Stack handling is disabled. To help users know which Stack Providers may be used to provision a Stack, a notification will pop-up every time a Stack Provider changes its status. See Messages.

Tip: For more information about how search for entities and narrow down the results, see Advanced Search.

Creating Stack Providers

This section describes how to add Stack Providers to CDA.

Note: Docker can only be installed on Ubuntu, because a Linux agent is used for provisioning.

To Add a Stack Provider

  1. Go to the Release Automation perspective.
  2. Navigate to Provisioning > Stack Providers.
  3. Click the Create button in the toolbar. The Create Stack Provider dialog is displayed.

    Note: The Create button is disabled if no provisioning provider Pack has been installed. See: Preliminary Steps

  4. Enter a name for the Stack Provider.
  5. Select a type.
  6. From the Folder drop-down list, select a folder to store the new provider. If no folder is selected, the Stack Provider is stored in the default location.
  7. Define an owner for the provider. The current user is selected by default.
  8. Click Create. The Properties view is displayed.
  9. In the Default Agent section assign an Agent and a Login Object:

    Note: Agents execute the deployment processes on the appropriate physical system. For this to happen, the agent has to have the appropriate system privileges. The Login contains login information in the form of credentials.

    Important!

    • VMWare Stack Providers: PowerCLI has to be installed on the agent.
    • AWS Stack Providers: AWS-EC2 tools have to be installed on the agent.

    Example:

    Graphic depicting agent-Docker relationship

  10. Depending on the Stack Provider type selected, do one of the following:
    • Docker:

      Important! The "HOSTNAME" property must be set in the uc4srv.ini file.

      1. Go to the Connection Properties section.

      2. Enter the Daemon URL (the persistent process that manages the containers).

        Important! The Daemon URL must be reachable from default agent selected above.

    • VMware:

      1. Go to the Endpoint section:
      2. vSphere Server URL: enter the URL of the vSphere server to which you want to connect. For example: https://vvievc01/
      3. Enter a Username and Password to access the server.
    • AWS:

      1. Go to the Endpoint section:
      2. Populate the following fields:
        • URL

          The uniform resource locator (URL) of the Amazon EC2 web service entry point. E.g. https://ec2.amazonaws.com

        • Region

          If your instances are in a different region, specify the region where they are located.

          Note: AWS resources are managed within specific AWS regions.

        • Connection Timeout

          The connection timeout, in seconds.

        • Request Timeout

          The request timeout, in seconds.

        • Access Key

          The access key ID associated with your AWS account (alphanumeric text string).

        • Secret Key

          The secret access key associated with your AWS account.

          Note: "Access Key" and "Secret Key" are used when executing ec2 tool commands (for example: run/start/stop/terminate instance...) in CDA provisioning.

        • Security Token

          The AWS delegation token.

A new provider has been added with all required configuration data: host, credentials, repo, and so on.

What to do next:

  1. Creating Stack Templates
  2. Creating Blueprints
  3. Provisioning Environments

Changing Properties of Stack Providers

Properties can be changed:

You can change the following properties:

Deleting Stack Providers

Note: You may only delete the entity when you have the appropriate permission on the containing folder (see Security Concept in CDA) and all of the listed conditions are met.

Conditions to delete entities of type Stack Providers

See also: