Deploy java web application in AWS: Jenkins auto deploy | How to host java web application in  aws

Deploy java web application in AWS: Jenkins auto deploy | How to host java web application in aws



This video will demonstrate about how to deploy java based web application on Amazon windows EC2 instance, using manual process and jenkins. First manually application is deployed and then, those steps have been done using automated script.

In the video github is used as code repository. Java code written in eclipse is pushed to github and then is deployed in AWS ec2 container using jenkins free style project. Jenkins install and setup is shown in the video.

Batch command used:

FOR /F “tokens=5 delims= ” %%P IN (‘netstat -a -n -o ^| findstr :8085.*LISTENING’) DO TaskKill.exe /F /PID %%P

mvn clean install

start java -jar ./target/aws-demo-0.0.1-SNAPSHOT.jar

#channelcodeboard #java #springboot #jenkins #aws

deploy java web application in aws,how to deploy java web application in aws,aws java web application tutorial,aws java tutorial,aws java,aws java sdk ec2 example,creating java web application on aws,aws java developer tutorial,what is aws,deploying web application on aws,why java web applications in aws,how to deploy web applications on aws,aws training, ec2, jenkins, ci cd, auto deplyment, spring, spring boot, git, github, amazon web service, java, deployment, jenkins pipeline, spring web, spring rest controller

3 thoughts on “Deploy java web application in AWS: Jenkins auto deploy | How to host java web application in aws

  1. Great video! Could I run a docker image in the execute windows batch command window? I'm trying to run my jar file in docker. Thanks.

  2. Dear code board , can you please make a tutorial as spring webapplication with MySQL connection and same deployed on AWS. Every tutor is missing this thing. It will make your video unique. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *