Export service configurations from an EMR cluster to back up, migrate, or restore settings, or to apply them as preset configurations when creating a new cluster.
EMR supports two export formats:
XML: For backup, migration, and restoration of service configurations.
JSON: For use as preset configurations when creating a new cluster. JSON exports can also be imported into a new cluster.
Only JSON-format exports can be imported as preset configurations. XML exports cannot be used for import.
Export service configurations
Prerequisites
Before you begin, ensure that you have:
An EMR cluster in the EMR console
Export configurations
Log on to the EMR console. In the left-side navigation pane, click EMR on ECS.
In the top navigation bar, select the region where your cluster resides and select a resource group.
On the EMR on ECS page, find your cluster, move the pointer over the
icon in the Actions column, and then select Export Service Configuration.In the Export Service Configuration dialog box, select the configuration files to export and configure the following parameters.
Parameter Description Export Mode By default, the Export Only Custom or Modified Configurations check box is selected, which exports only the configurations you have customized or changed. Clear this check box to export all service configurations in the cluster. Export Format Select XML to export configurations for backup, migration, or restoration. Select JSON to export configurations as preset values for a new cluster. Click OK.
Import service configurations
Use a JSON-format export to preset service configurations when creating a new EMR cluster.
Prerequisites
Before you begin, ensure that you have:
A service configuration file exported in JSON format
Import configurations
On the EMR on ECS page, click Create Cluster.
In the Advanced Settings section of the Software Configuration step, turn on Custom Software Configuration.
Copy the content of the JSON configuration file into the field that appears.

Click Next: Hardware Configuration to continue creating the cluster.
For more information about creating a cluster, see Create a cluster.
What's next
After exporting service configurations, you can:
Store the XML export as a backup copy and restore it if cluster configurations change unexpectedly.
Use the JSON export when creating a new cluster to replicate the configuration of an existing cluster.