OpenStack Operations Guide


Book Description

Design, deploy, and maintain your own private or public Infrastructure as a Service (IaaS), using the open source OpenStack platform. In this practical guide, experienced developers and OpenStack contributors show you how to build clouds based on reference architectures, as well as how to perform daily administration tasks. Designed for horizontal scalability, OpenStack lets you build a cloud by integrating several technologies. This approach provides flexibility, but knowing which options to use can be bewildering. Once you complete this book, you’ll know the right questions to ask while you organize compute, storage, and networking resources. If you already know how to manage multiple Ubuntu machines and maintain MySQL, you’re ready to: Set up automated deployment and configuration Design a single-node cloud controller Use metrics to improve scalability Explore compute nodes, network design, and storage Install OpenStack packages Use an example architecture to help simplify decision-making Build a working environment to explore an IaaS cloud Manage users, projects, and quotas Tackle maintenance, debugging, and network troubleshooting Monitor, log, backup, and restore




Learning OpenStack


Book Description

Set up and maintain your own cloud-based Infrastructure as a Service (IaaS) using OpenStackAbout This Book• Build and manage a cloud environment using just four virtual machines• Get to grips with mandatory as well as optional OpenStack components and know how they work together• Leverage your cloud environment to provide Infrastructure as a Service (IaaS) with this practical, step-by-step guideWho This Book Is ForThis book is targeted at all aspiring administrators, architects, or students who want to build cloud environments using Openstack. Knowledge of IaaS or cloud computing is recommended.What You Will Learn• Get an introduction to OpenStack and its components• Authenticate and authorize the cloud environment using Keystone• Store and retrieve data and images using storage components such as Cinder, Swift, and Glance• Use Nova to build a Cloud Computing fabric controller• Abstract technology-agnostic networks using the Neutron network component• Gain an understanding of optional components such as Ceilometer, Trove, Ironic, Sahara, Barbican, Zaqar, Designate, Manila, and many more• See how all of the OpenStack components collaborate to provide IaaS to users• Create a production-grade OpenStack and automate your OpenStack CloudIn DetailOpenStack is a free and open source cloud computing platform that is rapidly gaining popularity in Enterprise data centres. It is a scalable operating system and is used to build private and public clouds. It is imperative for all the aspiring cloud administrators to possess OpenStack skills if they want to succeed in the cloud-led IT infrastructure space.This book will help you gain a clearer understanding of OpenStack's components and their interaction with each other to build a cloud environment. You will learn to deploy a self-service based cloud using just four virtual machines and standard networking.You begin with an introduction on the basics of cloud computing. This is followed by a brief look into the need for authentication and authorization, the different aspects of dashboards, cloud computing fabric controllers, along with “Networking as a Service” and “Software Defined Networking.” Then, you will focus on installing, configuring, and troubleshooting different architectures such as Keystone, Horizon, Nova, Neutron, Cinder, Swift, and Glance. Furthermore, you will see how all of the OpenStack components come together in providing IaaS to users. Finally, you will take your OpenStack cloud to the next level by integrating it with other IT ecosystem elements before automation.By the end of this book, you will be proficient with the fundamentals and application of OpenStack.Style and approachThis is a practical step-by-step guide comprising of installation prerequisites and basic troubleshooting instructions to help you build an error-free OpenStack cloud easily.




OpenStack: Building a Cloud Environment


Book Description

Learn how you can put the features of OpenStack to work in the real world in this comprehensive path About This Book Harness the abilities of experienced OpenStack administrators and architects, and run your own private cloud successfully Learn how to install, configure, and manage all of the OpenStack core projects including topics on Object Storage, Block Storage, and Neutron Networking services such as LBaaS and FWaaS Get better equipped to troubleshoot and solve common problems in performance, availability, and automation that confront production-ready OpenStack environments Who This Book Is For This course is for those who are new to OpenStack who want to learn the cloud networking fundamentals and get started with OpenStack networking. Basic understanding of Linux Operating System, Virtualization, and Networking, and Storage principles will come in handy. What You Will Learn Get an introduction to OpenStack and its components Store and retrieve data and images using storage components, such as Cinder, Swift, and Glance Install and configure Swift, the OpenStack Object Storage service, including configuring Container Replication between datacenters Gain hands on experience and familiarity with Horizon, the OpenStack Dashboard user interface Learn how to automate OpenStack installations using Ansible and Foreman Follow practical advice and examples for running OpenStack in production Fix common issues with images served through Glance and master the art of troubleshooting Neutron networking In Detail OpenStack is a collection of software projects that work together to provide a cloud fabric. Learning OpenStack Cloud Computing course is an exquisite guide that you will need to build cloud environments proficiently. This course will help you gain a clearer understanding of OpenStack's components and their interaction with each other to build a cloud environment. The first module, Learning OpenStack, starts with a brief look into the need for authentication and authorization, the different aspects of dashboards, cloud computing fabric controllers, along with 'Networking as a Service' and 'Software defined Networking'. Then, you will focus on installing, configuring, and troubleshooting different architectures such as Keystone, Horizon, Nova, Neutron, Cinder, Swift, and Glance. After getting familiar with the fundamentals and application of OpenStack, let's move deeper into the realm of OpenStack. In the second module, OpenStack Cloud Computing Cookbook, preview how to build and operate OpenStack cloud computing, storage, networking, and automation. Dive into Neutron, the OpenStack Networking service, and get your hands dirty with configuring ML2, networks, routers, and distributed virtual routers. Further, you'll learn practical examples of Block Storage, LBaaS, and FBaaS. The final module, Troubleshooting OpenStack, will help you quickly diagnose, troubleshoot, and correct problems in your OpenStack. We will diagnose and remediate issues in Keystone, Glance, Neutron networking, Nova, Cinder block storage, Swift object storage, and issues caused by Heat orchestration. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: Learning OpenStack by Alok Shrivastwa, Sunil Sarat OpenStack Cloud Computing Cookbook - Third Edition by Kevin Jackson , Cody Bunch, Egle Sigler Troubleshooting OpenStack by Tony Campbell Style and approach This course aims to create a smooth learning path that will teach you how to get started with setting up private and public clouds using a free and open source cloud computing platform—OpenStack. Through this comprehensive course, you'll learn OpenStack Cloud computing from scratch to finish and more!




Openstack Cloud Computing


Book Description

OpenStack Cloud Computing is not a tutorial on using OpenStack. It is an introduction to building a cloud based on OpenStack technologies. OpenStack includes a large set of modular and extensible components with broad industry support. Enterprises and service providers alike can use these programs and services to improve the efficiency, agility, security, quality and usability of their data center operations. These benefits are not free. Someone will have the responsibility to evaluate, design and implement the technology. They will need to select the services they require, choose from the myriad configuration options and incorporate the necessary plugins. The architects must ensure that they not only cover the basic functions, such as compute, storage and networking, but also integrate them into the existing infrastructure and address key topics like administration, billing, confidentiality, availability and scalability. This book introduces the reader to some of the primary challenges and suggests how to address them in an environment based on OpenStack.




Deploying OpenStack


Book Description

OpenStack was created with the audacious goal of being the ubiquitous software choice for building public and private cloud infrastructures. In just over a year, it's become the most talked-about project in open source. This concise book introduces OpenStack's general design and primary software components in detail, and shows you how to start using it to build cloud infrastructures. If you're a developer, technologist, or system administrator familiar with cloud offerings such as Rackspace Cloud or Amazon Web Services, Deploying OpenStack shows you how to obtain and deploy OpenStack software in a few controlled scenarios. Learn about OpenStack Compute (known as “Nova”), OpenStack Object Store ("Swift"), and OpenStack Image Service ("Glance") Understand common pitfalls in architecting, deploying, and implementing your cloud infrastructure with OpenStack Determine which version of the OpenStack code base best suits your deployment needs Define your deployment scenario and finalize key design choices Install Nova on a single node with either the StackOps distro or an Ubuntu package Be familiar with important configuration options and important administrative commands




Production Ready OpenStack - Recipes for Successful Environments


Book Description

Over 90 practical and highly applicable recipes to successfully deploy various OpenStack configurations in production About This Book Get a deep understanding of OpenStack's internal structure and services Learn real-world examples on how to build and configure various production grade use cases for each of OpenStack's services Use a step-by-step approach to install and configure OpenStack's services to provide Compute, Storage, and Networking as a services for cloud workloads Who This Book Is For If you have a basic understanding of Linux and Cloud computing and want to learn about configurations that OpenStack supports, this is the book for you. Knowledge of virtualization and managing Linux environments is expected. Prior knowledge or experience of OpenStack is not required, although beneficial. What You Will Learn Plan an installation of OpenStack with a basic configuration Deploy OpenStack in a highly available configuration Configure Keystone Identity services with multiple types of identity backends Configure Glance Image Store with File, NFS, Swift, or Ceph image backends and use local image caching Design Cinder to use a single storage provider such as LVM, Ceph, and NFS backends, or to use multiple storage backends simultaneously Manage and configure the OpenStack networking backend Configure OpenStack's compute hypervisor and the instance scheduling mechanism Build and customize the OpenStack dashboard In Detail OpenStack is the most popular open source cloud platform used by organizations building internal private clouds and by public cloud providers. OpenStack is designed in a fully distributed architecture to provide Infrastructure as a Service, allowing us to maintain a massively scalable cloud infrastructure. OpenStack is developed by a vibrant community of open source developers who come from the largest software companies in the world. The book provides a comprehensive and practical guide to the multiple uses cases and configurations that OpenStack supports. This book simplifies the learning process by guiding you through how to install OpenStack in a single controller configuration. The book goes deeper into deploying OpenStack in a highly available configuration. You'll then configure Keystone Identity Services using LDAP, Active Directory, or the MySQL identity provider and configure a caching layer and SSL. After that, you will configure storage back-end providers for Glance and Cinder, which will include Ceph, NFS, Swift, and local storage. Then you will configure the Neutron networking service with provider network VLANs, and tenant network VXLAN and GRE. Also, you will configure Nova's Hypervisor with KVM, and QEMU emulation, and you will configure Nova's scheduler filters and weights. Finally, you will configure Horizon to use Apache HTTPD and SSL, and you will customize the dashboard's appearance. Style and approach This book consists of clear, concise instructions coupled with practical and applicable recipes that will enable you to use and implement the latest features of OpenStack.




Software-Defined Networking (SDN) with OpenStack


Book Description

Leverage the best SDN technologies for your OpenStack-based cloud infrastructure About This Book Learn how to leverage critical SDN technologies for OpenStack Networking APIs via plugins and drivers Champion the skills of achieving complete SDN with OpenStack with specific use cases and capabilities only covered in this title Discover exactly how you could implement cost-effective OpenStack SDN integration for your organization Who This Book Is For Administrators, and cloud operators who would like to implement Software Defined Networking on OpenStack clouds. Some prior experience of network infrastructure and networking concepts is assumed. What You Will Learn Understand how OVS is used for Overlay networks Get familiar with SDN Controllers with Architectural details and functionalities Create core ODL services and understand how OpenDaylight integrates with OpenStack to provide SDN capabilities Understand OpenContrail architecture and how it supports key SDN functionality such as Service Function Chaining (SFC) along with OpenStack Explore Open Network Operating System (ONOS) – a carrier grade SDN platform embraced by the biggest telecom service providers Learn about upcoming SDN technologies in OpenStack such as Dragonflow and OVN In Detail Networking is one the pillars of OpenStack and OpenStack Networking are designed to support programmability and Software-Defined Networks. OpenStack Networking has been evolving from simple APIs and functionality in Quantum to more complex capabilities in Neutron. Armed with the basic knowledge, this book will help the readers to explore popular SDN technologies, namely, OpenDaylight (ODL), OpenContrail, Open Network Operating System (ONOS) and Open Virtual Network (OVN). The first couple of chapters will provide an overview of OpenStack Networking and SDN in general. Thereafter a set of chapters are devoted to OpenDaylight (ODL), OpenContrail and their integration with OpenStack Networking. The book then introduces you to Open Network Operating System (ONOS) which is fast becoming a carrier grade SDN platform. We will conclude the book with overview of upcoming SDN projects within OpenStack namely OVN and Dragonflow. By the end of the book, the readers will be familiar with SDN technologies and know how they can be leveraged in an OpenStack based cloud. Style and approach A hands-on practical tutorial through use cases and examples for Software Defined Networking with OpenStack.




Cloud Native Infrastructure


Book Description

Cloud native infrastructure is more than servers, network, and storage in the cloud—it is as much about operational hygiene as it is about elasticity and scalability. In this book, you’ll learn practices, patterns, and requirements for creating infrastructure that meets your needs, capable of managing the full life cycle of cloud native applications. Justin Garrison and Kris Nova reveal hard-earned lessons on architecting infrastructure from companies such as Google, Amazon, and Netflix. They draw inspiration from projects adopted by the Cloud Native Computing Foundation (CNCF), and provide examples of patterns seen in existing tools such as Kubernetes. With this book, you will: Understand why cloud native infrastructure is necessary to effectively run cloud native applications Use guidelines to decide when—and if—your business should adopt cloud native practices Learn patterns for deploying and managing infrastructure and applications Design tests to prove that your infrastructure works as intended, even in a variety of edge cases Learn how to secure infrastructure with policy as code




Troubleshooting OpenStack


Book Description

Get unstuck and start stacking! About This Book Easily fix the nagging problems that commonly plague OpenStack and become the go-to person in your organization Get better equipped to troubleshoot and solve common problems in performance, availability, and automation that confront production-ready OpenStack environments Save time and decrease frustration by solving significant issues that arise from OpenStack deployments pertaining to storage and networking Who This Book Is For You will need a basic understanding of OpenStack, Linux, and Cloud computing. If you have an understanding of Linux, this book will help you leverage that knowledge in the world of OpenStack, giving you confidence to tackle most issues that may arise. What You Will Learn Diagnose and remediate authentication and authorization problems in Keystone Fix common issues with images served through Glance Master the art of troubleshooting Neutron networking Navigate and overcome problems with Nova Troubleshoot and resolve Cinder block storage issues Identify and correct Swift object storage problems Isolate and fix issues caused by Heat orchestration Leverage Ceilometer and other metering and monitoring tools for effective troubleshooting In Detail OpenStack is a collection of software projects that work together to provide a cloud fabric. OpenStack is one of the fastest growing open source projects in history that unlocks cloud computing for everyone. With OpenStack, you are able to create public or private clouds on your own hardware. The flexibility and control afforded by OpenStack puts the cloud within reach of anyone willing to learn this technology. Starting with an introduction to OpenStack troubleshooting tools, we'll walk through each OpenStack service and how you can quickly diagnose, troubleshoot, and correct problems in your OpenStack. Understanding the various projects and how they interact is essential for anyone attempting to troubleshoot an OpenStack cloud. We will start by explaining each of the major components and the dependencies between them, and move on to show you how to identify and utilize an effective set of OpenStack troubleshooting tools and fix common Keystone problems. Next, we will expose you to common errors and problems you may encounter when using the OpenStack Block Storage service (Cinder). We will then examine Heat, the OpenStack Orchestration Service, where you will learn how to trace errors, determine their root cause, and effectively correct the issue. Finally, you will get to know the best practices to architect your OpenStack cloud in order to achieve optimal performance, availability, and reliability. Style and approach This is straight-to-the point guide to fixing your OpenStack cluster. Common problems are identified and suggestions to resolve these problems are presented in a simple, easy-to-understand manner.




OpenStack Swift


Book Description

Get up and running with OpenStack Swift, the free, open source solution for deploying high-performance object storage clusters at scale. In this practical guide, Joe Arnold, co-founder and CEO of SwiftStack, brings you up-to-speed on the basic concepts of object storage and walks you through what you need to know to plan, build, operate, and measure the performance of your own Swift storage system. Object storage is essential today with the growth of web, mobile, and software-as-a-service (SaaS) applications. This book helps you through the process, with separate sections on application development, installation, administration, and troubleshooting. Learn Swift’s concepts for organizing, distributing, and serving data Explore basic and advanced features of the Swift RESTful API Delve into Swift’s many client libraries, including useful Python features Write middleware to customize and simplify your storage system Understand requirements for planning a Swift deployment—including your specific use case Learn options for coaxing the best performance from your cluster Get best practices for daily operations, such as monitoring and planning capacity additions Pick up techniques for testing and benchmarking your Swift cluster