Creating a Profile

Create a profile in Autonomous Linux to register an instance with the service.

Before creating a profile:

See Understanding Profiles for more information about profile types.

  • To create a software source or group profile, follow these steps:

    1. Open the navigation menu and click Observability & Management. Under Autonomous Linux, click Profiles.
    2. Under List scope, select the compartment to create the profile in.
    3. Click Create.
    4. Enter the identifying information for 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.
    5. (Optional) Set the profile as the default (if in the root compartment).
    6. Specify the OS and architecture information:
      • OS vendor: Select the OS vendor. For example, Oracle.

      • OS version: Select the OS version. For example, Oracle Linux 8.

      • Architecture: Select the system architecture. For example, x86_64.

    7. Select the type of profile:
      • Software source
        • Compartment: Select the compartment containing the software source.
        • Software sources: Select the software sources to attach to the profile.

          Note

          If you don't see vendor software sources in the selected compartment. You might need to replicate the software sources.
      • Group
        • Compartment: Select the compartment that contains the group.
        • Groups: Select the group to associate with the profile.
    8. 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.

    9. Click Create.
    Use the profile to register instances with Autonomous Linux.
  • Use the oci os-management-hub profile create-software-source-profile command and required parameters to create a profile for a set of software sources.

    oci os-management-hub profile create-software-source-profile --arch-type architecture --compartment-id ocid --display-name profile-name --os-family OS --software-source-ids software-source-ocids --vendor-name vendor [OPTIONS]

    Use the oci os-management-hub profile create-group-profile command and required parameters to create a profile for a group.

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

    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 set of software sources, a group, or a lifecycle environment.