Resource Profiles

  • 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 Resource Profiles

    Resource profiles are essential components of the Cloud Provisioning and Governance system that define allowed attribute values for cloud resources across different providers. They streamline the resource selection process for users, eliminating the need for unique blueprints for each variation of a resource.

    Show full answer Show less

    Key Features

    • Provider-Agnostic Definitions: Resource profiles are not limited to specific cloud providers, allowing for flexible configurations.
    • Mapping Associations: Profiles create mappings between cloud accounts, logical datacenters, resource types, and optional pricing values.
    • Types of Resource Profiles: The system supports application profiles, compute profiles, compute security group profiles, OS profiles, and schedule profiles, each with specific attributes that enhance resource provisioning.
    • Public Image Integration: Users can integrate public images from AWS and Azure into their profiles, allowing for greater resource flexibility.

    Key Outcomes

    By utilizing resource profiles, ServiceNow customers can:

    • Control user choices effectively when requesting cloud resources.
    • Standardize resource provisioning across multiple cloud environments while reducing complexity.
    • Enhance operational efficiency by automating the mapping of resource profiles to templates after discovery runs.
    • Ensure that security and application requirements are consistently applied across provisioned resources.

    Resource profiles are cloud provider-agnostic definitions that specify the allowed attribute values for a resource. Resource profiles enable you to control the choices that the user sees when requesting a cloud resource. As a result, you do not need to define a unique blueprint for each variation of the resource.

    Note:
    In addition to the cloud-agnostic profiles, you can add provider public images to the Cloud Provisioning and Governance catalog. See Add an AWS public image to Cloud Provisioning and Governance and Add an Azure public image to Cloud Provisioning and Governance.

    Example: Compute profile

    You might create a compute profile named Micro and map it to a "micro" hardware type, with specified values for memory and CPU. Later, when a user selects a compute resource while requesting a virtual server, Micro appears as an option in the list of available compute resources. The user does not need to specify values for memory and CPU — the values come from the profile.
    Figure 1. Compute profile on the request form
    Compute profile on the request form

    Resource Profile mappings

    Resource profiles create mapping associations between the following items:
    • A cloud account.
    • A logical datacenter in the cloud account.
    • A specific resource type in the CMDB that provides the attributes.
    • Optional: A pricing value that appears to users when they request a resource that uses the resource profile.

    By default for AWS and Azure, Cloud Provisioning and Governance maps profiles to templates after Discovery runs. For other providers, such as Google cloud, you must manually associate the profile with the correct template and datacenter.

    Resource types

    Each resource profile has associated attributes. The attributes depend on the resource types that are populated after you run Discovery on a cloud account.
    Resource profile type Description and attributes Resource type and template
    Application profile An application profile specifies application software to install on newly-provisioned resources. Users can select applications when they request a stack. Use application profiles when you integrate with configuration management (continuous delivery) providers such as Ansible playbooks.

    Attributes: Applications running on virtual machines.

    Application Template

    [sn_cmp_application_template]

    Compute profile A compute profile specifies the hardware to use for newly-provisioned virtual machines.

    Attributes: The size of computing resources, including the virtual CPUs, memory, and local storage.

    Hardware Type

    [cmdb_ci_compute_template]

    Compute Security Group profile A compute security group profile applies specified security rules to newly-provisioned resources. You map a compute security group profile to a cloud account, a datacenter, a Compute Security Group template, and security rules for the template.

    Attributes: Firewall rules, such as enabling HTTP and HTTPS.

    Compute Security Group Template

    [cmdb_ci_security_grp_template]

    OS profile An OS profile installs a specified image on a newly-provisioned virtual machine. You map an OS profile to a cloud account, a location (datacenter), an image template, and a cloud script.

    Attributes: Operating system images, including the OS type and version, the root device type, and the image source.

    Image

    [cmdb_ci_os_template]

    Schedule profile You map a schedule profile to an instance schedule. The schedule profile applies to all newly-provisioned resources that use the profile. For example, a schedule profile can specify the days of the week and times of day when a stack should start and stop.

    Attributes: Schedule attributes such as when a stack should be started, stopped, or deprovisioned.

    N/A