Cloud class

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Cloud class

    The Cloud class in ServiceNow provides a comprehensive framework for managing cloud environments such as AWS, Microsoft Azure, Google Cloud Platform, and IBM Cloud. It focuses on the configuration management database (CMDB) structure, allowing users to model cloud resources effectively, particularly for compute environments and virtual servers.

    Show full answer Show less

    Key Features

    • Cloud Service Account Tracking: The main class, cmdbcicloudserviceaccount, is used to track accounts for cloud services, simplifying account management by replacing specific tables for each provider.
    • Identification Rules: Pre-defined identification rules for cloud schema classes ensure accurate tracking of cloud resources through unique Object IDs, which are region-specific and linked to the Logical Datacenter.
    • Relationships: The system allows for creating relationships between resources, such as connecting a server to its cloud instance using attributes like IsVirtual and Runs on:Runs.
    • Integration with Discovery Tools: Supports integration with AWS Config Service and Amazon CloudWatch, enabling automatic retrieval of resource information.

    Key Outcomes

    By utilizing the Cloud class, ServiceNow customers can effectively manage and track cloud resources within their CMDB, ensuring better visibility and control over cloud environments. Accurate identification and relationship mapping improve operational efficiency and resource utilization, ultimately leading to more effective cloud management.

    Description, identification rule, and other important schema structures for the CMDB cloud classes.

    For descriptions of common CMDB tables in a base system, see CMDB tables descriptions.

    Figure 1. AWS/Azure/OpenStack class model​
    AWS/Azure/OpenStack class model.
    Figure 2. IBM Datacenter Cloud Schema model
    IBM Datacenter Cloud Schema model.
    Figure 3. Google Datacenter Schema Model
    Google Datacenter Schema Model.

    Cloud schema description

    ServiceNow has extensive models of cloud environments including Amazon Web Services (AWS), Microsoft Azure service, Google Cloud Platform (GCP), and IBM Cloud. Focusing on the compute side, the models for cloud environments and for Virtual Servers are similar. For example, instances of Amazon Elastic Compute Cloud (EC2) and Microsoft® Azure Cloud Compute, are an extension of Virtual Machine instances, where CIs are typically created by connecting directly to cloud inventory. However, Virtual Machine instances do not represent actual usage of the cloud instance.

    Cloud Service Account [cmdb_ci_cloud_service_account] is the main class for tracking cloud accounts such as AWS, GCP, and Azure (replacing for example, use of the cmdb_ci_aws_account table for AWS).

    For example, you can represent a Linux guest host running on Amazon EC2 by the Server [cmdb_ci_server] class, with the IsVirtual attribute set to true and with the relationship Runs on:Runs to the EC2 instance. Integrating the AWS Config Service or the Amazon CloudWatch application, provides information on the EC2 object ID. Running Discovery or another discovery program on the guest Linux host, provides the hostname.

    Ensure the following:
    • Getting the correct UUID which gets stored in the Serial Number [cmdb_serial_number] table.
    • Connecting/creating the cloud instance to Host OS, matching on the UUID/Object ID and creating the Runs On:Runs relationship.

    ​Also, there is a complete model of Storage, Networking, Lamda/Functions in addition to modeling of different regions using the concept of the table Logical Datacenter [cmdb_ci_logical_datacenter] with Hosts:HostedOn relationship with Compute, Storage, and such.

    Identification rule

    The base system contains pre-defined identification rules for cloud schema classes. A cloud object requires the following identification items:​
    • Object ID: Which is synonymous with the IDs that cloud vendors use for each type of cloud resource, such as Azure Compute, EC2, and Amazon Simple Storage Service (S3).
    • Object ID is unique per region and therefore has dependent relationship requiring information from the Logical Datacenter [cmdb_ci_logical_data_center] table, about the region where the cloud resource is being hosted. For example, AWS Datacenter [cmdb_ci_aws_datacenter], Azure Datacenter [cmdb_ci_azure_datacenter], Google Datacenter [cmdb_ci_google_datacenter] that are extended from Logical Datacenter.

      Logical Datacenter itself, has two identifier entries:​
      • Object ID: Unique ID of the logical datacenter where applicable​
      • Region: The region of the cloud resource
    • Logical Datacenter has a dependency on cloud service accounts​, which has two identifier entries:

      • Object ID: Unique ID of the account where applicable.
      • Account ID: The unique Account ID that encompasses the different cloud resources. Account ID is generally more applicable than Object ID.

    For more information, see CMDB Identification and Reconciliation.