Log in to the AWS console, select the Elastic Beanstalk service under the Compute category, and click on the Get started button:
Fill in the application details in the next screen:
Upload the product.jar from the target folder and click on the Configure more options button. You will be presented with the different categories which you can configure by selecting Software, and under that, in the Environment properties, add a new environment variable called SERVER_PORT and set the value to 5000. This is necessary, because ...