Explore how to manage virtual machines in different providers through "abstract" cloud providers

Source: Internet
Author: User
Keywords Cloud computing providers virtual machines

This article will also explore some examples of using Deltacloud to start http://www.aliyun.com/zixun/aggregation/2467.html ">amazon EC2" and get information about IBM® The information for the instance on the smartcloud™.

Apache Software Foundation Incubator launched Apache Deltacloud in October 2011, a web-based framework that allows you to use a single Web application or application programming interface (API) Manages instances of multiple different cloud providers, such as Amazon elastic Compute Cloud (Amazon EC2), Windows azure™, OpenStack, and IBM SmartCloud. This article will tell you how to install and set up Deltacloud on your computer. See the example to learn how to use Deltacloud to start an instance on Amazon EC2 and how to obtain information about an instance on the IBM SmartCloud.

Understanding, installing, and running Apache Deltacloud

Deltacloud is a WEB application implemented in the Ruby programming language that you can install and execute locally in your own environment. Deltacloud uses the concept of a driver (driver), which is an adapter connected to a different cloud provider. Specify the driver you want Deltacloud to use, and then allow Deltacloud to send commands to different cloud providers on your behalf.

You do not need to interact directly with different cloud providers, and you can interact with Deltacloud. This allows you to create portable scripts to perform actions, such as creating computer instances. You can write scripts to invoke the representational state transmits (REST) API found by Deltacloud. In other words, you can use Deltacloud as a façade pattern for any script written to configure the computer in the cloud.

Advanced architecture

Install Deltacloud on servers that are accessible to your various desktops. You can browse to a WEB application from the desktop, or you can execute a script that invokes the RESTful API. Deltacloud uses a driver to convert your request to a request that the cloud provider you are connecting to understand. Figure 1 provides an advanced schematic illustrating this interaction.

Figure 1. Deltacloud Advanced Architecture

Next, learn how to install Deltacloud on your system and use it to handle instances of virtual machines (VMS) hosted by Amazon or IBM.

Install Deltacloud

Once you have resolved all dependencies, the installation of the Deltacloud WEB application will be relatively simple, and these dependencies are quite important. To install Deltacloud, you need to install the following tools:

Ruby 1.8.7+ RubyGems 1.3.7+ g++ libxml2 and Libxml2-dev libxslt and Libxslt-dev several ruby gems, including thin, Sinatra, Rack-accept, Rest-client, sinatra-content-for and Nokogiri

It is much easier to install all of these dependencies on a linux® version that can handle dependencies for you, because any of these dependencies may have other dependencies. On a standard system that is rarely installed, you may need to spend most of your time getting the system ready to do the next step.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.