Application deployment - how to

asked 2016-06-09 03:39:23 -0600

laurentiusoica gravatar image

updated 2016-06-09 08:36:49 -0600

Hello,

I plan to deploy a Java application in openstack, on multiple instances (spawned on demand, depending on load) .

I will probably need a heat template that will deploy the app, using an image already uploaded in glance (please correct me if I'm wrong). Other than heat templates, what options do I have for deployment ?

In case of a new release of the application, how will I manage the update deployment ? :

  • if the glance image needs to be updated, is there a way to update it or I need to delete it and upload a new one.
  • what should I do with the running instances? Do I need to terminate them and spawn new ones with the new software? Is there a way to update them while running?
  • to what extent could the upgrade process be automated and how? Do I need to manually stop/update every running image?

Thanks

edit retag flag offensive close merge delete

Comments

My guess is that your use case might be treated much easier via RDO Mitaka packstack deployment ( on VMs) with external network been set up via linux bridge as you did in TripleO set up. Due to Nova-Docker pretty straight forward installation on Compute Node.

dbaxps gravatar imagedbaxps ( 2016-06-09 08:47:50 -0600 )edit

See https://www.linux.com/blog/java-serve...
Ignore VLAN specific of external networks, using flat exernal network provider would work same way as well .

dbaxps gravatar imagedbaxps ( 2016-06-09 08:51:51 -0600 )edit

As far as HA Controller has not been setup, particular config would be much easier to maintain via Nova-Docker driver due to almost any Java EE Server (GF,Tomcat,Jboss and etc) has ready to go docker image, which been uploaded to Glance allow me maintain any Java stuff been compiled via Netbeans

dbaxps gravatar imagedbaxps ( 2016-06-09 09:03:52 -0600 )edit