Specifying the Amazon EBS root device volume size - Amazon EMR
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Specifying the Amazon EBS root device volume size

This option is available only with Amazon EMR version 4.x and later. You can specify the volume size from 10 GiB (the default) up to 100 GiB when you create a cluster using the Amazon Web Services Management Console, the Amazon CLI, or the Amazon EMR API. This sizing applies only to the EBS root device volume and applies to all instances in the cluster. It does not apply to storage volumes, which you specify separately for each instance type when you create your cluster.

For more information about Amazon EBS, see Amazon EC2 root device volume.

Note

If you use the default AMI, Amazon EMR attaches General Purpose SSD (gp2) as the root device volume type. A custom AMI may have a different root device volume type. However, the minimum root volume size for a custom AMI is also 10 GiB. For more information, see Using a custom AMI.

The cost of the EBS root device volume is pro-rated by the hour, based on the monthly EBS charges for that volume type in the Region where the cluster runs. The same is true of storage volumes. Charges are in GB, but you specify the size of the root volume in GiB, so you may want to consider this in your estimates (1 GB is 0.931323 GiB). To estimate the charges associated with EBS root device volumes in your cluster, use the following formula:

($EBS GB/month) * 0.931323 / 30 / 24 * EMR_EBSRootGiB * InstanceCount

For example, take a cluster that has a master node, a core node, and uses the base Amazon Linux AMI, with the default 10 GiB root device volume. If the EBS cost in the Region is USD $0.10/GB/month, that works out to be approximately $0.00129 per instance per hour and $0.00258 per hour for the cluster ($0.10/GB/month divided by 30 days, divided by 24 hours, multiplied by 10 GB, multiplied by 2 cluster instances).

Note

We’ve redesigned the Amazon EMR console to make it easier to use. See What's new with the console? to learn about the differences between the old and new console experiences.

New console
To specify Amazon EBS root device volume size with the new console
  1. Sign in to the Amazon Web Services Management Console, and open the Amazon EMR console at https://console.amazonaws.cn/emr.

  2. Under EMR on EC2 in the left navigation pane, choose Clusters, and then choose Create cluster.

  3. Under Cluster configuration, go to the Cluster scaling and provisioning option section. Expand the arrow for EBS root volume and enter a value between 10 GiB and 100 GiB.

  4. Choose any other options that apply to your cluster.

  5. To launch your cluster, choose Create cluster.

Old console
To specify Amazon EBS root device volume size with the old console
  1. Use this direct link to navigate to the old Amazon EMR console at https://console.amazonaws.cn/elasticmapreduce. For more information on what to expect when you switch to the old console, see Using the old console.

  2. Choose Create cluster.

  3. Choose Go to advanced options.

  4. Under Software Configuration, for Release, choose Amazon EMR version 4.x or later. Choose other options as appropriate for your application, and select Next.

  5. Under Hardware Configuration, for Root device EBS volume size, enter a value between 10 GiB and 100 GiB.

CLI
To specify Amazon EBS root device volume size with the Amazon CLI
  • Use the --ebs-root-volume-size parameter of the create-cluster command as shown in the following example.

    Note

    Linux line continuation characters (\) are included for readability. They can be removed or used in Linux commands. For Windows, remove them or replace with a caret (^).

    aws emr create-cluster --release-label emr-5.7.0 \ --ebs-root-volume-size 20 --instance-groups InstanceGroupType=MASTER,\ InstanceCount=1,InstanceType=m5.xlarge InstanceGroupType=CORE,InstanceCount=2,InstanceType=m5.xlarge