售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜