Create policies - Amazon SageMaker AI

Create policies

You can create your Cluster policy and Compute allocation configurations in the Policies tab. For following provides instructions on how to create the following configurations.

  • Create your Cluster policy to update how tasks are prioritized and idle compute is allocated.

  • Create Compute allocation to create a new compute allocation policy for a team.

    Note

    When you create a Compute allocation you will need to set up a Kubernetes role-based access control (RBAC) for data scientist users in the corresponding namespace to run tasks on HyperPod clusters orchestrated with Amazon EKS. The namespaces have the format hyperpod-ns-team-name. To set up a Kubernetes RBAC, use the instructions in create team role.

For information about the HyperPod task governance EKS cluster policy concepts, see Policies.

Create HyperPod task governance policies

This procedure assumes that you have already created an Amazon EKS cluster set up with HyperPod. If you have not already done so, see Create a SageMaker HyperPod cluster.

  1. Navigate to the Amazon SageMaker AI console.

  2. On the left navigation pane, under HyperPod Clusters, choose Cluster Management.

  3. Choose your Amazon EKS cluster listed under SageMaker HyperPod clusters.

  4. Choose the Policies tab.

  5. To create your Cluster policy:

    1. Choose the corresponding Edit to update how tasks are prioritized and idle compute is allocated.

    2. After you have made your changes, choose Submit.

  6. To create a Compute allocation:

    1. Choose the corresponding Create. This takes you to the compute allocation creation page.

    2. After you have made your changes, choose Submit.