OpenShift Dedicated cluster creation

OpenShift Dedicated clusters are managed by Red Hat and provisioned on Amazon Web Services (AWS) or Google Cloud Platform (GCP). They are referred to as managed clusters.

Using OpenShift Cluster Manager, you can create an OpenShift Dedicated cluster on AWS or GCP. Use a cloud account owned by Red Hat, or use your own cloud account with the Customer Cloud Subscription (CCS) model.

When creating your OpenShift Dedicated cluster, you must also configure the Red Hat subscription type for the cluster to use. Your cluster is then automatically subscribed to your Red Hat subscriptions and includes Premium-level support.

You can use the following types of Red Hat subscriptions to support your OpenShift Dedicated clusters:

  • Annual: A subscription providing a fixed capacity of resources, pre-purchased from Red Hat. Cluster provisioning is based on available quota. Quota is allocated from your Red Hat subscriptions and is required to scale up a cluster. For more information, see Creating an OpenShift Dedicated cluster with an annual subscription, linked in Additional resources.
  • On-Demand: A subscription allowing flexible usage, billed through the Red Hat Marketplace. When you enable an On-Demand subscription in Red Hat Marketplace, you set resource limits for your services to control usage automatically. For more information, see Creating an OpenShift Dedicated cluster with an On-Demand subscription, linked in Additional resources.
  • OpenShift Dedicated trial: You can try OpenShift Dedicated for 60 days free of charge with a trial Red Hat subscription. You can upgrade your cluster to a paid Red Hat subscription at any time. For more information, see About the OpenShift Dedicated Trial and Creating an OpenShift Dedicated cluster with a free trial Red Hat subscription, linked in Additional resources.

You can view your quota and resource limits alongside cluster usage, based on your active OpenShift Dedicated clusters, from the Subscriptions area in OpenShift Cluster Manager, linked in Additional resources.

Important

You cannot change the subscription type on an existing OpenShift Dedicated cluster, with the exception of upgrading a trial subscription. For detailed instructions about creating a new cluster, see Creating a cluster in the OpenShift Dedicated documentation, linked in Additional resources.

Create an OpenShift Dedicated cluster with an annual subscription

You can create an OpenShift Dedicated cluster using an annual (fixed capacity) Red Hat subscription. Use your own AWS or Google Cloud Platform cloud provider (Customer Cloud Subscription), or use the Red Hat fully-managed cloud to run your OpenShift Dedicated clusters.

Before you begin

  • You must have a Red Hat login.
  • Your organization must have an active Red Hat OpenShift Dedicated subscription with sufficient quota to create a cluster. Check your available quota from Subscriptions > Dedicated (Annual).
  • If you're creating a cluster on your own AWS or Google Cloud (Customer Cloud Subscription), you must configure your cloud account before creating your cluster. See the OpenShift Dedicated Planning your environment guide to understand the requirements for Customer Cloud Subscriptions.

About this task

This is the traditional Red Hat subscription type and support is pre-purchased from Red Hat and billed annually. Cluster provisioning is based on available quota. Quota is allocated from Red Hat subscriptions and is required to scale up a cluster.

To use an On-Demand (flexible usage) subscription for your cluster instead, see Create an OpenShift Dedicated cluster with an On-Demand subscription.

Important

You cannot change the subscription type after the cluster is created.

Procedure

  1. From OpenShift Cluster Manager, click Create cluster.
  2. From the Cloud tab next to OpenShift Dedicated, click Create cluster. You can also view your available quota from this screen before creating your cluster.
  3. In the Billing Model screen, select Annual as your Subscription type.
    Important

    You cannot change the subscription type after the cluster is created.

  4. Select your Infrastructure type:
    • Customer Cloud Subscription uses your own cloud account, where you control billing and Red Hat manages the cluster for you. You must configure your cloud account before creating your cluster. See the OpenShift Dedicated Planning guide for instructions.
    • Red Hat cloud account deploys your cluster in cloud provider accounts owned by Red Hat. For this option, Red Hat handles all billing and management for your cluster.
  5. Configure basic cluster settings, including your cloud provider, machine pools, networking, and update policies.
    Note

    See the OpenShift Dedicated documentation for detailed information about configuring your cluster settings.

  6. Click Create cluster to provision your cluster.

Results

  • While your cluster is being provisioned, you can view it in the Clusters list in OpenShift Cluster Manager. The cluster shows its Status as Ready when provisioning is complete.

What to do next

After creating your OpenShift Dedicated cluster and its status is Ready, you can:

Create an OpenShift Dedicated cluster with an On-Demand subscription

You can use the On-Demand subscription type to create an OpenShift Dedicated cluster that is billed by usage. Billing is post-paid and handled by the Red Hat Marketplace.

Before you begin

  • You must have a Red Hat login.
  • Your organization must have an active OpenShift Dedicated On-Demand subscription enabled from the Red Hat Marketplace with resource limits configured.
  • You must have your own AWS or Google Cloud account, configured as described in the OpenShift Dedicated Planning your environment documentation.

About this task

When you enable an On-Demand subscription in Red Hat Marketplace, you set resource limits for your services to control maximum usage automatically.

This option allows the flexibility to scale your cluster up and down as needed, and to be billed accordingly. You can track usage by cluster in Subscriptions > Dedicated (On-Demand).

To use an annual (fixed capacity) subscription for your cluster instead, see Create an OpenShift Dedicated cluster with an annual subscription.

Important

You cannot change the subscription type after the cluster is created.

Procedure

  1. From OpenShift Cluster Manager, click Create cluster.
  2. From the Cloud tab next to OpenShift Dedicated, click Create cluster. You can also view your available quota from this screen before creating your cluster.
  3. In the Billing Model screen, select On-Demand as your Subscription type.
    Note

    If On-Demand is not available as an option, follow the prompts in the OpenShift Cluster Manager user interface to enable an account and link your billing information in the Red Hat Marketplace. You can also verify whether On-Demand billing (Red Hat Marketplace subscriptions) is configured from the Subscriptions > Dedicated (On-Demand Limits) in OpenShift Cluster Manager.

    You cannot change the subscription type after the cluster is created.

  4. Select Customer Cloud Subscription as your Infrastructure type. This is required for the On-Demand subscription option.
    Note

    The Customer Cloud Subscription option uses your own cloud account, where you control billing and Red Hat manages the cluster for you. You must configure your cloud account before creating your cluster. See the OpenShift Dedicated Planning guide for instructions.

  5. Configure basic cluster settings, including your cloud provider, cluster details, machine pools, networking, update policies.
    Note

    See the OpenShift Dedicated documentation for detailed information about configuring your cluster settings.

  6. Click Create cluster to provision your cluster.

Results

  • While your cluster is being provisioned, you can view it in the Clusters list in OpenShift Cluster Manager. The cluster shows its Status as Ready when provisioning is complete.

What to do next

After creating your OpenShift Dedicated cluster and its status is Ready, you can:

Create an OpenShift Dedicated cluster with a trial subscription

You can try OpenShift Dedicated free of charge for 60 days by using a trial Red Hat subscription.

Before you begin

About this task

OpenShift Dedicated trial clusters are provided without an uptime service level agreement (SLA) and are self-supported.

To use a free trial subscription for your cluster, you need to use your own AWS or Google Cloud account (Customer Cloud Subscription) to provide the infrastructure.

At any time before the 60-day trial is finished, you can upgrade your cluster with your own Red Hat subscription details to continue using OpenShift Dedicated. At the end of the 60-day trial period, if you have not upgraded the trial cluster, your OpenShift Dedicated trial cluster and all installed add-on services are marked for permanent deletion.

For more information and to sign up for an OpenShift Dedicated trial subscription, go to About the OpenShift Dedicated Trial or Try OpenShift.

Procedure

  1. From OpenShift Cluster Manager, click Create cluster.
  2. From the Cloud tab next to Red Hat OpenShift Dedicated Trial, click Create trial cluster. You can also view your available quota from this screen before creating your cluster.
    • In the next screen (Billing model), Free trial (upgradeable) will be automatically selected as your Subscription type, and Customer Cloud Subscription will be automatically selected as your Infrastructure type. Note
      • If Free trial (upgradeable) is not available as an option, follow the prompts in the user interface to enable your Red Hat account.
      • Customer Cloud Subscription uses your own cloud account, where you control billing and Red Hat manages the cluster for you. You must configure your cloud account before creating your cluster. See the OpenShift Dedicated Planning guide for instructions.
  3. Configure basic cluster settings, including your cloud provider, machine pools, networking, and update policies.
    Note

    See the OpenShift Dedicated documentation for detailed information about configuring your cluster settings.

  4. Click Create cluster to provision your cluster.

Results

  • While your cluster is being provisioned, you can view it in the Clusters list in OpenShift Cluster Manager. The cluster will show its Status as Ready when provisioning is complete.

See the cluster overview page to view the expiry date of the trial subscription and other details. This information also shows on the Clusters list in the Created column.

What to do next

After creating your OpenShift Dedicated cluster and its status is Ready, you can:

Important

Before your 60-day trial expires, upgrade your cluster to a paid fully-supported Red Hat subscription to continue using your cluster. See Upgrading an OpenShift Dedicated trial cluster to a fully supported cluster.

Create a cluster using the ocm-cli tool

You can create managed clusters quickly using the ocm-cli tool.

Before you begin

Procedure

  1. To use the ocm-cli tool, log in to OpenShift Cluster Manager with your OpenShift Cluster Manager offline access token (found in https://console.redhat.com/openshift/token ):
    $ ocm login --token=eyJ...

    This uses the provided token to request OpenID access and refresh tokens to sso.redhat.com. The tokens will be saved to the .ocm.json file in your home directory for future use.

  2. Create a cluster named <mycluster> by running the following command. Optionally, add your desired flags to configure the cluster:
    $ ocm create cluster [flags] <mycluster>
    Note

    Run $ ocm --help to see flags and options for creating a cluster.

    The ocm create cluster command returns the cluster ID and other information about the cluster.

Results

Clusters are created asynchronously and take time to create before they are ready to use. After running ocm create cluster to create a cluster, you need to periodically check the state attribute to confirm the cluster is ready.

  • To verify the cluster is ready to use, check the cluster state using the cluster ID:
$ ocm list cluster <id>

When the state is ready, the creation process is complete and you can use your cluster.