Reputation: 161
I am new to Play framework as well to amazon ec2. I have a play 2.1 application which i want to deploy on amazon ec2. I have amazon microinstance already set up. Is there any guide or steps available that I can follow ?
Upvotes: 6
Views: 4193
Reputation: 631
See the links attached to each step that you need to take:
Copy your application (add -r
option to scp
if copying the whole folder)
Upvotes: 4
Reputation: 21564
Use the dist command from the Play console, then copy the zip on your EC2 server, unzip it, and run your app using the start
script.
You can also use some other config, take a look at the doc.
And it is also better to put a HTTP frontend.
Upvotes: 5