OpenStack Cloud Computing Cookbook - Third Edition
Kevin Jackson, Cody Bunch, Egle Sigler
Format: PDF / Kindle (mobi) / ePub
Over 110 effective recipes to help you build and operate OpenStack cloud computing, storage, networking, and automation
About This Book
- Explore many new features of OpenStack's Juno and Kilo releases
- Install, configure, and administer core projects with the help of OpenStack Object Storage, Block Storage, and Neutron Networking services
- Harness the abilities of experienced OpenStack administrators and architects, and run your own private cloud successfully
- Practical, real-world examples of each service and an accompanying Vagrant environment that helps you learn quickly
OpenStack Open Source software is one of the most used cloud infrastructures to support software development and big data analysis. It is developed by a thriving community of individual developers from around the globe and backed by most of the leading players in the cloud space today.
It is simple to implement, massively scalable, and can store a large pool of data and networking resources. OpenStack has a strong ecosystem that helps you provision your cloud storage needs. Add OpenStack's enterprise features to reduce the cost of your business.
This book will show you the steps to build up a private cloud environment. At the beginning, you'll discover the uses of cloud services such as the identity service, image service, and compute service. You'll dive into Neutron, the OpenStack Networking service, and get your hands dirty with configuring ML2, networks, routers, and Distributed Virtual Routers. You'll then gather more expert knowledge on OpenStack cloud computing by managing your cloud's security and migration. After that, we delve in to OpenStack Object storage and how to manage servers and work with objects, cluster, and storage functionalities. Also, as you go deeper into the realm of OpenStack, you'll learn practical examples of Block storage, LBaaS, and FWaaS: installation and configuration covered ground up. Finally, you will learn OpenStack dashboard, Ansible and Foreman, Keystone, and other interesting topics.
What You Will Learn
- Understand, install, configure, and manage Nova―the OpenStack Cloud Compute resource
- Configure ML2, networks, routers, and Distributed Virtual Routers with Neutron
- Use and secure Keystone, the OpenStack Authentication service
- Install and set up Swift and Container Replication between datacenters
- Gain hands-on experience and familiarity with Horizon, the OpenStack Dashboard user interface
- Automate complete solutions with our recipes on Heat, the OpenStack Orchestration service
- Use Ansible and Foreman to automate OpenStack installations successfully
- Follow practical advice and examples to run OpenStack in production
Who This Book Is For
This book is aimed at cloud system engineers, system administrators, and technical architects who are moving from a virtualized environment to cloud environments. This book assumes that you are familiar with cloud computing platforms, and have knowledge of virtualization, networking, and managing Linux environments.
Style and approach
Clear, step-by-step instructions coupled with practical and applicable recipes that'll enable you to use and implement the latest features of OpenStack.
At the bottom of the page, there is a section named Configuration Properties. Click on the EDIT… button for this section. We can now specify the username, password, and connect string, to use to connect to the running MySQL instance. JDBC User: root JDBC Password: openstack These are the credentials for a user in MySQL that can see all databases. Check the Auto-Discover Tables option and leave the rest of the options MySQL at their default values, unless you need to change the address that.
Mentioned on the command line. With the Nova client installed, we use them by configuring our environment with the appropriate environment variables. We do this as follows: export OS_TENANT_NAME=cookbook export OS_USERNAME=demo export OS_PASSWORD=openstack export OS_AUTH_URL=http://172.16.0.200:5000/v2.0/ export OS_NO_CACHE=1 Tip Add these to a file called novarc in your home area. We can then source these credentials in each time by simply executing . novarc. Using Nova Client, we.
Tmp/test/test1 This downloads the object to our filesystem. As we downloaded a file with the full path, this directory structure is preserved, so we end up with a new directory structure of tmp/test with a file in it called test1. Downloading objects with the -o parameter To download the file without preserving the file structure, or to simply rename it to something else, we specify the -o parameter, as follows: swift -V 2.0 -A http://172.16.0.200:5000/v2.0/ \ -U cookbook:demo -K.
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 on 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. 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.
Http://172.16.0.200:5000/v2.0/ -T cookbook role-list --user user-id --tenant tenant-id Now compare with the ACL roles assigned to the container. Handling drive failure When a drive fails in an OpenStack Storage environment, you must first ensure the drive is unmounted so Swift isn't attempting to write data to it. Replace the drive and rebalance the rings. This is covered in more detail in the Detecting and Replacing Failed Hard Drives recipe in Chapter 6, Administering OpenStack.