Openstack (Miratis)–creating stack using Horizon and Heat (Hot)

Mirantis openstack is having an option to load the stack from horizon and deploy the instance and in this example Mirantis Openstack’s dashboard is used. But the same can be done from command line as well:

1. Login to openstack horizon using your credentials and go to Orchestration -> Stack:

2. Click on “Launch Stack” and select “Direct Input” option in Template Source:

3. Add the heat template and click on “Next”. Give a name to your stack and provide the password to the user from which you are trying to deploy the template. It should show you all the variable that you have added as per your environment.

4.  Wait for 2/3 mins and the instance creation should be completed. The deployment time depends on the size of the HDD.

5. Go to the instance tab to see the newly created instance. Now to access the instance:

  • get the floating IP from the console
  • use the available keypair and do ssh to the instance

6. Once utilization is over, you can “Suspend Stacks” the instance from “Orchestration -> Stacks” tab and for next requirement you can “Resume Stacks” it:

Source : https://cplatform99.blogspot.in/2017/05/openstack-instance-deployment-using-hot.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: