This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::SageMaker::Cluster ClusterAccountingDatabase
The external MySQL-compatible database that the Slurm accounting daemon
(slurmdbd) connects to for a SageMaker HyperPod cluster. You provide the database
credentials in an AWS Secrets Manager secret instead of in the request.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
Properties
Endpoint-
The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.
Required: Yes
Type: String
Pattern:
^(?=.{1,255}$)([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)(\.[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?)*$Minimum:
1Maximum:
255Update requires: No interruption
Name-
The name of the database schema that stores the Slurm accounting data. The default is
slurm_acct_db_followed by the cluster ID from the cluster ARN, for exampleslurm_acct_db_a1b2c3d4e5f6.Required: No
Type: String
Pattern:
^[a-zA-Z0-9$_]+$Minimum:
1Maximum:
64Update requires: No interruption
Port-
The port that the accounting database listens on. The default is
3306.Required: No
Type: Integer
Minimum:
1Maximum:
65535Update requires: No interruption
SecretArn-
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.
Required: Yes
Type: String
Minimum:
20Maximum:
2048Update requires: No interruption