AWS Elastic Beanstalk is a Platform as a Service (PaaS). We will use it to deploy the PetClinic application. These are the steps you need to follow to deploy an application on AWS Elastic Beanstalk:
Deploying a WAR file from Jenkins to AWS Beanstalk
Getting ready
Let's create a sample application in Elastic Beanstalk to understand how Elastic Beanstalk works. Then, we will use the Jenkins plugin to deploy an application into it.
Click on Services in the AWS management console and select AWS Elastic Beanstalk. Create a new application named petclinic. Select Tomcat as a Platform and select the Sample application radio button:
Verify the sequence of events for the creation of a sample application:
It will take some time...