Ask Your Question
0

How to create private cloud using devstack

asked 2015-02-03 11:59:10 -0500

anonymous user

Anonymous

I have confusion regarding private cloud with devstack. I have created an instance with ubuntu image and I have installed an application on that instance. I am able to access the application in the web browser with floating ip. Am I done with private cloud creation or I am missing something?

If I am done with private cloud creation, then what is the role of "Heat" in openstack?

Thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-02-03 14:08:12 -0500

larsks gravatar image

updated 2015-02-05 08:08:29 -0500

Heat is an orchestration tool: you give it a list of resources that you want to provision, and Heat automates the process of creating everything for you. If all you're creating is a single Nova instance this may not seem all that helpful, but if you are deploying an application that needs:

  • Multiple web servers
  • Multiple database servers
  • Dedicated networks for backend (web -> database) communication
  • A load balancer for inbound web access
  • Automatic scaling of web servers in response to load
  • Appropriate security groups for all your network traffic
  • Automated configuration of services on your Nova instances

Then Heat is extremely useful. Using Heat, you can make deployment of this environment both automated and reproducible.

Update: Wow, that is a lot of questions. Let's see what I can do.

1) Launching an application on nova instance does create private cloud?

I'll be honest, I don't understand this question. OpenStack allows you to create a "private cloud". Launching an instance on Nova is just using that private cloud.

2) Web application launched on nova instance requires all the features mentioned above. So how Heat can be used to provide all the features to the application deployed on nova instance?

Heat is an "orchestration" tool. You provide it with a template that describes the resources required by your application, and Heat will talk to the various OpenStack APIs to provision those resources.

3) Do Heat require an application running on nova instance, so that it can provide all those features, or it can work with any application running on a machine? Or I have totally wrong understanding about working of heat?

Heat is specifically a tool for interacting with OpenStack. There are more general-purpose tools out there, like Puppet, Chef, Ansible, and so on, that can be used for managing arbitrary environments (but that are not as easy to use if your primary goal is to orchestrate OpenStack resources).

4) Does Heat require for Private cloud creation?

No. Heat does not install and configure OpenStack for you. It is used for creating resources (servers, networks, storage volumes) after you have an OpenStack environment running.

5) Can you provide some links from where I can gain good understanding of working of Heat and launching applications and private cloud with Heat?

I think that searching for "openstack heat" provides a reasonable starting point.

edit flag offensive delete link more

Comments

I have lots of doubt now.

1) Launching an application on nova instance does create private cloud?

2) Web application launched on nova instance requires all the features mentioned above. So how Heat can be used to provide all the features to the application deployed on nova instance?

anil987 gravatar imageanil987 ( 2015-02-04 00:24:21 -0500 )edit

3) Do Heat require an application running on nova instance, so that it can provide all those features, or it can work with any application running on a machine? Or I have totally wrong understanding about working of heat?

4) Does Heat require for Private cloud creation?

anil987 gravatar imageanil987 ( 2015-02-04 00:36:56 -0500 )edit

5) Can you provide some links from where I can gain good understanding of working of Heat and launching applications and private cloud with Heat?

Thanks

anil987 gravatar imageanil987 ( 2015-02-04 00:59:07 -0500 )edit
0

answered 2015-02-03 23:07:59 -0500

dtroyer gravatar image

Anything created with DevStack should NOT be considered a private cloud. It should not be considered anything except a development or transient test environment. Are you aware that your 'private cloud' will not survive a reboot? Are you aware that it will destroy your app instance if you re-run stack.sh?

As long as you are just testing stuff and are aware that DevStack is not suitable for anything beyond that it should work. You should be able to use Heat as installed for additional exploration as larsks mentions.

And when you are ready for something more durable, there are a number of packaged OpenStack distros to choose from, many people go with something based on the Linux distro they are familiar with. Fedora, Ubuntu, RHEL/CentOS, Debian all have packages and things like Fuel and RDO and PackStack are complete installers.

edit flag offensive delete link more

Comments

I am using devstack for testing purpose only Thanks for reply

anil987 gravatar imageanil987 ( 2015-02-04 00:09:11 -0500 )edit

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-02-03 11:59:10 -0500

Seen: 506 times

Last updated: Feb 05 '15