AWS Classroomnotes 14/Oct/2022

Deployment of Java Application to Elastic Beanstalk

  • Lets create an Elastic Beanstalk application with Java 11
  • Select Upload code and public s3 url https://referenceapplicationskhaja.s3.us-west-2.amazonaws.com/spring-petclinic-2.4.2.jar
  • Now click on create application
  • This application will be created but the health will be degraded.
    Preview
  • Navigate to elastic beanstalk url we will be getting 502 Bad Gateway
    Preview
  • The reason is elastic beanstalk is trying to check on port 80, but this application runs on port 8080
  • Lets configure elastic beanstalk to check on port 5000.
  • Navigate to configuration
    Preview
    Preview
  • Add the Environment Configuration SERVER_PORT with value 5000 and apply changes
    Preview
    Preview
  • Delete the Environment and application

Deployment of Tomcat application with Java 8

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube