Creating a Lifecycle Environment Profile

Create a profile so that you can associate a lifecycle environment with an instance when registering the instance with OS Management Hub.

    1. Before you create a lifecycle environment profile, you must have already created a lifecycle environment.
    2. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Lifecycle environments.
    3. Under List scope, select the compartment that contains the lifecycle environment you're interested in.
    4. Click the name of the lifecycle environment.
    5. Click Create Profile.
    6. Define the profile:
      • Name: Enter a name for the profile. You can add or change the name later. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the profile. Avoid entering confidential information.
      • Description: (Optional) Enter a description for the profile. Avoid entering confidential information.
      • For on-premises or third-party cloud, specify the management station:

        • Management station compartment: Select the compartment that contains the management station.
        • Management station: Select the management station to associate with the profile. This only applies to on-premises or third-party cloud instances. The management station provides the instance access to software sources.
      • Lifecycle stage: Choose the lifecycle stage to associate with the profile.
    7. Show advanced options: Click to add tags to this resource.

      If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, ask an administrator or skip this option. You can apply tags later.

    8. Click Create.
  • Use the oci os-management-hub profile create-lifecycle-profile command and required parameters to create a profile for a lifecycle environment.

    oci os-management-hub profile create-lifecycle-profile --compartment-id ocid --display-name profile-name --stage-id ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the CreateProfile operation to create a profile for a lifecycle environment.