Orchestration Templates are essentially infrastructure automation instructions written in “YAML” or “JSON” format. Templates can have multiple tasks within them, each of them performing a specific action in a target cloud or a tool. You may also have a single template to orchestrate across multiple cloud(s) and/or tool(s).
CoreStack™ supports Templates of the formats: AWS CFN, Azure ARM, OpenStack HEAT, OpenStack MISTRAL, Terraform, Oracle, DM.
One of the key differentiators of CoreStack™ is its support for cloud-native DSL (Domain Specific Language) which ensures that there is no limitation in terms of the supported services within that platform.
For example: You can execute
You can bring into CoreStack™ any of these templates with ease and re-use them outside of CoreStack™ if required.
Navigate to Automation submenu under Operations in the Left navigation menu and select Templates option to land in Templates (Marketplace).
The tabs at the top represent the scope of the templates. You can see 2 tabs: Marketplace and My Templates.
CoreStack™ provides a wide range of pre-defined templates which can help in realizing multiple use cases. The marketplace lists the templates available across multiple clouds and tools. These are pre-loaded for all subscriptions and are FREE to be executed on-demand or scheduled.
These templates are available across all tenants and are usually created by the Product Administrator.
Tip: These templates have the scope value set to Global.
These templates have been created by users within the tenant. These are available only for users within the tenant. You can add more templates or edit/delete existing templates in this tab based on your role and access policies.
Tip: These templates have the scope value set to Tenants.
CoreStack™ offers search and filter functions to help quickly look for the templates you need to execute. The Search bar is available just above the templates list. To Filter Templates, you can click on the “Filter” icon placed to the right end above the templates list.
The Text Search helps you search using any string available in the following fields:
The text search is thus quite useful in refining your search results based on any little information you have on the preferred result set.
CoreStack™ also offers Filters to help you narrow down the list of templates by using one or a combination of filters. On clicking the Filter icon, you will see the list of Filter options available as shown below. Select the preferred options and click on “Apply Filter” button at the bottom of this box.
Tip: Use the Reset button to quickly remove all selected filters and view all results.Once you decide on a template that you would like to try out, you can execute it on-demand or schedule it for a one-time or recurring execution(s) in future.
To get more information about a specific template, click on the template to open the ‘Template Detail’ page. You can view the attributes related to the template and update the values if required by clicking on Update.
The actual content of the template, which is in ‘YAML’ or ‘JSON’ format is also displayed. Click ‘Edit’ button and make changes to the content if required.
Template actions will be shown to every template listed when you are hovering mouse on a template. The list of actions depends on the scope of the template (Marketplace, My Templates) and the RBAC access for templates that user has.
Executes the template against Cloud Accounts and performs the tasks specified in the template. In ‘Job History' you can find the status and outputs for this execution. Execute requires following inputs:
A sample Template execute window, for a simple example of taking an ‘AWS_EC2_Instance_With_SecurityGroup’ is shown below:
Tips:
Schedules the template execution to be run later once or multiple times. For example, you can schedule backup for a Instance daily. Schedule requires the following details:
Screenshot to schedule a template is shown below:
The list of schedules created for that specific tenant can be viewed from the Schedules tab.
CoreStack™ also provides the option for users to upload their own templates and use them to execute against their service accounts. Follow the steps given below: Use the ‘+’ button next to the ‘Search’ bar at top right.Template create window will have 3 sections as follows: Properties, Content and Metadata.
Lists all template executions of the current tenant. A sample screenshot is shown below. The tabs at the top right represents the archive status of jobs. You can see 2 tabs: Active Jobs and Archived Jobs.
Template Job History page offers search and filter functions to help quickly look for the executions. The Search bar is available just above the jobs list. To Filter Jobs, you can click on the “Filter” icon placed to the right end above the Job detail tab.
Template Job History page also has Archive, Un-Archive and Delete Actions. These actions can be used to have limited number of executions in Job history page.
Job history page has option to refresh the Jobs list. This will help when you are landing here from template execute page. By the time you are landing the Job might be IN_PROGRESS state. This will help to refresh the status.
Template Jobs list show the following columns in the list.
Template Job Detail will be shown on clicking Job from the list. This will show three tabs. Inputs, Output and Task.
Lists all template execution schedules of the current tenant. The tabs at the top right represents the schedule status. You can see 2 tabs: Upcoming and Past. Upcoming will list the schedules which are active, to be execute on future based on its scheduled time. Past will list the schedules which are no longer going to be executed. Eg. Scheduled Once will be moved to Past tab after its execution.
A sample screenshot is shown below.
Template Schedules page offers search and filter functions to help quickly look for the schedules. The Search bar is available just above the schedules list. To Filter Jobs, you can click on the “Filter” icon placed to the right end above the Schedule detail tab.
Template Schedules list show the following columns in the list.
Template Schedule Detail will be shown on clicking Schedule from the list. This will show the execution history the schedule which will redirect to Job history page and filter by this schedule. It’s also supports the following actions on schedule.
CoreStack™ also provides the control over the next execution of the schedule. You can remove the next execution or can edit the next execution time alone without modifying the schedule. For example, in a daily 12pm schedule, you can change the time of the next execution.