Ask Your Question
0

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?

Thanks!

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
2

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

I would recommend you to start exploring on openstack orchestration component Heat - (https://wiki.openstack.org/wiki/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. https://github.com/openstack/heat-templates/blob/master/hot/F20/WordPress_Native.yaml (https://github.com/openstack/heat-tem...)

edit flag offensive delete link more

Comments

Thanks, this link is what I want.

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

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 http://developer.openstack.org/firsta...

edit flag offensive delete link more

Comments

thanks a lot. learning...

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

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

Stats

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

Seen: 1,033 times

Last updated: Sep 03 '15