How to deploy a web service on Amazon EC2?

I just created a web application and deployed it on Amazon EC2, but now I want to create a java web service and deploy it on an instance in Amazon AWS in order to be able to use it in my application

+6
source share
1 answer

There are many possible configurations. This may be one of them:

  • Start the application server (possibly tomcat) with AJP enabled.
  • Use the apache HTTP server JK module to connect the web server to the Tomcat application.
  • Deploy the web application on the application server and create it by creating WSDL using an external domain name or ip. For example: http://www.domain.com/application/service
  • Verify that the Amazon firewall has port 80 open for this instance.
  • If you are using a domain name, make your DNS address the specified host.
+2
source

Source: https://habr.com/ru/post/917090/


All Articles