Creating a Profile
Create a profile in OS Management Hub to register an instance with the service.
This procedure isn't used to create management station profiles. Instead, the station profile is automatically created when you create the station.
Before you begin
- For software source profiles, ensure you have added software sources to the service.
- For group profiles, ensure you have created the group.
- For lifecycle environment profiles, ensure you have created the lifecycle environment.
See Understanding Profiles for more information about profile types.
Navigate
- Navigate to the Profiles list page.
- Select Create.
Add basic details
Enter the identifying information for the profile:
- Name: Enter a unique name for the profile. The name must be unique within the tenancy. You can change the name at any time. Avoid entering confidential information.
- Description: (Optional) Enter a description for the profile. Avoid entering confidential information.
Select location
Select the instance location for the profile:
- Oracle Cloud Infrastructure: Select this for OCI instances.
- On premises or third-party cloud: Select this for on-premises or third-party cloud instances.
- 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.
Select OS
Define the OS version and architecture of instances you will register with the profile:
-
OS vendor: Select the vendor of the OS. For example, Oracle.
-
OS version: Select the version of the OS. For example, Oracle Linux 8.
-
Architecture: Select the architecture for the OS. For example, x86_64.
Set as default (optional)
If creating the profile in the root compartment, you can select Set as default to identify it as a default profile for OCI instance registration.
Select profile type
Select the type of profile to create:
Software source profile (Oracle Linux only)
Group profile
- Select Group for type.
- Select the compartment that contains the group.
- Use the search box to find a group.
- Select the group.
Lifecycle environment profile
- Select Lifecycle environment for type.
- Select the compartment that contains the lifecycle.
- Use the search box to find a lifecycle.
- Select the lifecycle.
- Select a lifecycle stage.
Tagging (optional)
Expand Show advanced options and then 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.
Review and create
Review the details of the profile. Make any changes as needed, and then select Create.
View the new profile in the Profiles list page.
Next Steps
Use the profile to register instances with OS Management Hub.
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.