Friend of mine asking about deploying PlayFramework application on EC2(Elastic Compute Cloud).So I dicided to write all the steps required. Following are the steps for deploying play app on EC2.
- Creating EC2 instance
- Create Amazon account and "Sign Into Console"
- Select "Launch Instance".
- Choose Amezon machine image , select ubuntu Srever.
- Choose Available micro Instance. Select next setting upto to "Configure Security Group".
- Add Security Rule for SSH,HTTP,HTTPS, Basically these rule control traffic.
- Launch Instance.
Please find following image for more info
- Create key
- Save generated key on your machine, we need it while connecting using SSH.
- Create Elastic IP
- Select your instance while creating Elastic IP.
- Connect EC2 instance using ssh
- Install JAVA 8 on EC2
- Install Play framework on EC2.
- Create and deploy distribution.
- Port Forword (default 8080 to plays default 9000)
- Register with Godaddy .








Thanks
ReplyDeleteWill write remaining part. How connect using ssh and all end point. If point is not clear please let Mr know
ReplyDelete