Book Image

Hybrid Cloud for Developers

By : Manoj Hirway
Book Image

Hybrid Cloud for Developers

By: Manoj Hirway

Overview of this book

This book introduces you to the hybrid cloud platform, and focuses on the AWS public cloud and OpenStack private cloud platforms. It provides a deep dive into the AWS and OpenStack cloud platform services that are essential for developing hybrid cloud applications. You will learn to develop applications on AWS and OpenStack platforms with ease by leveraging various cloud services and taking advantage of PaaS. The book provides you with the ability to leverage the ?exibility of choosing a cloud platform for migrating your existing resources to the cloud, as well as developing hybrid cloud applications that can migrate virtual machine instances from AWS to OpenStack and vice versa. You will also be able to build and test cloud applications without worrying about the system that your development environment supports. The book also provides an in-depth understanding of the best practices that are followed across the industry for developing cloud applications, as well as for adapting the hybrid cloud platform. Lastly, it also sheds light on various troubleshooting techniques for OpenStack and AWS cloud platform services that are consumed by hybrid cloud applications. By the end of this book, you will have a deep understanding of the hybrid cloud platform and will be able to develop robust, efficient, modular, scalable, and ?exible cloud applications.
Table of Contents (16 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Index

Summary 


We started this chapter with a discussion about various OpenStack SDKs available on the market. We created a development environment by installing the Python SDK for OpenStack called openstacksdk. We then started by writing a simple OpenStack application that lists the available virtual machines running on the compute node. We wrote application programs to interact with the imaging service that uploads and downloads the images, lists images, and deletes images.

We then explored the SDK further to interact with the OpenStack compute service by writing applications to create a key-pair, launch a new virtual machine, start a VM, stop a VM, pause and unpause a VM, and reboot the VM. We also saw how to create an image from a running virtual machine, assign and unassign a security group to and from a VM, assign and unassign fixed and floating IP addresses to the VMs, and create a custom flavor.

Next, we used the SDK to interface with the networking service. We wrote programs to create and...