Ask Your Question

how to deploy application to instances

asked 2015-09-02 18:53:18 -0500

hansyin gravatar image

Just start to learn openstack. successfully setup a basic openstack environment and launched one instance. Maybe stupid question, Now I'm thinking how to push/deploy application to instances. openstack is not only a vm hosting environment,right? how can I setup application(like a ftp/http server) and push it to specified instances? and how to survive one compute node failure? Can somebody shared a link to learn?


edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2015-09-03 02:53:18 -0500

I would recommend you to start exploring on openstack orchestration component Heat - ( By which you can orchestrate both infrastructure provisioning & application deployment. Application deployment can be achieved in two ways by User-data & software config/deployment.

Have a look on the below Heat template which does provisioning a instance and install MySQL, Wordpress applications. (

edit flag offensive delete link more


Thanks, this link is what I want.

hansyin gravatar imagehansyin ( 2015-09-03 19:24:43 -0500 )edit

answered 2015-09-02 19:26:42 -0500

smaffulli gravatar image

The instances are virtual machines so you can install applications in them by logging in and us the package manager, for example.

A different way is to use cloud-init. Have a look at how an instance can be created and an application deployed using python and libcloud

edit flag offensive delete link more


thanks a lot. learning...

hansyin gravatar imagehansyin ( 2015-09-03 19:26:01 -0500 )edit

answered 2015-09-03 01:13:22 -0500

soumitrakarmakar gravatar image

I would suggest you start using configuration management software like chef or puppet.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-09-02 18:53:18 -0500

Seen: 1,033 times

Last updated: Sep 03 '15