Book Image

OpenStack Bootcamp

By : Vinoth Kumar Selvaraj
Book Image

OpenStack Bootcamp

By: Vinoth Kumar Selvaraj

Overview of this book

<p>OpenStack is developed by a thriving community of individual developers around the globe and is backed by most of the leading players in the cloud space today. OpenStack is a free and open source software platform for cloud computing, mostly deployed as an infrastructure-as-a-service (IaaS).</p> <p>This book begins with the design principles of OpenStack and the available OpenStack distributions. You’ll start by getting a fundamental understanding of the core concepts and then move on to a comparison of OpenStack components with real-life examples. Then, we’ll show you the typical architecture of OpenStack clouds, how to configure each OpenStack component, and debugging techniques.</p> <p>Later, we focus on the latest releases of OpenStack: Mikata, Newton, and Ocata. You’ll be introduced to identity, image, networking, and the compute service. You’ll also get a complete understanding of how to install, configure, and administrate your entire virtual private cloud. You will also be provided with hands-on exercises to unleash the power of each component in OpenStack. Finally, you’ll see an overview of all the optional projects available under the Openstack umbrella.</p>
Table of Contents (19 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Index

Preface

OpenStack is a free and opensource software platform for cloud computing, mostly deployed as an infrastructure-as-a-service (IaaS). The Bootcamp approach has short, intensive, and practical content comprising of a lot of real-world examples, OpenStack Bootcamp will provide the main architecture of OpenStack clouds, configuration of each OpenStack component and debugging techniques. Besides in-depth coverage of OpenStack technologies, hands-on exercises are also provided to make reader better understand and provide analysis of real-world cloud use cases and operation scenarios, covering design, customization and optimization.

What this book covers

Chapter 1, Day 1 - Build Your Camp, discusses the design principles of OpenStack and Cloud in general, the types of distributions, and setting up the lab environment for the hands-on chapters ahead.

Chapter 2, Day 2 - Know Your Battalion, focuses on an overview of each OpenStack core (KeyStone/Glance/Nova/Neutron/Cinder/Swift) components in detail and the real-world comparisons for the reader to understand with the ease and to learn how to use each of them.

Chapter 3, Day 3 - Field Sketch, looks at the architecture design and how the components of OpenStack are connected, followed by  deployment use cases. The reader will understand the high level architectural design of OpenStack and will be able to plan and design their own deployment use cases so they can build their OpenStack cloud.Chapter 4, Day 4 - How Stuff Works, will explain the step-by-step process of the VM provision happens in OpenStack when the user initiate VM create from horizon and the interrelationship between each OpenStack services.  

Chapter 5, Day 5 - Networking Strategy, focuses on OpenStack networking in detail and the extended feature available in OpenStack neutron. This chapter covers the role of floating IPs, the available deployment types in the neutron, how the VM packets being encapsulated t to reach the destination VM and the packet flow between VMs and the internet.

Chapter 6, Day 6 - Field Training Exercise, will deals with the hands training on how to use the OpenStack Horizon for using all the OpenStack core components will be provided in this chapter. The reader will gain the hands-on experience with the OpenStack horizon and understand how each individual component worked interconnected in bringing up the Cloud environment.

Chapter 7, Day 7 - Collective Training, will provide with the undisclosed tasks for the readers to take this chapter as exam. The Comprehensive practice with admin and end-user use cases will test the reader’s ability in understanding the OpenStack environment.

Chapter 8, Day 8 - Build Your OpenStack, this chapter will guide through a step-by-step package-based installation of the Ocata OpenStack on the Ubuntu operating system.

Chapter 9, Day 9 - Repair OpenStack, discusses how to start with troubleshooting each OpenStack components and the respective log files to look in. This chapter will also provide the guidance to the reader on how to start with getting help from OpenStack community.

Chapter 10, Day 10 - Side Arms of OpenStack, will walk through the overview of additional services available in the OpenStack and its scope in high level. The reader will learn the overview of optional services in OpenStack and its interrelation with the OpenStack core components.

What you need for this book

You can benefit greatly by having a system running VirtualBox (or any of its alternatives) and a virtual machine running Ubuntu 16.04 LTS. The commands and resources discussed in this book are best learned when you can execute them on the test system. Familiarity with the Linux command-line and experience with Linux system administration is expected.

Who this book is for

This book is perfect for administrators, cloud engineers, and operators who wants to jump right into practical knowledge, exercises, and solving the basic problems encountered during deployment, in order to get up to speed with the latest release of OpenStack.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "OpenStack services can be installed either as root or as a user withsudo permissions."

Any command-line input or output is written as follows:

# nano /etc/sysconfig/network-scripts/ifcfg-eth0 

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Clicking the Next button moves you to the next screen"

Note

Warnings or important notes appear in a box like this.

Note

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book-what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of. To send us general feedback, simply e-mail [email protected], and mention the book's title in the subject of your message. If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for this book from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

You can download the code files by following these steps:

  1. Log in or register to our website using your e-mail address and password.
  2. Hover the mouse pointer on the SUPPORT tab at the top.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box.
  5. Select the book for which you're looking to download the code files.
  6. Choose from the drop-down menu where you purchased this book from.
  7. Click on Code Download.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR / 7-Zip for Windows
  • Zipeg / iZip / UnRarX for Mac
  • 7-Zip / PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/OpenStack-Bootcamp. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books-maybe a mistake in the text or the code-we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at [email protected] with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at [email protected], and we will do our best to address the problem.