Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
OpenStack Orchestration
OpenStack Orchestration

OpenStack Orchestration:

Arrow left icon
Profile Icon Ahmed Siddiqui
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3 (3 Ratings)
Paperback Oct 2015 150 pages 1st Edition
eBook
€8.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Ahmed Siddiqui
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3 (3 Ratings)
Paperback Oct 2015 150 pages 1st Edition
eBook
€8.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€8.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

OpenStack Orchestration

Chapter 2. The OpenStack Architecture

In the previous chapter, we introduced OpenStack and described an overview of OpenStack components. We will focus on the detailed architecture of OpenStack and its Heat component in this chapter. The learning objectives of this chapter are:

  • The OpenStack architecture
  • Topology and Orchestration Specification for Cloud Applications(TOSCA): Heat ideas and standards
  • The logical architecture
  • The example architecture
  • The basic architecture with OpenStack networking

Components of OpenStack

OpenStack is an Infrastructure as a Service (IaaS) platform that is composed of several individual components or projects. These individual components communicate with each other using an application programming interface(API). This makes it possible to install these components on either a single machine or several machines connected to each other on IP layer.

These individual components have already been briefly discussed in Chapter 1, Getting Started with the Orchestration Service for OpenStack; therefore, we will not repeat them again in this chapter. However, we will explain how these components can be integrated with each other using OpenStack API and IP connectivity.

The following diagram shows the main components of OpenStack installed on the three nodes:

Components of OpenStack

OpenStack node types

In the following table, we will describe the node types that constitute an OpenStack cloud:

Type

Description

Controller

The OpenStack controller node is used to perform the control operations in an OpenStack cloud environment. The main components running on a compute node are:

Identity service (Keystone)

Image service (Glance)

Management functions of compute (Nova)

Networking (Neutron)

Dashboard (Horizon)

It may also include the following optional OpenStack components:

Block storage

Object storage

Orchestration

Telemetry

Besides the preceding core required and optional packages, it also includes some helper packages or applications including:

Database (MySQL or other)

Network Time Protocol (NTP)

Compute

This is the node which runs the virtual machines in a hypervisor portion. OpenStack uses the KVM hypervisor by default. Besides the hypervisor portion, the compute node also runs the agents for networking services that provide connectivity to internal and external...

The OpenStack logical architecture

The following diagram shows a logical architecture of the OpenStack cloud environment. Different OpenStack components are displayed in the diagram according to their functionality and the service being provided by each service.

The OpenStack logical architecture

TOSCA – Heat ideas and standards

Topology and Orchestration Specification for Cloud Applications (TOSCA) has emerged as a standard orchestration and deployment framework for cloud systems. This standard has been adopted by OpenStack for their orchestration project named Heat. Heat fully supports TOSCA and offers features for materializing the design topology and dynamically scales resources according to the requirements of the applications.

Heat supports text files called templates for describing cloud infrastructure or the applications composing the cloud. The cloud infrastructure or bundle of components composing the cloud is called stack in the Heat terminology. The template format supported by Heat is the same as the AWS CloudFormation template. Heat supports the OpenStack native REST API (HOT) as well as the CloudFormation compatible query API.

TOSCA – Heat ideas and standards

The high-level overview of Heat

Using Heat templates, resource types can be defined, which include instances, floating IPs, volumes...

Heat components

The following are the main components for the Heat orchestration framework:

  • The Heat CLI
  • heat-api
  • heat-api-cfn
  • heat-engine
  • Heat Orchestration Template (HOT)

The Heat CLI

The Heat CLI is the command-line tool for Heat. It interacts with heat-api to run AWS CloudFormation commands; or otherwise, it can directly run REST API commands for Heat.

heat-api

The heat-api component offers a REST API, which is OpenStack native. To process the user requests, this API forwards those requests to the Heat engine using the RPC.

heat-api-cfn

The heat-api-cfn module offers another API that is compatible with AWS CloudFormation. It also processes queries after forwarding them to heat-engine over RPC.

heat-engine

The heat-engine is the core component of the Orchestration service for OpenStack. It is responsible for launching new services and instances according to the given templates.

Heat Orchestration Template (HOT) specification

Heat Orchestration Template (HOT) is a new template format developed as an...

Components of OpenStack


OpenStack is an Infrastructure as a Service (IaaS) platform that is composed of several individual components or projects. These individual components communicate with each other using an application programming interface(API). This makes it possible to install these components on either a single machine or several machines connected to each other on IP layer.

These individual components have already been briefly discussed in Chapter 1, Getting Started with the Orchestration Service for OpenStack; therefore, we will not repeat them again in this chapter. However, we will explain how these components can be integrated with each other using OpenStack API and IP connectivity.

The following diagram shows the main components of OpenStack installed on the three nodes:

OpenStack node types


In the following table, we will describe the node types that constitute an OpenStack cloud:

Type

Description

Controller

The OpenStack controller node is used to perform the control operations in an OpenStack cloud environment. The main components running on a compute node are:

Identity service (Keystone)

Image service (Glance)

Management functions of compute (Nova)

Networking (Neutron)

Dashboard (Horizon)

It may also include the following optional OpenStack components:

Block storage

Object storage

Orchestration

Telemetry

Besides the preceding core required and optional packages, it also includes some helper packages or applications including:

Database (MySQL or other)

Network Time Protocol (NTP)

Compute

This is the node which runs the virtual machines in a hypervisor portion. OpenStack uses the KVM hypervisor by default. Besides the hypervisor portion, the compute node also runs the agents for networking services that provide connectivity to internal and external...

The OpenStack logical architecture


The following diagram shows a logical architecture of the OpenStack cloud environment. Different OpenStack components are displayed in the diagram according to their functionality and the service being provided by each service.

TOSCA – Heat ideas and standards


Topology and Orchestration Specification for Cloud Applications (TOSCA) has emerged as a standard orchestration and deployment framework for cloud systems. This standard has been adopted by OpenStack for their orchestration project named Heat. Heat fully supports TOSCA and offers features for materializing the design topology and dynamically scales resources according to the requirements of the applications.

Heat supports text files called templates for describing cloud infrastructure or the applications composing the cloud. The cloud infrastructure or bundle of components composing the cloud is called stack in the Heat terminology. The template format supported by Heat is the same as the AWS CloudFormation template. Heat supports the OpenStack native REST API (HOT) as well as the CloudFormation compatible query API.

The high-level overview of Heat

Using Heat templates, resource types can be defined, which include instances, floating IPs, volumes, security...

Left arrow icon Right arrow icon

Key benefits

  • Set up, manage, and troubleshoot Heat and effectively automate your datacenter and cloud-based services
  • Achieve high availability, minimize down-time, and automate the deployment of cloud-based services and resources with minimum effort
  • Upgrade your skills and manipulate resources on virtual machines in an unattended fashion using Heat

Description

This book is focused on setting up and using one of the most important services in OpenStack orchestration, Heat. First, the book introduces you to the orchestration service for OpenStack to help you understand the uses of the templating mechanism, complex control groups of cloud resources, and huge-potential and multiple-use cases. We then move on to the topology and orchestration specification for cloud applications and standards, before introducing the most popular IaaS cloud framework, Heat. You will get to grips with the standards used in Heat, overview and roadmap, architecture and CLI, heat API, heat engine, CloudWatch API, scaling principles, JeOS and installation and configuration of Heat. We wrap up by giving you some insights into troubleshooting for OpenStack. With easy-to-follow, step-by-step instructions and supporting images, you will be able to manage OpenStack operations by implementing the orchestration services of Heat.

Who is this book for?

If you are a System Engineer, System Administrator, Cloud Administrator, or a Cloud Engineer, then this book is for you. You should have a background of working in a Linux-based setup. Any knowledge of OpenStack-based cloud infrastructure will help you create wonders using this book.

What you will learn

  • Install an orchestration service for a private cloud environment
  • Tackle errors that show up during the installation and configuration of heat
  • Configure a template for orchestration using the native HOT format
  • Configure a template for orchestration using the AWS cloud formation format
  • Deploy a stack using the HOT template
  • Deploy a test stack using the AWS CloudFormation template
  • Automate and orchestrate cloud-based services with OpenStack Heat

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 27, 2015
Length: 150 pages
Edition : 1st
Language : English
ISBN-13 : 9781783551651
Vendor :
OpenStack
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Oct 27, 2015
Length: 150 pages
Edition : 1st
Language : English
ISBN-13 : 9781783551651
Vendor :
OpenStack
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 116.97
OpenStack Orchestration
€32.99
Learning OpenStack Networking (Neutron), Second Edition
€41.99
OpenStack Networking Cookbook
€41.99
Total 116.97 Stars icon
Banner background image

Table of Contents

8 Chapters
1. Getting Started with the Orchestration Service for OpenStack Chevron down icon Chevron up icon
2. The OpenStack Architecture Chevron down icon Chevron up icon
3. Stack Group of Connected Cloud Resources Chevron down icon Chevron up icon
4. Installation and Configuration of the Orchestration Service Chevron down icon Chevron up icon
5. Working with Heat Chevron down icon Chevron up icon
6. Managing Heat Chevron down icon Chevron up icon
7. Troubleshooting Heat Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
(3 Ratings)
5 star 33.3%
4 star 0%
3 star 33.3%
2 star 0%
1 star 33.3%
Hamza Siddiqui Sep 03, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great book, learned a lot
Amazon Verified review Amazon
Sri Thuraisamy Nov 29, 2015
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
This book is recommended for anyone interested to integrate with Heat module. The book also cover the opens tack single/multi node architecture. It would have been better if the book covered more examples on catalogue formation.
Amazon Verified review Amazon
Krishna Sumanth Boinepally Nov 10, 2016
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
I'd prefer openstack documentation over this book. it just defines basic stuff. It's a waste of money.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.