8 min read
If you’ve been keeping tabs on all the great product enhancements that have been coming out of MapR, you will know that the 5.2 version of the MapR Data Platform went GA this summer. It takes a few cycles to make the platform available on the AWS marketplace, largely due to the testing efforts required. We’re pleased to announce that version 5.2 can now be deployed on the AWS marketplace.
MapR has worked closely with AWS to develop AMIs (Amazon Machine Images) that enable hourly usage of the MapR Data Platform on AWS. These AMIs, which are pre-loaded and preconfigured with the MapR software and the required supporting operating system, can be launched using Cloud Formation Templates. Cloud Formation Templates automate the provisioning of the resources required to form a MapR cluster, and ensure that the MapR software is installed properly. This blog post will cover the details of how you can get a MapR cluster up and running in less than 20 minutes.
MapR has partnered with the AWS marketplace to make the install extremely easy. This will be very beneficial to both new customers and the many MapR partners and customers who already have AWS accounts.
Point your browser to https://aws.amazon.com/marketplace. In the search area, type in MapR and you will find a few MapR AWS marketplace offerings as illustrated below.
Select the desired offering.
After you have selected a desired offering, you will see a screen as illustrated below. Go ahead and select your region and how many nodes you want in the MapR cluster. You can either select a single AMI or multi-node cluster deployment. You can review the estimated price associated with your selections in this step.
Select “Continue” to the next step.
In this step, you will confirm the launch options such as the MapR version, single node or cluster deployment, AWS region, as well as the terms for pricing.
Once you are comfortable with your selections, click “Launch with CloudFormation Console” to move forward.
In this step, you are going to use a CloudFormation template to launch the cluster. You can choose between a custom template or use an AWS tested template (default) to launch. If you are not sure about what to do, just leave everything as default.
Click “Next” to move forward.
In this step, you can specify the valuables pertaining to your cluster such as number of nodes, cluster name, etc. You can leave everything as default except the KeyName, PersistentStorage, RemoteAccessCIDR and VpcSubnetId. Type in your desired Keyname if you already have a keypair for EC2. If not, you should generate one for later to ssh into the cluster nodes as user “ec2-user” passwordlessly.
In the PersistentStorage field, you can specify the size (in GB) for each of the four EBS drives per instance. You can restrict the inbound traffic originated from the IP constrained by RemoteAccessCIDR. If you are not sure what to do, type in 0.0.0.0/0 in this field.
Finally, in the VpcSubnetId field, you can specify the subnet net you have with your EC2 account. If you don’t have one, go to https://console.aws.amazon.com/vpc and select “Subnets” on the left pane to create one.
Click “Next” to proceed.
In this step, you can tag your resources in the stack. If you are not sure what to do, don’t type anything here and click “Next” to continue.
Note that while highly unlikely, the deployment may sometimes fail due to network/resource contention on the cloud environment. It is a good idea to turn off roll back of the deployment so further troubleshooting can be done by logging into the instances.
To do that, click on the “Advanced” menu, and check “No” for the “Rollback on failure” option as described in the screenshot below.
In this step, you have a final chance to review all the variables before launching the cluster. Carefully review them and acknowledge the IAM capabilities at the bottom, then click “Create.”
After the CloudFormation launch, you will be able to see the progress of the cluster creation. Click on the “Events” tab to view the status.
After the installation has completed successfully, click on the “Outputs” tab. You will see login credentials and a URL to access the MCS console (highlighted with a redbox in the below screenshot). Use those credentials to login to MCS to start the cluster administration.
Then click “Auto Scaling Groups” located on the left pane, then click “Edit”
Now in the “Suspended Processes” menu, add “Launch” and “Terminate,” then click “Save”
Now you can log in to every cluster node and issue “service mapr-warden stop” and “service mapr-zookeeper stop” commands to shut down MapR. After that, you can safely shut down your instances.
We have walked you through how to spin up a MapR cluster on AWS Marketplace. In order to take full advantage of the MapR cluster for your big data analytics, we recommend that you try Apache Drill, a schema-less open source SQL engine that lets you perform interactive SQL queries on any type of data.
Check out the test drive that includes Apache Drill along with the MapR Data Platform. The test drive includes a tutorial that walks you through the steps required to query data stored in a MapR cluster using Drill, and extract insights and visualize the findings using Tableau, a leading visualization tool that is part of the broader ecosystem.
Stay ahead of the bleeding edge...get the best of Big Data in your inbox.