Deploying Application in AWS
AWS Elastic Beanstalk is a Platform as a Service (PaaS) offering from Amazon. We will use it to deploy the PetClinic application on the AWS platform. The good part is we need not to manage infrastructure or even platform as it is a PaaS offering. We can configure scaling and other details.
These are the steps to deploy an application on AWS Elastic Beanstalk:
Elastic Beanstalk supports the following programming languages and platforms:
Let's create a sample application to understand how Elastic Beanstalk works and then use the Jenkins plugin to deploy an application:
Go to the AWS management console and verify whether we have a default Virtual Private Cloud (VPC). If you've deleted the default VPC and subnet by accident, send a request to AWS customer support to recreate 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...