Creating a Lifecycle Environment

Create a lifecycle environment to define the stages of a software's lifecycle in OS Management Hub. For example, you might have stages for Development, Test, Acceptance, and Production.

Tip

Confused about lifecycle environments? See Understanding Lifecycle Environments and Video: Creating Lifecycle Environments.
    1. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Lifecycle environments.
    2. Click Create.
    3. Define the lifecycle environment:
      • Name: Enter a name for the lifecycle environment. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the lifecycle environment. Avoid entering confidential information. You can change the name later.
      • Description: (Optional) Enter a description for the lifecycle environment. Avoid entering confidential information.
      • Location: Select the location of the instances in the lifecycle environment, either "Oracle Cloud Infrastructure" or "Other".
      • OS vendor: Select the applicable OS vendor for the lifecycle environment. For example, Oracle.
      • OS version: Select the OS version for the lifecycle environment. For example, Oracle Linux 8.
      • Architecture: Select the OS architecture for the lifecycle environment. For example, x86_64.
      • Lifecycle stage details: Enter the stage names for the lifecycle environment. Provide a minimum of two and maximum of five stages. For example, if you are following DTAP, you might name the stages: Development, Test, Acceptance, and Production.
    4. 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.

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

    oci os-management-hub lifecycle-environment create --arch-type arch --compartment-id ocid --display-name name --os-family family --stages stages.json --vendor-name vendor [OPTIONS]

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

  • Run the CreateLifecycleEnvironment operation to create a lifecycle environment.