We will first create a server for the EBS Tomcat platform in Eclipse. Go to the Servers view in Eclipse. In the default JEE perspective, this view is located in one of the tabs at the bottom, below editors. Right-click it and select New | Server:
From the Amazon Web Services group, select AWS Elastic Beanstalk for Tomcat 8, or whichever is the latest Tomcat configuration that's available. Keep the other default options. Click Next:
Select the option to Create a new application ...