Create a cluster with Ganglia - 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).

Create a cluster with Ganglia


The last release of Amazon EMR to include Ganglia was Amazon EMR 6.15.0. To monitor your cluster, releases higher than 6.15.0 include the Amazon CloudWatch agent.

To create a cluster with Ganglia using the console
  1. Navigate to the new Amazon EMR console and select Switch to the old console from the side navigation. For more information on what to expect when you switch to the old console, see Using the old console.

  2. Choose Create cluster.

  3. In Software configuration, choose either All Applications, Core Hadoop, or Spark.

  4. Proceed with creating the cluster with configurations as appropriate.

To add Ganglia to a cluster using the Amazon CLI

In the Amazon CLI, you can add Ganglia to a cluster by using create-cluster with the --applications parameter. If you specify only Ganglia using the --applications parameter, Ganglia is the only application installed.

  • Type the following command to add Ganglia when you create a cluster and replace myKey with the name of your EC2 key pair.


    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 --name "Spark cluster with Ganglia" --release-label emr-6.15.0; \ --applications Name=Spark Name=Ganglia \ --ec2-attributes KeyName=myKey --instance-type m5.xlarge \ --instance-count 3 --use-default-roles

    When you specify the instance count without using the --instance-groups parameter, a single master node is launched, and the remaining instances are launched as core nodes. All nodes use the instance type specified in the command.


    If you have not previously created the default EMR service role and EC2 instance profile, type aws emr create-default-roles to create them before typing the create-cluster subcommand.

    For more information about using Amazon EMR commands in the Amazon CLI, see