#AI · AWS RapidMiner Java 8 X11 Windows · 2018-06-29 · Thomas Ott

~2 min read

For a project I had to spin up an EC2 instance and install RapidMiner Studio there. I needed a static IP to make some connections to a database across the ocean and figured AWS was the easiest route. It turned out not to be that easy.

I ended having to install Java 8, RapidMiner Studio, X11 Windows, XMING server, and use Putty to bring it all together. The end result, I had to port forward X11 to my Windows Laptop. It works but it's a bit complex and slow.

Spin up an AWS instance

First you have to spin up an instance on AWS. I chose a bare bones Linux AMI and installed Java 8 on it. You don't need to select an static IP but make sure create the appropriate security group and enable port 22 in your security group or else Putty won't work.

Then install RapidMiner Studio. I used the latest (version 8.2) Linux version and downloaded it using the 'wget' command. I saved it into a folder called 'work'. You can save it anywhere but make sure to unzip it. It will create a RapidMiner-Studio folder.

Connect via Putty

I won't get into details here on how to connect Putty to AWS but here is a great tutorial from Amazon.

Connect and then install the X11 libraries. I found how to do it here. Also, you'll have to enable X11 port forwarding in Putty, see the article on how to toggle it on.

Then logoff.

Install XMING Server

You're going to need XMING Server if you're coming from Windows. You can get it here. Install it and launch it.

Connect to your AWS instance

Using Putty, connect back to AWS instance. Once there, test your XMING and X11 installation by typing 'xeyes'. If everything is installed correctly, you should get a window pop up with googly eyes.

Then navigate to where you install RapidMiner Studio, find the RapidMiner-Studio.sh file and execute it doing './RapidMiner-Studio.sh'

If everything is correct, RapidMiner Studio should pop up like the image above.

Done. Put a fork in me.