amazon ec2 - Which tool makes deployments of java applications on EC2 easier? -


i have (simple spring-boot) java application want deploy , run on our ec2 platform. there (apart custom ec2 solution) opsworks , beanstalk, think opsworks better fit because easier extend.

which tool fill best gap between user code , ec2 platform? want to:

  • be able startup , shutdown application, i.e. want usual exit hooks run on application restart/stop/shutdown
  • notice when application startup fails. (deploy should not marked successful or application shall no healthy). guess part needs preparation in user code, container or run script can notified once setup successful.

the default java config of opsworks adds additional apache httpd in front of tomcat. don't additional component because introduces additional parts have debug in case of errors (timeout configs example).

so recommend war or jar solution? use opsworks? , if use opsworks, use additional layer/tool managing deployments? deployment must possible on command line (so can automate alpha deploys jenkins). maven integration nice not required.

if want easy deployment of java or spring boot app on aws, boxfuse want.

for spring boot application literally have execute:

boxfuse run my-springboot-app-1.0.jar -env=prod 

this will

  1. create ami application ready boot
  2. create elastic ip or elb health check url defined in spring boot config
  3. create security group ports defined in spring boot config
  4. create auto-scaling group
  5. launch instance(s)

any subsequent update done 0 downtime blue/green deployment.

all deployments automatically ensure healthchecks pass before sending traffic new instances , taking old version offline.

more info: https://boxfuse.com/getstarted/springboot

disclaimer: founder , ceo of boxfuse


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -