Local Blueprints Page
By default, the Blueprint widget is displayed in catalog format and provides a list of all the blueprints in this Cloudify Manager instance. You can change the display format from catalog to a classic table view in the widget’s configuration options.
The catalog presents the name and icon of each blueprint, its visibility level, creation date, update date, creator, name of main blueprint .yaml file and the number of deployments created from it.
Uploading a Blueprint
- Click the Upload button in the Blueprints List widget to upload a blueprint.
- In the Upload Blueprint dialog, provide the URL of the remote archive in which the blueprint is located or select a local blueprint archive.
- Enter the
Blueprint nameis the name with which you want to identify this blueprint on the Cloudify Manager instance.
Blueprint filenameis the name of the yaml file in the archive that you want to upload as the main blueprint - as there can be multiple files in the archive. If a blueprint filename field is omitted, the default
blueprint.yamlfilename is used, but if a file under that name does not exist in the archive, an error message will appear.
- (Optional) Provide a .png file URL or select a local one, to appear as an icon in the catalog or table view next to the blueprint name.
- Choose the blueprint’s visibility by clicking on the icon in the top right corner:
The default visibility is “Tenant”, and according to the logged-in user’s permissions you can also choose other levels of resource visibilities.
- Click Save.
You can also upload blueprints from the Blueprints Catalog page, by clicking on the “Upload” button next to the wanted blueprint.
Deploying a Blueprint
- Click the deploy icon adjacent to the name of the blueprint that you want to deploy.
If you have used the drill-down option on a specfic blueprint, click Create Deployment.
- In the deployment creation screen, specify a name for your deployment.
- Specify the required deployment inputs.
The names of the default input values appear in the inputs fields. You can leave these defaults or override them with new values. Mouse-hover tooltip that shows the input’s description might help you understand how to fill-in the proper value. Another alternative for providing the inputs is by specifying a .yaml file containing the relevant values.
- Click Deploy to deploy the blueprint.
Deleting a Blueprint
- Click the delete icon adjacent to a blueprint entry to delete it, or the “Delete blueprint” button in the blueprint’s drill-down page.
Additional Information about Blueprints
When you click the name of a blueprint in the Blueprints List table, a blueprint-specific page opens. The page displays four widgets with details about the selected blueprint:
- Inputs and Outputs
The Topology widget displays the application’s graph of nodes and their relationships.
Each of the application’s nodes is displayed as a square container that can contain other nodes. Each node has a name, and an icon to indicate its node type.
Relationships between nodes are indicated with arrows that start at the connected node and end at the target node.
The number of node instances is marked in a bullet beside the node’s type icon.
The Deployment widget displays a list of the deployment in the current tenant. The dispayed information is: Deployment name, the blueprint which the deployment is derived from, the deployments creation and last update dates, the name of the user who created the deployment, and the number of nodes in each of the following statuses:
- Green: The number of nodes that are running
- Yellow: The number of nodes that are in progress
- Orange: The number of nodes that are in warning state
- Red: The number of nodes that are deleted or stopped
Clicking on a deployement’s name will bring us to this deployment’s drill-down page, which provides additonal data (see deployments page for more information) and displays buttons that enable you to update or delete the deployment, and to execute a workflow.
Blueprint Inputs and Outputs
The Blueprint Inputs and Blueprints Outputs widgets display the values for these elements. If you hover over the outputs value, the code for the output appears.
The Blueprint sources widget displays all the sources in the Blueprint package.