How to Deploy Spring Boot and AWS Elastic Beanstalk

Overview of Steps AWS EBS expects for your apps to listen on port 5000 Update your Spring Boot application.properties to use: server.port=5000 Select Web App > Platform Java Upload the JAR file Create basic Spring Boot app Start with a simple REST Spring Boot app. In application.properties, change port to 5000: server.port=5000 Open terminal window cd project directory mvn clean [...]