flavian flavian - 1 year ago 112
Java Question

Where to add .ebextensions in a WAR?


  • AWS Elastic Beanstalk

  • Java application

  • .ebextensions currently placed in src/main/resources/.ebextensions

Commands are not being executed.

Where is the .ebextensions supposed to go in a Java application?

Answer Source

.ebextensions should be placed in the root of WAR.

The WAR structure looks like the following:

          |   |_ 01run.config
          |   |_ 02do.config
               |_ classes
               |_ lib
               |_ web.xml

Refer to the official AWS docs for further information.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download