Jiten Gupta
Jiten Gupta

Reputation: 161

Deploy Play 2.1 in amazon ec2 instance

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

Answers (2)

twowo
twowo

Reputation: 631

See the links attached to each step that you need to take:

  1. Connect to your ec2 instance

  2. Install Play

  3. Copy your application (add -r option to scp if copying the whole folder)

  4. Run the application

Upvotes: 4

ndeverge
ndeverge

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

Related Questions