Skip to main content


Deploying Unravel from the AWS Marketplace

This page describes how to launch an Unravel Server from the AWS Marketplace and connect EMR clusters to it. Use these instructions for test or development environments only; for production environments, see Amazon Elastic MapReduce (EMR).

Unravel for Amazon EMR is the only solution to provide full-stack monitoring, tuning, troubleshooting and resource optimization for big data running on Amazon EMR. Unravel goes beyond passive monitoring to highly automated and intelligent management and optimization of data pipelines and applications.

This topic helps you set up the below configuration.


We take you through the following steps, to get Unravel for Amazon EMR up and running via the AWS Marketplace.


A few things to note before getting started...

  • For Unravel Server to be able to monitor your EMR cluster(s), you need to:

    • Allow Unravel Server to access EMR cluster(s) nodes' TCP ports 8020, 50010, 50020.

    • Open Unravel Server's port 4043 for receiving traffic from the EMR cluster(s).

  • To access Unravel UI, you need to open port 3000 on Unravel Server for HTTP access.

No action is needed right now. We'll walk you through these actions later.

Step 0: Meet the network prerequisites

You can choose your own VPC/subnet settings/security groups as long as you can achieve the requirements mentioned in the Backr section above. In this case, you would also have appropriate VPN connections or NAT Gateways available for this VPC do you can connect to the Unravel Server via the internal/external IP address as applicable.


You can create a new one to quickly check out Unravel for EMR as described below. For ease of use, we are creating a VPC with a Single Public Subnet.

  1. Log into the AWS VPC Dashboard.

  2. Click Launch VPC Wizard.

  3. Select the first option, Select a VPC Configuration.

  4. Add the names for the VPC and subnet and click Create VPC to create the VPC and related subcomponents.

  5. On the AWS VPC Dashboard, click Subnets on the left-hand menu and select the subnet just created. Click the Actions | Modify auto-assign IP settings.

  6. Select the Enable auto-assign public IPv4 address checkbox, and click Save.

Step 1: Launch and set up Unravel Server
Step 1 (a): Find Unravel for Amazon EMR from the Marketplace
  1. Search for Unravel for Amazon EMR in the AWS Marketplace.

  2. On the listing page, Click Continue to Subscribe.

  3. On the subscription page, click Continue to Configuration.

  4. Choose a version and location:

    • On the Configure this software page, select the latest software version and the same region where you plan to create EMR clusters (Unravel Server can reside in a different region, but then you'll need to set up VPC peering.

    • Click Continue to Launch to continue with the setup.

      Note that there are several steps to be done next before the instance is actually launched.

  5. Launch the software:

    On the Launch this software page, select Launch from Website from the dropdown and then click Launch.



Note that some more steps remain before the instance is actually launched.

Step 1 (b): Choose an instance type

The instance type you choose depends on the number of applications to be monitored on a daily basis and other factors. You can leave the default value as is.

Step 1 (c): Configure VPC and subnet settings

Choose the VPC and Subnet that you created or a suitable one as discussed in the Background section above.

Step 1 (d): Configure security group settings
  1. Click Create New Based On Seller Settings.

  2. Name the security group anything you like and make a note of its name.

    Note: Unravel recommends limiting access to only known IP addresses.

    For example, Unravel for Amazon EMR-1. Enter any description you like.

  3. Click Save.


For enhanced security, you can change the rules above based on your setup and Unravel's requirements.

Step 1 (e): Configure key pair settings

Choose an existing key pair that connects to this instance or create a new one, and then click Launch.

Step 1 (f): Log into Unravel UI

Once the AMI has instantiated and Unravel is installed, which can take 10-15 minutes, log into Unravel UI.

  1. Get the hostname or IP of the instance from the AWS Console:

  2. Navigate to http://hostname-or-ip-address-of-the-instance:3000 with a web browser.

  3. Log in with username admin and admin password. You must SSH into the instance to get the admin password.


Next, let’s connect a new EMR cluster to Unravel Server.

Step 2: Connect a new EMR cluster to Unravel Server
Step 2 (a): Create a new EMR cluster and connect Unravel
  1. Go to AWS EMR Dashboard and click Create Cluster.

  2. Click Go to advanced options.

  3. Select the release and the services you want to install.

  4. Click Next.

  5. Select the same VPC and subnet as the one chosen for Unravel Server (Unravel Server can reside in a different VPC, but then you would need to set up VPC peering).

  6. Click Next.

  7. Add a bootstrap action.

    • In this section, go the Bootstrap Actions section, select Custom Actions, and click Configure and Add.


      That brings up a dialog box like this:

  8. In the Script location text box, enter s3://unraveldatarepo/

  9. In the Optional Arguments text box, do the following:

    • Make a note of the private IP from your Unravel instance:

    • Add --unravel-server unravel-ec2-private-ip-address --bootstrap

  10. Click Save in the dialog box, and then click Next.

  11. In the next screen, as shown below, select a key pair to be able to connect to the EC2 nodes and also make a note of the names of the security groups encircled below, as you modify them.

  12. Click Create Cluster.

Step 2 (b): Modify EMR cluster security groups so that Unravel Server has adequate access
  1. To find the security group ID of the security group named Unravel for Amazon EMR-1, navigate to Security Groups from the left panel in your AWS console and search for Unravel for Amazon EMR-1.

  2. Make a note of the group ID.

    For example, in the screenshot above, the group ID is sg-0564b1b8902ecf611.

  3. From the EMR cluster’s screen (where it shows its status in the creation process), navigate to each of the two security groups highlighted in the screenshot below.



    You only need to change these security groups once.

  4. Click the group, select one, click the Inbound tab, and click Edit.

  5. Click Add Rule.

  6. Add three rules as follows and then Save (as shown in the screenshot below):

    • Type = Custom TCP, Protocol = TCP, Port Range = 8020, Source = security-group-ID-of-Unravel-Server’s-security-group

    • Type = Custom TCP, Protocol = TCP, Port Range = 50010, Source = security-group-ID-of-Unravel-Server’s-security-group

    • Type = Custom TCP, Protocol = TCP, Port Range = 50020, Source = security-group-ID-of-Unravel-Server’s-security-group

  7. Make the above changes to both the security groups corresponding to the EMR cluster.

See Connecting Unravel Server to a new or existing EMR cluster If you are connecting to an existing EMR cluster or for more advanced options

Step 3: Check out the Unravel UI with your EMR cluster connected

Once the cluster is created, and you go back to the Unravel UI (http://hostname-or-ip-address-of-the-instance:3000), within a few seconds, you should see the cluster ID in the main dashboard dropdown on the right and some data in various charts.


You can now run applications in your cluster and use Unravel to optimize them. Applications you run show up in the Applications tab.

Next Steps
  • See Unravel product documentation to learn more about how to use Unravel.

  • Run Unravel Spark benchmark scripts (specifically Benchmarks 2.0.x) to see the value for Unravel Insights and Recommendations.

Try the full Unravel product free for 30 days. To get help for setting up or using Unravel for AWS EMR please contact us as at Unravel AWS Markertpcee help.