Provisioning Infrastructure with ServiceNow and Infrastructure Manager
Important! The Release Automation perspective is only available to Automic Continuous Delivery Automation users; however, as an Automic Automation user, you can execute the same functionality with the REST API. For more information, see: Infrastructure Manager REST API Reference
The following scenario and video show how to integrate ServiceNow and Infrastructure Manager to provision infrastructure.
Watch the video:
To Provision Infrastructure with ServiceNow and Infrastructure Manager
-
Create and configure the required entities in the Infrastructure Manager:
- Open the Release Automation perspective.
- Navigate to Provisioning > Infrastructure Providers
- Add a new infrastructure provider. See: Working with Infrastructure Providers
- Navigate to Provisioning > Templates > Connect Repository.
- Configure the connection to the GIT repository to retrieve the templates available. See: Working with Repositories
-
Request the infrastructure (in this example, a VMware instance) via Infrastructure service catalog in ServiceNow:
- Log into ServiceNow.
- In the Infrastructure view, click VMware to order a new VMware instance.
- Select Linux or Windows.
- Enter a name for the infrastructure. For example: demo-instance.
- In the Destroy after picker, enter the date when you want the infrastructure to be destroyed.
- Click Order Now at the top-right corner to place the order.
- The order must be approved by the ServiceNow administrator.
- Log into ServiceNow as an administrator.
- Open the request with status Pending Approval.
- In the Approval dropdown list, select Approved.
- Click Update in the toolbar.
When the approval process has been executed, ServiceNow triggers an API call to Infrastructure Manager, which, in turn, forwards it to Terraform , which creates the infrastructure.
- Terraform creates the instance based on the template stored in the GIT repository. You can see the execution status in the Provisioning Executions view of the Process Assembly perspective. Double-click the execution to see the execution log. For more information, see: Monitoring Provisioning Executions
- Once the infrastructure is created successfully, the requested instance is ready to be used in the specified cloud provider. Infrastructure Manager triggers an API call to update the request with the instance information, which can then be used by the requester to connect to this instance.