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.
Install and configure JRebel on your local workstation.
Download the standalone JRebel archive here and extract
The JRebel ZIP archive contains two
- JRebel Legacy Agent is located in the root folder.
- JRebel 6 Agent is located in the
libfolder. Please note that all files from the
libfolder are required when using this agent.
When in doubt, use the JRebel Legacy Agent. For more information, please refer to switching between JRebel Agents.
Upload the preferred agent to the server instance on Amazon AWS. Make a note of its location.
-agentpath:/path/to/jrebelto 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.
-Drebel.remoting_plugin=trueto the server startup parameters.
Build and then redeploy your application containing the
rebel-remote.xmlconfiguration file to the server.
Configure your project’s Server URL in the IDE to reflect the Amazon AWS application URL.
Press the Synchronize button in your IDE to upload any changes. Your changes should appear like clockwork! Success!