This is a Python script that makes it easier to deploy Java applications to Elastic Beanstalk. It supports deploying a single application or multiple applications into a single instance.
You must be running EB CLI tools version 3.4.7 or greater
This script deletes everything in the parent directory of your
.elasticbeanstalk directory except for
This script has only been tested on very simple applications. You run this code at your own peril if you do not understand what is going on.
quick-deploy.py elastic_beanstalk_configuration_directory root_application_directory [application1_directory application1_name] [application2_directory application2_name] ...
elastic_beanstalk_configuration_directoryis the directory that contains the
.elasticbeanstalkdirectory for the application you want to deploy. NOTE: This is not the
.elasticbeanstalkdirectory itself! This is its parent directory.
root_application_directoryis the directory that contains the Java project you want to be deployed as the ROOT application in Tomcat.
Optional parameter set:
applicationX_directoryis the directory that contains a Java project you want deployed at a specific path
applicationX_nameis the path for the project in
You may include zero or more optional parameter sets.
quick-deploy.py three_apps root_app app1 path1 app2 path2
This will look for your
.elasticbeanstalk configuration in the directory
app2 using Maven, and then deploy all three in each EC2 instance running
root_app will be accessible at the root path.
app1 will be accessible at the
app2 will be accessible at the
Want to get the hang of it? Follow the tutorial and try launching a sample stack.