Deploy JRapid Apps to AWS Elastic Beanstalk

From JRapid

Jump to: navigation, search

AWS Elastic Beanstalk is an easy way to quickly deploy and manage applications in the AWS cloud infrastructure. Apps built with JRapid are a perfect fit for this service.

Follow the steps below to host your own JRapid project in the AWS Elastic Beanstalk.

In the JRapid Designer for your project, use the Deploy -> Download WAR File menu option to download a WAR file to you local disk.


File:Screenshot-8.jpg


Once you have the WAR file to deploy, go to AWS and log in with your credentials.


File:Screenshot-9.jpg


In the AWS Management Console select the Elastic Beanstalk tab. You will need to sign up for the service if you haven't done so yet.


File:Screenshot-11.jpg


Use the create first application wizard to launch your first AWS Elastic Beanstalk application instance. Select the Upload your own application option and click Launch Application.


File:Screenshot-13.jpg


Enter a name for your application and select the Application Source to upload your own application.


File:Screenshot-14.jpg


Click on the Choose File button and browse you local disk to find the WAR you downloaded from JRapid Designer in the first step.


File:Screenshot-15.jpg


Once the WAR is uploaded, enter an environment name and URL to access you app. Select 32bit Amazon Linux running Tomcat 6 as the container type. Click Continue.


File:Screenshot-17.jpg


In the Configuration Details page, select the Instance Type and click Continue again.


File:Screenshot-18.jpg


At last, you'll get to the Review page and last step of the wizard. If everything looks OK, click on Finish.


File:Screenshot-19.jpg


When the application is launched with success, the following message is shown.


File:Screenshot-22.jpg


The AWS Management Console will show the new environment and its current status. At first, it will note that it is waiting for the instance to launch. This may take several minutes.


File:Screenshot-23.jpg


When the instance is launched and the app is finally running, you'll see the environment details as follows.


File:Screenshot-26.jpg


Click on the URL and your browser will take you to your JRapid app running instance.


File:Screenshot-27.jpg


Congratulations, you've just launched your first JRapid App running on AWS Elastic Beanstalk!

Personal tools