Transcript

Apache CloudStack

Isaac Chiang

Monday, June 17, 13

Agenda

• CloudStack Community

• Build your own development environment

Monday, June 17, 13

CloudStack Community

Monday, June 17, 13

• 2009: Cloud.com, 100% proprietary

• 2010: Cloud.com, open core, GPL v3

• 2011: Citrix Systems, 100% open, GPL v3

• 2012: ASF, 100% open, Apache License 2

CloudStack History

Monday, June 17, 13

The Apache Way

• Not simply a group of projects sharing a server, but rather a community of developers and users.

• Encouraging collaborative development.

Monday, June 17, 13

Home Page

• http://cloudstack.apache.org

• Document / WIKI site

Monday, June 17, 13

JIRA• Issue tracker

• Bugs

• Improvement

• Good place for starting your contribution

Monday, June 17, 13

Review Board

• For committers reviewing the patch

Monday, June 17, 13

• Top-level project(TLP) of Apache

• Chip Childers is the current Vice President of Apache CloudStack and chair of the PMC.

• CloudStack 4.0.2 release

• CloudStack 4.1 release

Current Status

Monday, June 17, 13

CloudStack 4.1 Release Note

• An API discovery service that allows an end point to list its supported APIs and their details.

• Added an Events Framework to CloudStack to provide an "event bus" with publish, subscribe, and unsubscribe semantics. Includes a RabbitMQ plugin that can interact with AMQP servers. Introduces the notion of a state change event.

• Implement L3 router functionality in the Nicira NVP plugin, and including support for KVM (previously Xen-only).

• API request throttling to prevent attacks via frequent API requests.

• AWS-style regions

Monday, June 17, 13

CloudStack 4.1 Release Note

• Egress firewall rules for guest networks.

• Resizing root and data volumes.

• Reset SSH key to access VMs.

• Support for EC2 Query API.

• Autoscaling support in conjunction with load balancing devices such asNetScaler.

Monday, June 17, 13

Build your own development environment

Monday, June 17, 13

DevCloud Introduction

• DevCloud is a virtual appliance shipped as an OVA image which runs on VirtualBox

• DevCloud I by Edison Su

• CloudStack 4.0 and before

• DevCloud II by Rohit Yadav

• CloudStack 4.1/4.2

• DevCloud-KVM/DevCloud-KVM

Monday, June 17, 13

Why DevCloud

• To solve the problem of infrastructure availability for development and testing

• Don't need to install hypervisor, primary/secondary storage, e.t.c.

• Platform-independent Sandbox

Monday, June 17, 13

Why DevCloud

• To solve the problem of infrastructure availability for development and testing

• Don't need to install hypervisor, primary/secondary storage, e.t.c.

• Platform-independent Sandbox

Monday, June 17, 13

Dom0 / DomU

• Host = Domain0 = Dom0

• Guest = DomainU = DomU

Monday, June 17, 13

DevCloud Architecture

Monday, June 17, 13

DevCloud Comparison

DevCloud1 DevCloud2

SupportCloudStackVersion

Base OS

Networking

CloudStack 4.0 and Before

CloudStack 4.1+

Ubuntu12.04 Debian Wheezy 7.0

NAT Host-only network

Monday, June 17, 13

Usage Scenarios

DevCloudXen

Dom0

DomU...

ManagementServer

Monday, June 17, 13

Usage Scenarios

DevCloud

Xen

Dom0 DomU..

OS

ManagementServer

Monday, June 17, 13

Step by Step• Install Oracle Virtualbox

• Download & Import DevCloud2

• http://rohityadav.in/logs/devcloud/

• Configure the network

• Clone CloudStack source code

• Compile and run!

• mvn clean install -P systemvm,developer

• mvn -pl developer,tools/devcloud -Ddeploydb -P developer

• export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

• mvn -pl client jetty:run

• Deploy a user vm

Monday, June 17, 13

References

• Apache Software Foundation

• http://www.apache.org/

• CloudStack Project

• http://cloudstack.apache.org/

Monday, June 17, 13

2013 CloudStackCollaboration Conference

Monday, June 17, 13

Where Can You Find Us

• http://www.cloudstack-tw.org/

Monday, June 17, 13

The EndQ&A

Monday, June 17, 13

top related