• 0.11

Package ".ebextensions" for Amazon Elastic Beanstalk

For in-server operations Amazon Elastic Beanstalk proposes a mechanism based on YAML .config configuration files stored in .ebextensions directory of your WAR package. Read more about them here. Also, pay attention to configurable resources.

This is how we recommend to package these files in Maven. Configure maven-war-plugin in pom.xml:

    [...other configuration...]

All of them will be picked up by maven-war-plugin during packaging, filtered (all ${...} sequences replaced with real values), and placed into .ebextensions directory of WAR archive.

This mechanism can be very useful for, say, syslog configuration.