Viewing a Template Resource Topology

Use the Oracle Cloud Stack console to explore the topology of a published stack template as an interactive diagram.

A template contains one or more cloud resources. Dependencies control the order in which Oracle Cloud Stack provisions these resources when a new cloud stack is created from a template. For more information, see What are Dependencies.

Oracle Cloud Stack helps you to visualize these resource dependencies by inspecting a template’s definition and creating a diagram that consists of icons and arrows.

  1. Access the Oracle Cloud Stack console, and then click Templates.
  2. Click the name or icon of a published template.

    Tip:

    To view an unpublished (draft) template, click Unpublished, and then click the name of the template.

    To view the template that was used create an existing stack, from the Stacks page, click the Template link for the stack.

    The Topology page of the Stack Template Details dialog is displayed. This page has an interactive diagram that depicts the resources created by this template. The diagram also uses arrows to show the dependencies between resources and therefore the order in which they will be created by Oracle Cloud Stack.

  3. Position your mouse over an icon in the template diagram.

    A dialog box displays the name of this cloud resource as defined in the template, as well as its resource type. Each type of resource is represented by a different icon.

    In addition, the diagram is updated so that only those arrows that are linked to this resource (both incoming and outgoing) are displayed.

  4. Position your mouse over an arrow that links two of the resources in this template.

    A dialog box describes the relationship between these two resources.

    The direction of the arrow indicates the direction of the dependency. For example, if an arrow begins at ResourceA and ends at ResourceB, ResourceA depends on ResourceB.

  5. Optional: Click the Template tab.

    This page displays the definition of this template as a YAML document.

  6. Optional: Click Export to save this template as a file to your local machine.
  7. When you are finished viewing this template, click Done to return to the Templates page.