OBLYTECH Logo
OBLYTECH Logo

Cloud Account Management lifecycle, budgets, and AWS/Azure setup

The ServiceNow CAM module, which stands for Cloud Account Management, handles requests, approvals, provisioning, suspension and certification for AWS accounts and Azure subscriptions. A requester fills in a form, an approver checks the budget, and an admin provisions the account. Setup needs cloud credentials and a choice between two provisioning modes.

What the CAM module covers

Cloud Account Management automates the creation and provisioning of AWS accounts and Azure subscriptions. Predefined policies handle suspension, reactivation and certification. The module sits inside the Cloud Governance Suite, and its benefits include automated account management, streamlined approval workflows, reduced provisioning time and automated certification.

It is delivered as the Cloud Workspace application, identified as sn_itom_cam. Check the Store listing for dependencies, licensing and release compatibility first.

Connecting AWS: service accounts and the IAM user

A cloud account is the logical picture, inside Cloud Provisioning and Governance, of all or part of your managed cloud estate, and it can hold several service accounts. A service account stores the credential and access details for one provider account, and discovery uses it to read each resource in the datacenters you select.

The service account form asks for a name, the 12-digit AWS account ID with hyphens removed, discovery credentials, the datacenter type and, for accounts inside an AWS organization, a parent account. The datacenter URL is required for AWS China region and AWS GovCloud (US) accounts.

After you submit the form, select Discover Datacenters, tick the ones you need and save. The Cloud Account dashboard then lists the datacenters you saved. Clicking one opens its Resources list, which fills once discovery runs, its Capacity Limits and its Discovery Log.

Before you choose an access method, an AWS administrator has to configure the IAM permissions that CAM needs in the AWS account. The access method you pick decides whether CAM uses permanent credentials, entered in the Connections and Credentials module, or temporary credentials obtained by assuming an IAM role.

Choosing a provisioning mode

The Terraform mode works with Terraform Cloud and Terraform Enterprise. The Terraform template lives in GitHub, at the location given by the VCS identifier, and the Terraform credentials are populated from CMDB records. The cloud native interface mode has an AWS or Azure admin create the IAM user with the required permissions, after which the CAM admin enters its credentials into the instance. For AWS, cloud native needs no extra setup before you install Cloud Workspace, while Terraform needs Terraform and GitHub set up first.

The Terraform account configuration asks for the provision mode, cloud provider, cloud organization, a configuration name, a root email, the Terraform URL, OAuth token ID, credentials, organization name and the VCS identifier of the template. The cloud provider field supports AWS at present. CAM builds a root address for each new account by appending a request ID to the root email you supply.

Requesting a cloud account

A requester selects Request from the Cloud Workspace home page, using the sn_itom_cam.cw_requester role. An admin must first populate the account owner, cost center, business unit, department and business application data, since the form draws on them. A notification email goes out when the request is created.

In the Australia release, the request form covers environment, GovCloud (AWS accounts), desired provider, a name suffix, Monthly Budget Limit, project or application service, cost center, business unit, department, business application, tags, account owner, and primary and secondary teams. The account name is built from the cost center, business unit, business application and suffix, with special characters removed. Primary teams manage the account and act as the responsible party when the owner is absent, and the secondary team supports it.

For AWS, the cost center, business unit, department, project or application service, business application and environment values sync as tags. AWS accepts letters, numbers, spaces and the characters plus, minus, equals, dot, underscore, colon, slash and at sign. Any other character becomes a space. If all characters in a value are unsupported, that tag is skipped, and the action is written to the execution log.

Budgets and approval

The Monthly Budget Limit records the monthly budget for the account. When spending reaches the threshold, an email alert goes to the AWS organization root user and to the account owner.

Approval can be automated. The Subscription Account Creation Budget Approval policy sits under Request Policies. An admin copies it, sets the conditions in the policy builder and maps the copy to a finance auto-approval document. Requests that meet the conditions are approved automatically, and the rest wait for a manual decision.

Manual approval belongs to the sn_itom_cam.cw_approver group. The approver checks that the account fits the available budget and records the decision as a comment on the request, which is where the requester learns the reasoning.

Provisioning the account

An admin provisions an approved request from Cloud Workspace, under Requests and the Approved requests tile. The cloud context must already be configured and discovery must have run. For AWS, the organizational unit list fills in after discovery. For Azure, the management group is set automatically.

Azure adds a billing step. The admin selects an existing billing account, creates a single one, or uploads several in bulk from a sample JSON response copied from the Azure portal. Enrollment accounts follow the same pattern for Enterprise Agreement organizations. Selecting Provision and confirming creates a subscription account inside the chosen cloud organization and the AWS organizational unit or Azure management group. For Azure, an alias is appended to the request name as a friendlier alternative to a subscription ID. It ends in an 8-character random suffix.

Suspending an account

Suspension suits two situations: a budget constraint, or an account owner who is no longer in the organization. It needs a suspend profile first. A requester or admin opens Cloud accounts under Manage and Configure in Cloud Workspace, selects the account name, selects Suspend and enters a reason. The request then goes to an admin for approval, and suspended accounts appear under the Suspended account status filter.

On AWS, an admin creates a CloudFormation stack from a template, which produces a service control policy and an Amazon Resource Name. The short p-prefixed policy element inside that name is what the ServiceNow AI Platform admin needs, and the policy blocks new account creation while existing accounts keep functioning.

On Azure, an Azure admin creates a custom role called Policy Lock/Unlock Manager at the tenant root group, then a custom policy named CAM_LockAccount_Policy that blocks resource creation under Azure Policy enforcement. A ServiceNow AI Platform admin then registers the Azure Service Principal credential, which takes a tenant ID, client ID, secret key and a credential alias that defaults to sn_itom_cam.CAM_Azure_Connection.

Roles that run the module

CAM installs several groups, each with a defined job. The table below lists the four that handle requests, approvals, provisioning and certification.

Group Role What the group does
Requester sn_itom_cam.cw_requester Starts requests, supplies request data, asks for suspension or reactivation
Approver sn_itom_cam.cw_approver Evaluates requests, checks budget alignment, records the decision
Admin sn_itom_cam.cw_admin Provisions approved requests, customizes the certification policy
Certifier sn_itom_cam.cw_certifier Certifies discovered accounts and works through verification tasks

Certification and scanning

Certification addresses outdated ownership, inactive user profiles and improper permissions. The default policy, CW Certification Policy, certifies all available cloud service accounts every 90 days. Admins can customize it or create new policies, and deactivate a policy to stop validation or edit it.

When the policy runs, its tasks go to the Certifier group under My Work. A certifier opens a task, selects Review records to certify, and marks each record Certify or Fail. If a certifier selects Fail, the task moves to the registry, where a CAM admin takes the next action. Submit becomes available once the records are reviewed.

Scanning is separate and reports violations. Scan configurations are built in Cloud Configuration Governance. A scan imports configuration data for the resource types its policy sets target, then reports a violation wherever that data matches a non-compliant rule.

Frequently asked questions

Which cloud providers does the CAM module manage? CAM creates and provisions AWS accounts and Azure subscriptions. Suspension covers AWS and Azure, each with its own setup path.

Does going over the monthly budget lock an account? Reaching the Monthly Budget Limit sends an email alert to the AWS organization root user and the account owner.

How often does CAM certify accounts by default? The default certification policy certifies all available cloud service accounts every 90 days. An admin can customize that policy or add new ones.

Which application needs to be installed first? Install the Cloud Workspace application, identified as sn_itom_cam, after checking its ServiceNow Store listing.