JRebel with Amazon AWS

Any JRebel remote server enabled application (containing rebel-remote.xml) can be used with an Amazon AWS cloud platform instance to take advantage of the remote server support functionality.

Follow the tutorial below to get started with JRebel and Amazon AWS.

Amazon AWS and JRebel tutorial

To get started, you need to sign up with Amazon AWS. Head over to Amazon AWS and click Sign Up to get a free trial account. Once done, you are ready to move on.

  1. Install and configure JRebel on your local workstation.

    1.1 Using Eclipse? Install JRebel for Eclipse and configure JRebel remote server support.

    1.2 Using IntelliJ IDEA? Install JRebel for IntelliJ IDEA and configure JRebel remote server support.

    1.3 Using NetBeans? Install JRebel for NetBeans and configure JRebel remote server support.

  2. Download the standalone JRebel archive here and extract the files from it.

  3. Upload the files to the server instance on Amazon AWS. Make a note of its location.

  4. Add -agentpath:/path/to/jrebel/lib/libjrebel64.so to the server startup parameters. This guarantees that JRebel is started with the server. For specific application server instructions, please refer to the command line startup chapter.

  5. Add -Drebel.remoting_plugin=true to the server startup parameters.

  6. Build and then redeploy your application containing the rebel-remote.xml configuration file to the server.

  7. Configure your project’s Server URL in the IDE to reflect the Amazon AWS application URL.

  8. Press the Synchronize button in your IDE to upload any changes. Your changes should appear like clockwork! Success!