OpenStack Heat is an orchestration service that allows users to describe and automate the deployment of infrastructure resources within OpenStack clouds through templates. These templates, written in YAML format, define the desired configuration of resources such as virtual machines, networks, storage, and security groups, enabling users to create complex cloud applications in a declarative manner.
Heat simplifies the management of cloud resources by abstracting the underlying complexity of infrastructure provisioning and configuration, promoting scalability, efficiency, and repeatability in cloud deployments.
Pinakastra™ Cloud Console - Stacks
This page will list all the Stacks created using Heat.
Create a new Stack by Clicking on "Create Stack" Button
Paste the Heat yaml codes.
heat_template_version: 2018-08-31 description: > Template to deploy an instance on OpenStack with Apache installed and a specified HTML theme deployed. resources: instance: type: OS::Nova::Server properties: flavor: m1.small image: ubuntu_22_04 key_name: key-250 networks: - network: Internal_Network user_data_format: RAW user_data: str_replace: template: | #!/bin/bash apt-get update apt-get install -y apache2 wget https://www.free-css.com/assets/files/free-css-templates/download/page295/antique-cafe.zip sudo apt install unzip sudo chown -R ubuntu:ubuntu /var/www/html/ unzip antique-cafe.zip -d /var/www/html/ rm /var/www/html/index.html mv /var/www/html/2126_antique_cafe/* /var/www/html/ params: {}
The above code will create a web server, and will deploy an HTML website.
Give a Proper name to the Stack on Next Step
After Completing the Process,
Now the Status "Create in Progress" will Change to "Create Complete"
Go to Instance, and check the changes are reflected
Open the Associated Floating IP on Browser, then You can see the deployed HTML Website.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article