I\'m trying to create a web project that is able to communicate with Amazon RDS. I know how to make a localhost project connect to a RDS with JDBC.
However, the problem
Boxfuse does exactly what you want.
For you Java web application you literally only have to execute:
boxfuse create my-tomcat-app -apptype=load-balanced
boxfuse scale my-tomcat-app -capacity=1-16:t2-micro:cpu25-75
boxfuse run my-tomcat-app-1.0.war -env=prod
This will
Any subsequent update will be done as a zero downtime blue/green deployment.
For your domain, you can simply map your samepage.com DNS record to the CNAME of the ELB.
More info: https://boxfuse.com/blog/auto-scaling
Follow the steps below:
apache-tomcat-folder\bin\startup.bat
. (You can also donwload an installer and set it up as windows service. Check this link for more details).http://yourinstaceaddress.com:8080/
)..war
file
.war
file name and folder to export. More detailed explanation can be found here and here (with pictures)..war
file to your Tomcat Server
.war
(say myapp.war
) file in your apache-tomcat-folder\webapps\
folder..war
's name was myapp.war
. You should visit http://yourinstaceaddress.com:8080/myapp
That's it. If you ever edit the app, repeat steps 2-4 (but delete the webapps\myapp\
folder created before executing step 3).