How to deploy a web service to amazon EC2?
amazon-ec2, eclipse, java, web-services
Solution
There are many possible configurations. This can be one of them:
- Start the application server (probably tomcat) with AJP enabled.
- Use the apache HTTP server JK module to connect the webserver to the Tomcat application.
- Deploy your web application on the application server and make it generate the WSDL using the external domain name or ip. For example: http://www.domain.com/application/service
- Make sure that the Amazon firewall has the port 80 open for that instance.
- If you use domain name, make your DNS point to that host.
Problem
i've just created a web application and deployed it to Amazon EC2 , but now i want to create a java web service and deploy it to instance in Amazon AWS to be able to use it in my Application