The cluster template feature is used for persistent storage and reuse of E-MapReduce (EMR) cluster configurations. A cluster template contains the required configurations (except for the password) to create an EMR cluster. You can store arbitrary configuration information of the cluster based on your business requirements, such as the software version, instance type, and key pair. You can use the cluster template feature to create an EMR cluster with a few clicks. This topic describes how to create a cluster template.
Limits
You can create a maximum of 30 cluster templates in the same region.
Cluster templates support only key pairs. Passwords are not supported.
Procedure
Go to the Manage Cluster Templates panel.
Log on to the EMR console. In the left-side navigation pane, click EMR on ECS.
In the top navigation bar, select the region in which you want to create a cluster template and select a resource group based on your business requirements.
On the EMR on ECS page, click Manage Cluster Templates.
In the Manage Cluster Templates panel, click Create Template.
In the Configuration Confirmation step of the Cluster Template page, configure the Cluster Template Name and Cluster Template Resource Group parameters, read the Terms of Service and select the check box, and then click Create Cluster Template.
NoteThe parameters that you need to configure are the same as the parameters that you need to configure when you create a cluster. Configure the parameters as prompted. For more information, see Create a cluster.
Cluster Template Name: Enter a cluster template name to facilitate template management. The name must be 1 to 64 characters in length and can contain only letters, digits, hyphens (-), and underscores (_).
Cluster Template Resource Group: Select an existing resource group based on your business requirements or click Create Resource Group to create a resource group. This helps you manage cluster templates by group.
The Manage Cluster Templates panel displays the cluster templates that you created in the current region and that you managed in the current resource group.
Parameter
Description
Template ID
The template ID. The value of this parameter is automatically generated by the system.
Template Name
The name of the cluster template.
Created At
The time when the cluster template was created.
Last Modification Time
The time when the cluster template was last modified.
Actions
Create Cluster: Create a cluster based on the configurations of a cluster template that you selected. For more information, see Create a cluster based on a cluster template.
Edit: Modify the configurations in the cluster template.
Copy: Copy a cluster template.
Delete: Delete a cluster template.
References
For information about how to create an EMR cluster based on a cluster template, see Create a cluster based on a cluster template.
For information about how to create a resource group, see Create a resource group.