AWS Beanstalk Dropwizard

44 views
Skip to first unread message

Gilberto Minozzi

unread,
Jun 11, 2020, 6:42:41 AM6/11/20
to dropwiz...@googlegroups.com
Hi everybody,

someone knows how can I deploy a .jar in AWS Elastic Beanstalk Java environment?
Thanks,

Gilberto

--
Gilberto Minozzi
Java Developer

 

 
Via A. Riberi, 4 - 10124 Torino - Italia 
tel. 011 9537700 | int. 740


TURIN · ROME · BARI · LIMA · LISBON · MEXICO CITY · PRISTINA · SOFIA
www.advicegroup.it

 LinkedInTwitterYouTube
THINK PROGRESS, CHOOSE ADVICE
 

Before printing this page think about your responsibility with the Natural Environment.
This message is confidential; its contents do not constitute a commitment by Advice Group S.p.A.,
except where provided for in a written agreement. Any unauthorized disclosure, use or dissemination,
either whole or partial, is prohibited. If you are not the intended recipient of the message, please
notify the sender immediately at in...@advicegroup.it.

Aldrin Leal

unread,
Jun 11, 2020, 9:20:18 AM6/11/20
to dropwizard-user
One of the archetypes of Beanstalker [1] actually supports dropwizard, although not the most recent version.

Type `mvn archetype:generate -Dfilter=elasticbeanstalk`. Here's what happens:

[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: remote -> br.com.ingenieux:elasticbeanstalk-docker-dropwizard-webapp-archetype (A Maven Archetype for Publishing Dropwizard-based Services on AWS' Elastic
        Beanstalk Service)
2: remote -> br.com.ingenieux:elasticbeanstalk-javase-archetype (A Maven Archetype Encompassing Jetty for Publishing Java SE Services on AWS'
        Elastic Beanstalk Service)
3: remote -> br.com.ingenieux:elasticbeanstalk-service-webapp-archetype (A Maven Archetype Encompassing RestAssured, Jetty, Jackson, Guice and Jersey for Publishing JAX-RS-based Services on AWS' Elastic Beanstalk Service)
4: remote -> br.com.ingenieux:elasticbeanstalk-wrapper-webapp-archetype (A Maven Archetype Wrapping Existing war files on AWS' Elastic Beanstalk Service)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): :

Its at number one. Hope it helps

[1] Written by yours truly

--
You received this message because you are subscribed to the Google Groups "dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dropwizard-user/CAAeKsP0w%2Bch5KrGCv9_1N%3DtOfVVoj_aYX%2BYDaTFcaLBDdayzig%40mail.gmail.com.

Gilberto Minozzi

unread,
Jun 11, 2020, 9:33:37 AM6/11/20
to dropwiz...@googlegroups.com
Thanks Aldrin I'll try,

but I can't understand why the .jar "zipping" in a folder with a procfile (file with the run parameter of the project for AWS) and the 'config.yml' for the dropwizard application have a lot of problem in Java Beanstalk of AWS. 
But it doesn't have to depends on the version, if you run a *.jar in a Java environment.

Gilberto

Aldrin Leal

unread,
Jun 11, 2020, 9:38:23 AM6/11/20
to dropwizard-user
You can use the javase archetype then. Bear in mind the dropwizard one uses not the Java Runtime, but the Docker one, so its slightly different

Gilberto Minozzi

unread,
Jun 12, 2020, 3:55:58 AM6/12/20
to dropwiz...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages