万本电子书0元读

万本电子书0元读

顶部广告

OpenStack Cloud Computing Cookbook - Fourth Edition电子书

售       价:¥

5人正在读 | 0人评论 9.8

作       者:Kevin Jackson,Cody Bunch,Egle Sigler,James Denton

出  版  社:Packt Publishing

出版时间:2018-01-29

字       数:191.9万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
The Fourth Edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, from four recognized experts, updated to the latest OpenStack build including Cinder, Nova, and Neutron. About This Book ? Over 100 recipes created by a team of OpenStack experts ? Updated to work with the latest OpenStack builds, with recipes covering the installation and use of OpenStack with Ansible ? It covers topics such as Keystone, Glance, Neutron, Nova, Cinder, and more, plus recipes for OpenStack storage, networking, and orchestrating workloads ? Test drive OpenStack using the accompanying Vagrant environment Who This Book Is For This book is written for 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. What You Will Learn ? Understand, install, configure, and manage a complete OpenStack Cloud platform using OpenStack-Ansible ? Configure networks, routers, load balancers, and more with Neutron ? Use Keystone to setup domains, roles, groups and user access ? Learn how to use Swift and setup container access control lists ? 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 as well as using Ansible to orchestrate application workloads ? Follow practical advice and examples to run OpenStack in production In Detail This is the fourth edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, created by four recognized OpenStack experts. It has now been updated to work with the latest OpenStack builds, using tools and processes based on their collective and vast OpenStack experience. OpenStack Open Source Cloud software is one of the most used cloud infrastructures to support a wide variety of use cases, from software development to 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. We make it simple to implement, massively scalable, and able to 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 begin by showing you the steps to build up an OpenStack private cloud environment using Ansible. You'll then 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 networks, routers, load balancers, and more. You’ll then gather more expert knowledge on OpenStack cloud computing by managing your cloud's security and migration. After that, we delve into OpenStack Object storage and you’ll see how to manage servers and work with objects, cluster, and storage functionalities. Finally, you will learn about OpenStack dashboard, Ansible, Keystone, and other interesting topics. Style and approach Clear, step-by-step instructions coupled with practical and applicable recipes that will enable you to use and implement the latest features of OpenStack. The authors provide all the context you need around each recipe so that you can make it part of your own OpenStack solutions.
目录展开

OpenStack Cloud Computing Cookbook Fourth Edition

Table of Contents

OpenStack Cloud Computing Cookbook Fourth Edition

Why subscribe?

PacktPub.com

Contributors

About the authors

About the reviewers

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Sections

Getting ready

How to do it…

How it works…

There’s more…

See also

Get in touch

Reviews

1. Installing OpenStack with Ansible

Introduction – the OpenStack architecture

Controllers

Computes

Storage

Load balancing

OpenStack-Ansible installation requirements

Minimal data center deployment requirements

Host network configuration

Getting ready

How to do it…

How it works…

Root SSH keys configuration

Getting ready

How to do it…

How it works…

Installing Ansible, playbooks, and dependencies

Getting ready

How to do it…

How it works…

There's more…

Configuring the installation

Getting ready

How to do it...

How it works…

Running the OpenStack-Ansible playbooks

Getting ready

How to do it…

How it works…

Troubleshooting the installation

How to do it...

How it works…

Manually testing the installation

Getting ready

How to do it…

How it works…

Modifying the OpenStack configuration

Getting ready

How to do it...

How it works…

Virtual lab - vagrant up!

Getting ready

How to do it…

How it works…

2. The OpenStack Client

Introduction – using OpenStack

Installing Python on Windows

Getting ready

How to do it…

How it works…

Installing the OpenStack clients

Getting ready

How to do it…

Alternative – use a preconfigured OpenStack client virtual machine

How it works…

Configuring your Linux or macOS environment

Getting ready

How to do it…

How it works…

Configuring your Windows environment

Getting ready

How to do it…

How it works…

Common OpenStack networking tasks

Getting ready

How to do it…

Creating a network

Creating a provider network (for use with Floating IPs)

Creating a new security group

Adding a rule to a security group

Creating a router

Adding a subnet to a router

Setting a gateway on the router

Common OpenStack server (instances) tasks

Getting ready

How to do it…

Launching an instance

Listing OpenStack Instances

Create instance snapshot

Resizing an instance

Creating a flavor

Common OpenStack image tasks

Getting ready

How to do it…

Uploading an image to Glance

Downloading an image or snapshot from Glance as a file

Sharing images between projects

Common OpenStack identity tasks

Getting ready

How to do it…

Creating a new project

Creating a user

Adding a user to a project

Changing a user's password as an administrator

Changing your own password

Common OpenStack storage tasks

Getting ready

How to do it…

Create a new Cinder volume

Attaching a volume

Detaching a volume

Creating a volume snapshot

Listing Object Storage containers and contents

Creating and uploading files to the Object Storage service

Downloading from Object Storage

Common OpenStack orchestration tasks

Getting ready

How to do it…

Launch a stack from a template and environment file

Listing stacks

Deleting a running stack

Listing resources in a stack

Viewing the outputs of a running Stack

3. Keystone – OpenStack Identity Service

Introduction – OpenStack Identity

Creating OpenStack domains in Keystone

Getting ready

How to do it…

How it works…

Enabling domains in the OpenStack dashboard

Getting ready

How to do it…

How it works…

Creating OpenStack projects in Keystone

Getting ready

How to do it…

How it works…

Configuring roles in Keystone

Getting ready

How to do it…

How it works…

Adding users in Keystone

Getting ready

How to do it…

How it works…

Configuring groups in Keystone

Getting ready

How to do it…

How it works…

Add group to a role:

Deleting projects

Getting ready

How to do it…

How it works…

Deleting users

Getting ready

How to do it…

How it works…

Deleting roles

Getting ready

How to do it…

How it works…

Deleting groups

Getting ready

How to do it…

How it works…

Deleting domains

Getting ready

How to do it…

How it works…

OpenStack endpoint information

Getting ready

How to do it…

How it works…

4. Neutron – OpenStack Networking

Introduction to OpenStack networking

Managing networks, subnets, and ports

Creating provider networks

Getting ready

How to do it…

How it works...

Creating tenant networks

Getting ready

How to do it…

How it works...

Creating ports

Getting ready

How to do it…

How it works...

Updating network attributes

Getting ready

How to do it…

How it works...

Deleting ports

Getting ready

How to do it…

Deleting networks

Getting ready

How to do it…

How it works...

Managing routers and floating IPs

Creating routers

Getting ready

How to do it…

How it works...

Attaching networks to routers

Getting ready

How to do it…

How it works...

Creating and assigning floating IPs

Getting ready

How to do it…

How it works…

Deleting routers

Getting ready

How to do it…

How it works...

Managing security groups

Creating security groups

Getting ready

How to do it…

How it works...

Creating security group rules

Getting ready

How to do it…

How it works...

Applying security groups to instances

Getting ready

How to do it…

How it works...

Managing load balancers

Creating load balancers

Getting ready

How to do it…

How it works...

Creating pools

Getting ready

How to do it…

How it works...

Creating members

Getting ready

How to do it…

How it works...

Creating listeners

Getting ready

How to do it…

How it works...

Verifying connectivity

Getting ready

How to do it…

5. Nova – OpenStack Compute

Introduction to OpenStack Compute

Adding a compute host using OpenStack-Ansible

Getting ready

How to do it…

How it works…

Suspending a host for maintenance

Getting ready

How to do it…

How it works…

Configuring Nova Scheduler to use host aggregates

Getting ready

How to do it…

How it works…

Creating a host aggregate

Getting ready

How to do it…

How it works…

Adding a compute host to a host aggregate

Getting ready

How to do it…

How it works…

Removing a compute host from a host aggregate

Getting ready

How to do it…

How it works…

Adding metadata to a host aggregate

Getting ready

How to do it…

How it works…

Deleting a host aggregate

Getting ready

How to do it…

How it works…

Creating an Availability Zone

Getting ready

How to do it…

How it works…

Booting an instance into an Availability Zone

Getting ready

How to do it…

How it works…

Removing an Availability Zone

Getting ready

How to do it…

How it works…

Creating a flavor

Getting ready

How to do it…

How it works…

Deleting a flavor

Getting ready

How to do it…

How it works…

Setting CPU limits for a flavor

Getting ready

How to do it…

How it works…

Setting IOPS limits for a flavor

Getting ready

How to do it…

How it works…

Booting an instance

Getting ready

How to do it…

How it works…

Stopping an instance

Getting ready

How to do it…

How it works…

Deleting an instance

Getting ready

How to do it…

How it works…

Live migration

Getting ready

How to do it…

How it works…

Snapshotting an instance

Getting ready

How to do it…

How it works…

There's more…

Booting an instance from a snapshot

Getting ready

How to do it…

How it works…

Rescuing an instance

Getting ready

How to do it…

How it works…

Shelving an instance

Getting ready

How to do it…

How it works…

Reviewing the console logs

Getting ready

How to do it…

How it works…

6. Glance – OpenStack Image Service

Introduction to OpenStack Image services

Managing images

Uploading images

Getting ready

How to do it…

How it works...

Listing images

Viewing image details

Deleting images

Getting ready

How to do it…

Downloading images

Getting ready

How to do it…

Sharing images

Getting ready

How to do it…

How it works...

Using image snapshots

Creating snapshots

Getting ready

How to do it…

How it works…

Using image metadata

Setting image metadata

Getting ready

How to do it…

How it works...

Removing image metadata

Getting ready

How to do it…

Protecting images

Protecting an image

Getting ready

How to do it…

How it works...

Unprotecting an image

Getting ready

How to do it…

Deactivating images

Deactivating an image

Getting ready

How to do it…

How it works...

Activating an image

Getting ready

How to do it…

Creating custom images

Getting ready

How to do it…

7. Cinder – OpenStack Block Storage

Introduction

Configuring Cinder volume services

Getting ready

How to do it...

How it works...

Creating volumes

Getting ready

How to do it...

How it works...

There's more…

Attaching volumes to an instance

Getting ready

How to do it...

How it works...

Detaching volumes from an instance

Getting ready

How to do it...

How it works…

Deleting volumes

Getting ready

How to do it…

How it works…

There's more…

Working with volume snapshots

Getting ready

How to do it…

How it works…

Configuring volume types

Getting ready

How to do it…

How it works…

Enabling volume encryption

Getting ready

How to do it…

How it works…

Configuring volume Quality of Service (QoS)

Getting ready

How to do it…

How it works…

Resetting volume state

Getting ready

How to do it…

How it works…

8. Swift – OpenStack Object Storage

Introduction – OpenStack Object Storage

Creating object containers

Getting ready

How to do it…

How it works…

Deleting object containers

Getting ready

How to do it…

How it works…

Uploading objects

Getting ready

How to do it…

How it works…

Uploading large objects

Getting ready

How to do it..

How it works

Downloading objects

Getting ready

How to do it…

How it works…

Deleting objects

Getting ready

How to do it…

How it works

Container ACLs

Getting ready

How to do it…

How it works…

9. OpenStack Orchestration Using Heat and Ansible

Introduction – orchestrating with OpenStack

Creating your first stack

Getting ready

How to do it...

How it works...

Launching your stack with Heat

Getting ready

How to do it...

How it works...

Viewing the resources and output of a stack created with Heat

Getting ready

How to do it...

How it works…

Deleting a Heat stack

Getting ready

How to do it...

How it works...

Updating a Heat stack

Getting ready

How to do it...

How it works...

Installing and configuring Ansible for OpenStack

Getting ready

How to do it...

Ubuntu

macOS/OS X (and for those wanting to use pip)

Verifying the installation

How it works...

Using Ansible to launch instances

Getting ready

How to do it...

How it works...

See also

Using Ansible to orchestrate software installation

Getting ready

How to do it...

How it works...

Using Ansible to orchestrate software installations across multiple instances

Getting ready

How to do it...

How it works...

Using Ansible to fully orchestrate the creation of a web server and load balancer stack

Getting ready

How to do it...

How it works...

10. Using OpenStack Dashboard

Introduction – OpenStack Dashboard

Using OpenStack Dashboard for key management

Getting ready

How to do it…

Adding key pairs

Deleting key pairs

Importing key pairs

How it works…

Using OpenStack Dashboard to manage Neutron networks and routers

Getting ready

How to do it

Creating networks

Creating routers

Viewing networks

Deleting routers

Deleting networks

How it works…

Using OpenStack Dashboard for security group management

Getting ready

How to do it…

Creating a security group

Editing security groups to add and remove rules

Deleting security groups

How it works...

Using OpenStack Dashboard to launch instances

Getting ready

How to do it…

How it works…

Using OpenStack Dashboard to delete instances

Getting ready

How to do it…

How it works…

Using OpenStack Dashboard to add new projects

Getting ready

How to do it…

How it works…

Using OpenStack Dashboard for user management

Getting ready

How to do it…

Adding users

Deleting users

Updating user details and passwords

Adding users to projects

Removing users from projects

How it works…

Using OpenStack Dashboard with LBaaS

Getting ready

How to do it…

Creating load balancer

Deleting load balancer

How it works…

Using OpenStack Dashboard with OpenStack Orchestration

Getting ready

How to do it…

Launching stacks

Viewing stack details

Deleting stacks

How it works…

Another Book You May Enjoy

Leave a review – let other readers know what you think

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部