Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Deploying an application using elastic beanstalk in Amazon Web Service, Java, to

ID: 3807491 • Letter: D

Question

Deploying an application using elastic beanstalk in Amazon Web Service, Java, tomcat, json, and maven. So far I have created a dynamic web project in eclipse, converted it to a maven project, created the .java files and target war file by doing a maven clean install and uploaded them on AWS elastic beanstalk. From there, as far as I know, the application should be accessable from http://yourEIP/yourServletName, but I get a 404 when I do that I have been researching for a while and can't seem to figure out where I'm going wrong.

http://34.203.106.104/Test

please let me know if any additional information is required to assist.

Explanation / Answer

aws.push is not only for PHP applications, instead it can also be used for deploying Java and PHP applications. I have successfully used along with Apache Ant and the setup works fine in our UAT environment.

I developed a shell script which does the following:

(I don't have access to the shell script right now, so I may not be able to provide the detailed commands)

Here is the Shell Script in the basic form

There is a known issue with this script related to stale class files. To get away with it you may have to clean up the git repo.

Here is the ant target:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote