Cloud Deployment Automation
Summarize
Summary of Cloud Deployment Automation
The Cloud Deployment Automation application streamlines the deployment and provisioning of AWS CloudFormation services within ServiceNow using Service Catalog or Service Portal. It enables customers to automate AWS stack and stack set management directly from the ServiceNow platform, enhancing efficiency and control over cloud infrastructure provisioning.
Show less
Key Features
- Catalog Items and Flows: Automate AWS CloudFormation tasks such as creating, updating, and deleting stacks and stack sets through predefined catalog items and associated flows. Customers can customize flows by copying them into a new application scope.
- Subflows: Provide automation examples for error handling and status retrieval, including creating events and incidents on automation failure and fetching approvers and assignees from decision tables.
- Actions: Includes an action to transform arrays of objects based on key-value pairs to facilitate data manipulation in flows.
- Decision Tables: Use decision tables to manage approval policies, user and group assignments for requested items, incidents, and catalog tasks, as well as policies for handling automation failures.
- User Roles: The application defines specific roles such as
snclouddpmtatmn.clouddeploymentautomationuserfor viewing catalog items. To create and submit catalog items, users must also have management, ITIL, and Catalog Admin roles. - System Properties: Configure AWS regions to include or exclude and control flow execution duration via system properties accessible under System Properties > All Properties.
- Spoke Dependency: Activation and setup of the AWS CloudFormation spoke are required to use this application effectively.
Set Up and Usage
To implement Cloud Deployment Automation, configure the Service Portal page to use the default catalog items provided. This enables end users to request AWS CloudFormation services through a streamlined interface.
Benefits for ServiceNow Customers
- Automates complex AWS CloudFormation operations, reducing manual intervention and potential errors.
- Integrates AWS infrastructure management into ServiceNow workflows and approvals, aligning cloud provisioning with IT service management processes.
- Provides flexibility through customizable flows, subflows, and decision tables to fit organizational requirements.
- Ensures governance with roles and approval policies embedded within the automation framework.
Automates the deployment and provisioning of the AWS CloudFormation services using Service Catalog or Service Portal.
Request apps on Store
Visit the ServiceNow Store website to view all the available apps and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.
Spoke dependencies
You must activate and set up the AWS CloudFormation spoke to use this application.
Catalog items and flows
The Cloud Deployment Automation provides catalog items and flows to automate tasks. When a catalog item is submitted, the associated flow is triggered and the task is performed. To customize a flow, create a copy of it in a new application scope. Available catalog items and flows include:
| Catalog Item or Flow | Description |
|---|---|
| Create Stack | Creates a stack in AWS CloudFormation account. |
| Create and Execute Change Set | Creates and executes a change set in AWS CloudFormation account. |
| Create Stack Set | Creates a stack set in AWS CloudFormation account. |
| Delete Stack | Deletes a stack in AWS CloudFormation account. |
| Delete Stack Set | Deletes a stack set in AWS CloudFormation account. |
| Update Stack Set | Updates a stack set in AWS CloudFormation account. |
Subflows
The Cloud Deployment Automation provides subflows to demonstrate automating tasks. To customize a subflow, create a copy of it in a new application scope. Available subflows include:
| Subflow | Description |
|---|---|
| Create Event | Creates an event if automation fails. |
| Create Incident | Creates an incident if automation fails. |
| Dynamic Flow Template | Subflow template to create event and incident. |
| Fetch Approvers and Assignees | Retrieves details of approvers (groups and users), assignee, and assignment group for the requested item, catalog task, and incident from the decision tables. |
| Get Stack Set Operation Result Status Reason | Retrieves the AWS CloudFormation stack set operation result status reason. |
| Get Stack Set Operation Status | Retrieves the operation status of the AWS CloudFormation stack set. |
| Get Stack Status | Retrieves the status of the AWS CloudFormation stack. |
Actions
The Cloud Deployment Automation provides an action, Change Array.Object Internal Names to change an array of objects to another array of objects based upon the key value pair.
Decision tables
| Decision table | Description |
|---|---|
| CDA Requested Item User Approval Policy | Policy used to assign a requested item to the relevant user for approval. |
| CDA Requested Item Group Approval Policy | Policy used to assign a requested item to the relevant group for approval. |
| CDA Incident User Assignment Policy | Policy used to assign an incident to the relevant user. |
| CDA Incident Group Assignment Policy | Policy used to assign an incident to the relevant group. |
| CDA Failed Automation Flow Policy | Policy used to choose between creating an incident or an event when an automation failure occurs. |
| CDA Catalog Task User Assignment Policy | Policy used to assign a catalog task to the relevant user. |
| CDA Catalog Task Group Assignment Policy | Policy used to assign a catalog task to the relevant group. |
User roles
System properties
| System property | Description |
|---|---|
| sn_cloud_dpmt_atmn.exclude_aws_regions | List of additional regions that should be excluded from those mentioned in the CloudDeploymentAutomationUtils script include. |
| sn_cloud_dpmt_atmn.include_aws_regions | List of additional regions that should be included to those mentioned in CloudDeploymentAutomationUtils script include. |
| sn_cloud_dpmt_atmn.flow_loop_limit | Number of hours that flows should run in loop before they exit. |
Navigate to to configure the values of these properties.