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

Preface

In the past decade, cloud computing has emerged as a leading technology that is now used widely across different industries. Depending on the business need, different cloud computing models emerged. Enterprise applications now run on the cloud platform. As the requirements grew, there was a need for a hybrid cloud computing model. Cloud applications are now required to be cloud independent, and they should be able to run on any cloud. This was the main motivation of this book.

This book mainly focuses on hybrid cloud platforms. It introduces the reader to the hybrid cloud environment and teaches how to develop effective, robust, and flexible hybrid cloud applications. It talks about the migration techniques, best practices, and troubleshooting skills required to effectively manage a hybrid cloud platform.

Who this book is for

If you are an IT professional, developer, or a DevOps engineer looking to develop and manage your applications on the hybrid cloud platform, then this book is for you. This book will also benefit beginners to hybrid cloud computing. Developers looking to build applications using AWS or OpenStack services will benefit from this book.

What this book covers

Chapter 1, Introducing Hybrid Clouds, will cover the basic concepts of cloud computing. You will get familiar with the terminology used in cloud computing, types of cloud, and the advantages that cloud offers.

Chapter 2, Exploring AWS Cloud, will make you familiar with the Amazon Web Services (AWS) cloud and the various features, such as EC2 and EBS, that it offers. You will learn how to leverage the AWS technology in your day-to-day project requirements. 

Chapter 3, Exploring OpenStack Private Cloud, will help you learn about the open source OpenStack platform. You will get familiar with various OpenStack components, such as Nova, Cinder, and Neutron.

Chapter 4, Developing AWS Cloud Applications, will teach you to set up the development environment for building AWS applications and develop AWS applications using the SDKs provided by Amazon.

Chapter 5, Developing OpenStack Applications, will enable you to start building OpenStack applications using the OpenStack SDK and REST APIs.

Chapter 6, Cloud Migration, will discuss migrating your applications across clouds. It talks about various considerations to be made while migrating applications.

Chapter 7, Hybrid Cloud Best Practices, will talk about the best practices to be followed while developing and working with hybrid cloud environments.

Chapter 8, Monitoring and Troubleshooting Hybrid Cloud, will discuss various monitoring and troubleshooting techniques for AWS and OpenStack clouds.

Chapter 9, Hybrid Cloud Security, will discuss the security implications to be considered on a hybrid cloud environment (AWS and OpenStack).

To get the most out of this book

Although this book is suitable for any IT professional who wishes to explore the hybrid cloud platform and develop applications, to get the most out of this book, the reader is expected to know basics of cloud computing and object oriented programming. Familiarity with C# or Python will be very helpful to understand the code examples in this book.

To try out the code in this book, the reader must have a PC with standard configuration with basic knowledge of running C# or Python programs.

Download the example code files

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

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

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/Hybrid-Cloud-for-Developers. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it from https://www.packtpub.com/sites/default/files/downloads/HybridCloudforDevelopers_ColorImages.pdf.

Code in action

Visit the following link to check out the code in action:

https://goo.gl/xmbUzE

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Invoke this function by calling it from the main() function."

A block of code is set as follows:

public static void Main(string[] args)
{
    createS3Bucket(); // invoke the method to create an S3 bucket
    listS3Buckets(); // invoke the method to list all S3 buckets
    Console.ReadKey();
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

public static void Main(string[] args)
{
    createS3Bucket(); // invoke the method to create an S3 bucket
listS3Buckets(); // invoke the method to list all S3 buckets
    Console.ReadKey();
}

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

[ec2-user ~] # aws s3 cp s3://<bucketname>/<path to file>/<filename>     myfile.txt

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Next, click on Continue to select your Support Plan."

Note

Warnings or important notes appear like this.

Note

Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: Email [email protected] and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at [email protected].

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packtpub.com.