SlideShare a Scribd company logo
3
Most read
4
Most read
7
Most read
Writing CloudStack Plugins
        by Alex Huang
A little bit about me

• Cloud.Com Founding Engineer
• Software architect for CloudPlatform
• Responsible for overall
  architecture, performance, and scalability
• Committer and PPMC member
• BS from UC Berkeley and MS from Stanford
Extending CloudStack Networking
                                 2. prepare (Network, Nic, DeployDestination, VmInfo)
 1. prepare (part of start vm)


                     Network                           Network Element                  PluggableService
                     Manager



                                                                                                           Device Configuration
                                                                                        MyDnsDeviceSer     Admin API (CRUD)
                                                                                            vice
                    DnsService
                                                                     3. addDnsRecord(ip, fqdn)


Demonstrates one way to                                                                 MyDnsDeviceMa              MySQL
                                                          MyDnsElement
inform an external DNS                                                                      nager
server when an instance
starts.                                                                                                    AgentManag
                                                                       4.Enqueue AddDnsRecord               er Queue
Classes shaded blue form a
plugin / service bundle to
integrate an external DNS                                                               MyDnsDeviceRes
server. Clients of the                                  ServerResource                      ource
instance can then use DNS
names to access the                                                             5.API call to Dns Device
instance.
Outline

•   Setup developer environment
•   Checking out source code
•   Setup devCloud
•   Setup a new plugin project
•   Write code
•   Write a unit test
•   Testing your new plugin
•   Potential Problems
Tools Needed
•   JDK
•   MySQL
•   Maven
•   Eclipse
    – M2e
    – Pydev
    – EGit
• Cygwin if on Windows
The future needs you!
Project web site: http://incubator.apache.org/projects/cloudstack.html

Mailing lists:
cloudstack-dev-subscribe@incubator.apache.org
cloudstack-users-subscribe@incubator.apache.org

IRC: #CloudStack on irc.freenode.net
Thank You!
           Alex Huang
  Email: alex.huang@gmail.com
Blog: http://xueyuan.github.com/

More Related Content

What's hot (20)

PPTX
CloudStack Overview
sedukull
 
PDF
Cloud for Kubernetes : Session3
WhaTap Labs
 
PPTX
CloudStack DC Meetup - Apache CloudStack Overview and 4.1/4.2 Preview
Chip Childers
 
PPTX
2020-02-10 Java on Azure Solution Briefing
Ed Burns
 
PDF
Hadoop Security Now and Future
tcloudcomputing-tw
 
PDF
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
Tran Nhan
 
PDF
CloudStack Networking at CloudOpen Japan
Kimihiko Kitase
 
PPTX
OpenStack Cinder
Deepti Ramakrishna
 
PPTX
OpenStack Technology Overview
Open Stack
 
PPTX
Server 2016 sneak peek
Michael Rüefli
 
PDF
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Docker, Inc.
 
PPTX
RBAC in Azure Kubernetes Service AKS
Emad Alashi
 
PDF
Cloud OS development
Sean Chang
 
PDF
Ci/CD - Stop wasting time, Automate your deployments
Jerry Jalava
 
PPTX
Introduction to Microservices Patterns
Dimosthenis Botsaris
 
PDF
CloudStack Best Practice in PPTV
gavin_lee
 
PDF
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
CodeOps Technologies LLP
 
PPTX
Apache CloudStack Architecture by Alex Huang
buildacloud
 
PPTX
CloudStack technical overview
CloudStack - Open Source Cloud Computing Project
 
PDF
CloudStack-Developer-Day
Kimihiko Kitase
 
CloudStack Overview
sedukull
 
Cloud for Kubernetes : Session3
WhaTap Labs
 
CloudStack DC Meetup - Apache CloudStack Overview and 4.1/4.2 Preview
Chip Childers
 
2020-02-10 Java on Azure Solution Briefing
Ed Burns
 
Hadoop Security Now and Future
tcloudcomputing-tw
 
VNG/IRD - Cloud computing & Openstack discussion 3/5/2014
Tran Nhan
 
CloudStack Networking at CloudOpen Japan
Kimihiko Kitase
 
OpenStack Cinder
Deepti Ramakrishna
 
OpenStack Technology Overview
Open Stack
 
Server 2016 sneak peek
Michael Rüefli
 
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Docker, Inc.
 
RBAC in Azure Kubernetes Service AKS
Emad Alashi
 
Cloud OS development
Sean Chang
 
Ci/CD - Stop wasting time, Automate your deployments
Jerry Jalava
 
Introduction to Microservices Patterns
Dimosthenis Botsaris
 
CloudStack Best Practice in PPTV
gavin_lee
 
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
CodeOps Technologies LLP
 
Apache CloudStack Architecture by Alex Huang
buildacloud
 
CloudStack-Developer-Day
Kimihiko Kitase
 

Viewers also liked (8)

PDF
Session 2 - CloudStack Usage and Application (2013.Q3)
tcloudcomputing-tw
 
PDF
Session 3 - CloudStack Test Automation and CI
tcloudcomputing-tw
 
PPTX
Policy Based SDN Solution for DC and Branch Office by Suresh Boddapati
buildacloud
 
PDF
Citrix CloudPlatform 305 and Apache CloudStack 40 Updates
Kimihiko Kitase
 
PDF
9 plugin Cloudstack Developer Day
Kimihiko Kitase
 
PDF
8 Source Code Cloudstack Developer Day
Kimihiko Kitase
 
PDF
The Future of SDN in CloudStack by Chiradeep Vittal
buildacloud
 
PDF
Cloud Native Landscape (CNCF and OCI)
Chris Aniszczyk
 
Session 2 - CloudStack Usage and Application (2013.Q3)
tcloudcomputing-tw
 
Session 3 - CloudStack Test Automation and CI
tcloudcomputing-tw
 
Policy Based SDN Solution for DC and Branch Office by Suresh Boddapati
buildacloud
 
Citrix CloudPlatform 305 and Apache CloudStack 40 Updates
Kimihiko Kitase
 
9 plugin Cloudstack Developer Day
Kimihiko Kitase
 
8 Source Code Cloudstack Developer Day
Kimihiko Kitase
 
The Future of SDN in CloudStack by Chiradeep Vittal
buildacloud
 
Cloud Native Landscape (CNCF and OCI)
Chris Aniszczyk
 
Ad

Similar to Writing a Plugin for Apache CloudStack (20)

PPT
Apache CloudStack AlpesJUG
Sebastien Goasguen
 
PPTX
Management server internals
CloudStack - Open Source Cloud Computing Project
 
PPT
Building FOSS clouds
Sebastien Goasguen
 
PPT
Intro to Cloudstack
Sebastien Goasguen
 
PDF
Alternative Dns Servers Choice And Deployment And Optional Sql Ldap Backends ...
zemedaryely
 
PPT
CloudStack for Java User Group
Sebastien Goasguen
 
PDF
いろいろ引き出し作って見ました
Mutsumi IWAISHI
 
PDF
3 Networking CloudStack Developer Day
Kimihiko Kitase
 
PPTX
Orchestration & provisioning
buildacloud
 
PDF
How to Run Amazon Web Services Workloads on Your VMware vCloud®
Cloudsoft Corp
 
PPTX
CloudStack Collaboration Conference 12; Refactoring cloud stack
buildacloud
 
PDF
5 scalability Cloudstack Developer Day
Kimihiko Kitase
 
PPT
DevCloud and CloudMonkey
Sebastien Goasguen
 
PPT
Intro to CloudStack Build a Cloud Day
Sebastien Goasguen
 
PPTX
Xen and Apache cloudstack
The Linux Foundation
 
PPTX
Deploying and configuring dns service
latoniasmith
 
PPTX
How to add a new hypervisor to CloudStack:Lessons learned from Hyper-V effort
Donal Lafferty
 
PPT
Automating Your CloudStack Cloud with Puppet
buildacloud
 
PDF
DNS Survival Guide.
Qrator Labs
 
PDF
DNS Survival Guide
APNIC
 
Apache CloudStack AlpesJUG
Sebastien Goasguen
 
Building FOSS clouds
Sebastien Goasguen
 
Intro to Cloudstack
Sebastien Goasguen
 
Alternative Dns Servers Choice And Deployment And Optional Sql Ldap Backends ...
zemedaryely
 
CloudStack for Java User Group
Sebastien Goasguen
 
いろいろ引き出し作って見ました
Mutsumi IWAISHI
 
3 Networking CloudStack Developer Day
Kimihiko Kitase
 
Orchestration & provisioning
buildacloud
 
How to Run Amazon Web Services Workloads on Your VMware vCloud®
Cloudsoft Corp
 
CloudStack Collaboration Conference 12; Refactoring cloud stack
buildacloud
 
5 scalability Cloudstack Developer Day
Kimihiko Kitase
 
DevCloud and CloudMonkey
Sebastien Goasguen
 
Intro to CloudStack Build a Cloud Day
Sebastien Goasguen
 
Xen and Apache cloudstack
The Linux Foundation
 
Deploying and configuring dns service
latoniasmith
 
How to add a new hypervisor to CloudStack:Lessons learned from Hyper-V effort
Donal Lafferty
 
Automating Your CloudStack Cloud with Puppet
buildacloud
 
DNS Survival Guide.
Qrator Labs
 
DNS Survival Guide
APNIC
 
Ad

More from buildacloud (20)

PDF
L4-L7 services for SDN and NVF by Youcef Laribi
buildacloud
 
POTX
Jenkins, jclouds, CloudStack, and CentOS by David Nalley
buildacloud
 
PPTX
Intro to Zenoss by Andrew Kirch
buildacloud
 
ODP
Guaranteeing Storage Performance by Mike Tutkowski
buildacloud
 
PDF
Cloud Application Blueprints with Apache Brooklyn by Alex Henevald
buildacloud
 
PPT
Introduction to Apache CloudStack by David Nalley
buildacloud
 
PDF
Managing infrastructure with Application Policy by Mike Cohen
buildacloud
 
PPTX
Intro to Zenoss by Andrew Kirch
buildacloud
 
PPTX
Monitoring CloudStack in context with Converged Infrastructure by Mike Turnlund
buildacloud
 
PDF
Rest api design by george reese
buildacloud
 
PPTX
Enterprise grade firewall and ssl termination to ac by will stevens
buildacloud
 
PDF
State of the cloud by reuven cohen
buildacloud
 
PDF
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
buildacloud
 
PPTX
DevCloud - Setup and Demo on Apache CloudStack
buildacloud
 
PDF
Cloud Network Virtualization with Juniper Contrail
buildacloud
 
PPTX
Ian rae panel cloud stack & cloud storage where are we at, and where do we ne...
buildacloud
 
PDF
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
buildacloud
 
PPT
CloudStack University by Sebastien Goasguen
buildacloud
 
PDF
Building Scalable, Resilient Infrastructure on CloudStack by Sebastian Stadil
buildacloud
 
PPTX
Cloudstack Continuous Delivery
buildacloud
 
L4-L7 services for SDN and NVF by Youcef Laribi
buildacloud
 
Jenkins, jclouds, CloudStack, and CentOS by David Nalley
buildacloud
 
Intro to Zenoss by Andrew Kirch
buildacloud
 
Guaranteeing Storage Performance by Mike Tutkowski
buildacloud
 
Cloud Application Blueprints with Apache Brooklyn by Alex Henevald
buildacloud
 
Introduction to Apache CloudStack by David Nalley
buildacloud
 
Managing infrastructure with Application Policy by Mike Cohen
buildacloud
 
Intro to Zenoss by Andrew Kirch
buildacloud
 
Monitoring CloudStack in context with Converged Infrastructure by Mike Turnlund
buildacloud
 
Rest api design by george reese
buildacloud
 
Enterprise grade firewall and ssl termination to ac by will stevens
buildacloud
 
State of the cloud by reuven cohen
buildacloud
 
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
buildacloud
 
DevCloud - Setup and Demo on Apache CloudStack
buildacloud
 
Cloud Network Virtualization with Juniper Contrail
buildacloud
 
Ian rae panel cloud stack & cloud storage where are we at, and where do we ne...
buildacloud
 
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
buildacloud
 
CloudStack University by Sebastien Goasguen
buildacloud
 
Building Scalable, Resilient Infrastructure on CloudStack by Sebastian Stadil
buildacloud
 
Cloudstack Continuous Delivery
buildacloud
 

Writing a Plugin for Apache CloudStack

  • 2. A little bit about me • Cloud.Com Founding Engineer • Software architect for CloudPlatform • Responsible for overall architecture, performance, and scalability • Committer and PPMC member • BS from UC Berkeley and MS from Stanford
  • 3. Extending CloudStack Networking 2. prepare (Network, Nic, DeployDestination, VmInfo) 1. prepare (part of start vm) Network Network Element PluggableService Manager Device Configuration MyDnsDeviceSer Admin API (CRUD) vice DnsService 3. addDnsRecord(ip, fqdn) Demonstrates one way to MyDnsDeviceMa MySQL MyDnsElement inform an external DNS nager server when an instance starts. AgentManag 4.Enqueue AddDnsRecord er Queue Classes shaded blue form a plugin / service bundle to integrate an external DNS MyDnsDeviceRes server. Clients of the ServerResource ource instance can then use DNS names to access the 5.API call to Dns Device instance.
  • 4. Outline • Setup developer environment • Checking out source code • Setup devCloud • Setup a new plugin project • Write code • Write a unit test • Testing your new plugin • Potential Problems
  • 5. Tools Needed • JDK • MySQL • Maven • Eclipse – M2e – Pydev – EGit • Cygwin if on Windows
  • 6. The future needs you! Project web site: http://incubator.apache.org/projects/cloudstack.html Mailing lists: [email protected] [email protected] IRC: #CloudStack on irc.freenode.net
  • 7. Thank You! Alex Huang Email: [email protected] Blog: http://xueyuan.github.com/