Saturday, 19 September 2015

Deploying a Play app in Amazon AWS



I hope that you are clear with Amazon AWS basics and Play Application Basics otherwise Google Zindabad!

Step 1: Copy your full Play app folder over to Cloud using FTP



Step 2: Navigate to the folder and issue "sudo java -jar activator-launch-1.3.5.jar clean stage"



Step 3: Issue " sudo /usr/share/play/newtest/target/universal/stage/bin/play-java -Dapplication.secret=sdhfjshdglhevcbc  &"  where /usr/share/play/newtest is the directory to play.



Step 4: Please ensure that your security group in AWS allows connection on 9000 port, so that you can access Play app from ExternalIP:9000 port on browser.






Comment for any queries. 
https://twitter.com/rishitios
https://twitter.com/SufismNayan






No comments:

Post a Comment