SlideShare a Scribd company logo
1 of 44
Apache CloudStack:
  From API to UI
      Joe Brockmeier
PMC Member Apache CloudStack
        jzb@apache.org
  Twitter: @jzb | Freenode: jzb
Five Six Characteristics of Clouds
•   On-Demand Self-Service
•   Broad Network Access
•   Resource Pooling
•   Rapid Elasticity
•   Measured Service
•   API Access
Cloud Service Models
     USER CLOUD a.k.a. SOFTWARE AS A SERVICE

     Single application, multi-tenancy, network-based, one-to-many delivery of
     applications, all users have same access to features.

     Examples: Salesforce.com, Google Docs, Red Hat Network/RHEL

     DEVELOPMENT CLOUD a.k.a. PLATFORM-AS-A-SERVICE

     Application developer model, Application deployed to an elastic service that
     autoscales, low administrative overhead. No concept of virtual machines or
     operating system. Code it and deploy it.

     Examples: VMware CloudFoundry, Google AppEngine, Windows Azure,
     Rackspace Sites, Red Hat OpenShift, Active State Stackato, Appfog

     SYSTEMS CLOUD a.k.a INFRASTRUCTURE-AS-A-SERVICE

     Servers and storage are made available in a scalable way over a network.

     Examples: EC2,Rackspace CloudFiles, OpenStack, CloudStack,
     Eucalyptus, OpenNebula
Deployment Models
What is Apache CloudStack?
• Open Source (Apache-Licensed) IaaS
• Community of Users and Providers
• Written in Java*
• Provides a Turn-Key “Stack” for Running
  Public, Private, or Hybrid Clouds
• Hypervisor Agnostic*
• Time-Based Releases
In the beginning…
• Started as VMOps Cloud Stack (2008)
• Became Cloud.com in 2010
• Released CloudStack under GPLv3 – but Open
  Core (May 2010)
• Acquired by Citrix (July 2011)
• Entirely Open Source (August 2011)
Going to Apache
• Relicensed & Proposed to Apache (April 3,
  2012)
• Accepted as an Incubating Project (April 16,
  2012)
• First Major Release, 4.0.0-incubating
  (November 6, 2012)
• First Minor Release, 4.0.1-incubating
  (February 12, 2013)
Why Apache?
•   Known and Proven Governance Model
•   Active Mentoring of New Projects
•   100% Community-Driven
•   More than 3,000 Developers
•   Many Successful Projects: Apache HTTPD,
    Tomcat, Hadoop, Cassandra, Lucene, etc.
Apache Process
• 100% Community-Driven
• “If It Didn’t Happen on the Mailing List…”
• Clear Governance (PPMC, Committer,
  Contributor, etc.)
• Community Over Code
• Rigorous Attention to Licenses
• Can Seem Bureaucratic
Results!
What CloudStack Provides
Hypervisor Support
•   KVM
•   XenServer
•   Xen Cloud Platform
•   VMware via vCenter
•   Bare Metal via IPMI
CloudStack Terminology
           • Zone: Availability zone, aka
             Regions. Could be worldwide.
             Different data centers
           • Pods: Racks or aisles in a data
             center
           • Clusters: Group of machines
             with a common type of
             Hypervisor
           • Host: A Single server
           • Primary Storage: Shared
             storage across a cluster
           • Secondary Storage: Shared
             storage in a single Zone
CloudStack Architecture
                                        Internet          Hypervisor is the basic unit of
   CloudStack
  Management                                               scale.
     Server
Zone 1                                                    Cluster consists of one ore
                                                           more hosts of same hypervisor
                      L3 core
                                                          All hosts in cluster have access
                                                           to shared (primary) storage
Pod 1 Access Layer              Pod N
                                             Secondary
                                                          Pod is one or more clusters,
                          ….                  Storage      usually with L2 switches.
  Cluster N
                                                          Availability Zone has one or
                                                           more pods, has access to
       ….                                                  secondary storage.
                                                          One or more zones represent
  Cluster 1
                                                           cloud
    Host 1
                Primary
                Storage
    Host 2
CloudStack Storage
• Primary Storage:
   –   Anything that can be mounted on the node of a cluster.
   –   Cluster LVM…iSCSI…
   –   Holds disk images of running VMs
   –   Support for CEPH with KVM hypervisors
• Secondary Storage:
   –   Available across the zone
   –   Holds snapshots and templates (image repo)
   –   Can use OpenStack swift or any object store (Gluster FS…)
   –   New support for Caringo

• Can use NFS for both to start
• Storage abstraction refactoring underway in 4.1.0 and 4.2.0
Networking
• Extremely flexible to:
  – Provide isolation with VLANs
  – Provide isolation at L3 with shared L2 (scalability)
  – Support hardware devices that exposes API
  – Deployed on existing networking infrastructure
  – Support new networking paradigm (SDN)
     • Support for Nicira Virtual P
     • Extensive use of Open VSwitch
Management Server
• All UI functionality is available as an API call
• Restful API
   – Unauthenticated API on 8096 for localhost
     (disabled by default)
   – Authenticated on port 8080
   – Responses in XML or JSON
Highly Scalable
• Up to 10K resources managed per
  management server node
• Internal testing w/software simulators shows
  up to 30K physical resources and 30K VMs
  managed by 4 management server nodes.
• Real production deployments of tens of
  thousands of resources
• See Alex Huang’s presentation:
   http://is.gd/alexh_scale
CloudStack Allocation
• How are VMs placed, storage allocated, etc.?
• CloudStack has several defaults
  – First fit
  – Fill first
  – Disperse
• Don’t like those? Create your own!
• Allows over-provsioning
• OS Preference
High Availability
• RFMTTR – “really fast mean time to recovery.”
• CloudStack is not (alone) a magical HA
  solution.
• Watches HA-enabled VMs to ensure they’re
  up, and that the hypervisor it’s on is up. Will
  restart on another if the hypervisor goes
  down.
• Redundant router.
Load Balancing
• Uses HA Proxy
• CloudStack supports load-balancing for
  distributing traffic to its instances
• Choose between round-robin, source, or least
  connections
• Choose stickiness policy (source, lbcookie,
  appcookie)
Snapshots
• CloudStack allows you to take snapshots
  manually or set up recurring snapshots.
• Snapshots can be managed automagically
  (keep N number) and manually (delete
  snapshot manually).
• Can be turned into templates or volumes to
  be used by other instances.
CloudStack Networking
• CloudStack manages
  –   DHCP
  –   VLAN allocation
  –   Firewall
  –   NAT/Port forwarding
  –   Routing
  –   VPN
  –   Load Balancing
• CloudStack can manage physical network hardware
  (F5-Big IP, NetScaler, Juniper SRX)
CloudStack Networking Types
• CloudStack offers Basic and Advanced
  Networking
  – Basic: Easy, can only be one physical network
     • Every host, system VM, and guest instance has a unique
       IP
  – Advanced: Allows multiple physical networks
     • Each account has a public IP, assigned to virtual router,
       guest IP range (e.g. 10.0.1.10/24), and VLAN ID for the
       isolated guest network
     • Guests communicate via their own dedicated VLAN
CloudStack Networks
• Management Network: Used by hypervisors and
  management server to communicate
• Private Network: Default network for system VMs
  (virtual router, secondary storage VM, console
  proxy VM)
• Public Network: Public-facing (e.g. the Internet)
• Guest Network: Network VMs are provisioned on
• Link-local Network: Network used for
  communication between hypervisor and system
  VMs. (RFC 3927)
Security Groups
• Traditional isolation has been via VLAN
• VLANs provide isolation, but at the cost of
  scaling
  – Standard limit is 4,096 VLANs
  – Hardware that supports upper limit is expensive
  – What happens with 4,097?
• Amazon and others use Layer 3 isolation
  (Security Groups)
Security Groups
• Assumes a quasi-trusted Layer 2 network
• Filtering/isolation happens at the bridge level
  (think ebtables)
• Deny by default
Accounts, Domains, and Projects
• CloudStack has a top-level domain called ROOT
• You can create sub-domains
• You can create 3 types of accounts, admins,
  domain-admins, or users
• Projects can be used to hold resources for time-
  limited projects
• Supports LDAP integration
• CloudStack’s account system is very simple –
  don’t make it more complicated!
Usage Accounting
• Provides stats that can be used for billing (but
  is not a billing solution)
• Usage stats show: VM count, CPU usage, disk
  allocation and use, network usage over time.
• Integration howtos for importing to Excel,
  Ubersmith, Amysta, and Cloud Portal.
APIs
•   Root Admin, Domain Admin, User
•   Set of methods available over HTTP(S)
•   Authenticated on 8080 w/Keys
•   Unauthenticated on 8096 (off by default)
•   Python + Ruby clients available
AWS EC2 and S3 Compatibility
• Includes an EC2/S3 compatibility layer
• See:
  – http://wiki.cloudstack.org/display/RelOps/EC2+AP
    I+support+in+CloudStack
  – http://www.slideshare.net/sebastiengoasguen/clo
    udstack-ec2-configuration
• Euca Tools, Boto, etc. should work with
  CloudStack
CloudMonkey
• New ASF CloudStack CLI
• Python code, built using Marvin
• https://cwiki.apache.org/CLOUDSTACK/clouds
  tack-cloudmonkey-cli.html
• Available from CloudStack source or pypi:
  – http://pypi.python.org/pypi/cloudmonkey/
Use Cases
•   Private Cloud
•   Dual-Workload Private Cloud
•   Public Cloud (ISP/Providers)
•   Hybrid Cloud
•   Small to Very, Very Large
Zynga
• Online Games
• Hybrid Cloud (Move
  workloads between
  “zCloud” and public
  cloud) 80/20 split
• North of 30K Nodes
Datapipe
• Public Cloud
• Geo-distributed:
   –   U.S. (NJ & San Jose, CA)
   –   Hong Kong
   –   Shanghai
   –   London
   –   Iceland (w/in 90 days)
• Smaller (< 100 Hosts) but
  massively distributed
• See:
  http://is.gd/datapipe_cs
ISWest
• Hosted IaaS Clouds
  (Private Environment)
  from Dedicated Servers
• Most Customers are
  Small (< 15 VMs)
• Mix of Hypervisors
• Functioning Cloud in “a
  little over a month.”
Trying CloudStack
DevCloud
• DevCloud is a VirtualBox image w/nested virt.
• Grab the DevCloud image from:
http://wiki.cloudstack.org/display/COMM/DevCloud
• Log in via the GUI:
http://localhost:8080/client
• SSH to DevCloud:
ssh -p 2222 root@localhost
Username: admin            Password: password
• DevCloud KVM – effort to run DevCloud on a KVM host
CloudStack Runbook
• Minimal install (1 server)
• Written by David Nalley w/fixes from the
  community
• http://people.apache.org/~ke4qqq/runbook/
• Focuses on CentOS w/KVM – other runbooks
  in process for Ubuntu w/Xen or KVM.
Direction
• Currently on a Four-Month Release Cycle
• 4.1.0 Expected Early April, 4.2.0 in August
• 4.0.2 “Any Day Now”
• Releases Supported Until Next Major Feature
  Release (e.g., 4.0.0, 4.0.x until 4.1.0)
• Last Major Release Will Receive Support for 12
  Months (hasn’t happened yet)
Expected in 4.1.0
• AutoScale: Work with loadbalancers (like
  NetScaler) to scale up/down resources.
• Resize Volumes for Instances
• OpenVSwitch Support for KVM
• API Request Throttling
• AWS-like Regions
• Persistent Networks without Running
  Instances
Get Involved
• Main Site: CloudStack.org
• IRC: #cloudstack and #cloudstack-dev
• Follow @cloudstack on Twitter
• Lots of Presos:
  http://slideshare.net/cloudstack
• Mailing Lists:
  http://cloudstack.org/discuss/mailing-
  lists.html
Contact Me
Email: jzb@apache.org


Phone: +1 314-669-4JZB
(4592)

Blog: http://dissociatedpress.net/


Twitter:

More Related Content

What's hot

Understanding kube proxy in ipvs mode
Understanding kube proxy in ipvs modeUnderstanding kube proxy in ipvs mode
Understanding kube proxy in ipvs modeVictor Morales
 
Deploying CloudStack with Ceph
Deploying CloudStack with CephDeploying CloudStack with Ceph
Deploying CloudStack with CephShapeBlue
 
Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginnersJoseph Amirani
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack ArchitectureMirantis
 
Ceph with CloudStack
Ceph with CloudStackCeph with CloudStack
Ceph with CloudStackShapeBlue
 
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...Vietnam Open Infrastructure User Group
 
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueShapeBlue
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack NetworkingIlya Shakhat
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep diveTrinath Somanchi
 
[242]open stack neutron dataplane 구현
[242]open stack neutron   dataplane 구현[242]open stack neutron   dataplane 구현
[242]open stack neutron dataplane 구현NAVER D2
 
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개OpenStack Korea Community
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesJalal Mostafa
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Seung-Hoon Baek
 
What's Coming in CloudStack 4.19
What's Coming in CloudStack 4.19What's Coming in CloudStack 4.19
What's Coming in CloudStack 4.19ShapeBlue
 
오픈스택 멀티노드 설치 후기
오픈스택 멀티노드 설치 후기오픈스택 멀티노드 설치 후기
오픈스택 멀티노드 설치 후기영우 김
 
Openstack Trunk Port
Openstack Trunk PortOpenstack Trunk Port
Openstack Trunk Portbenceromsics
 
What CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBDWhat CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBDShapeBlue
 
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack CascadingBuilding Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack CascadingJoe Huang
 
Red Hat Container Strategy
Red Hat Container StrategyRed Hat Container Strategy
Red Hat Container StrategyRed Hat Events
 

What's hot (20)

Understanding kube proxy in ipvs mode
Understanding kube proxy in ipvs modeUnderstanding kube proxy in ipvs mode
Understanding kube proxy in ipvs mode
 
CloudStack Architecture
CloudStack ArchitectureCloudStack Architecture
CloudStack Architecture
 
Deploying CloudStack with Ceph
Deploying CloudStack with CephDeploying CloudStack with Ceph
Deploying CloudStack with Ceph
 
Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginners
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 
Ceph with CloudStack
Ceph with CloudStackCeph with CloudStack
Ceph with CloudStack
 
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
 
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
 
OpenStack Networking
OpenStack NetworkingOpenStack Networking
OpenStack Networking
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep dive
 
[242]open stack neutron dataplane 구현
[242]open stack neutron   dataplane 구현[242]open stack neutron   dataplane 구현
[242]open stack neutron dataplane 구현
 
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
[OpenStack Days Korea 2016] Track2 - 아리스타 OpenStack 연동 및 CloudVision 솔루션 소개
 
OpenStack Architecture and Use Cases
OpenStack Architecture and Use CasesOpenStack Architecture and Use Cases
OpenStack Architecture and Use Cases
 
Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조Open vSwitch 패킷 처리 구조
Open vSwitch 패킷 처리 구조
 
What's Coming in CloudStack 4.19
What's Coming in CloudStack 4.19What's Coming in CloudStack 4.19
What's Coming in CloudStack 4.19
 
오픈스택 멀티노드 설치 후기
오픈스택 멀티노드 설치 후기오픈스택 멀티노드 설치 후기
오픈스택 멀티노드 설치 후기
 
Openstack Trunk Port
Openstack Trunk PortOpenstack Trunk Port
Openstack Trunk Port
 
What CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBDWhat CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBD
 
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack CascadingBuilding Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
 
Red Hat Container Strategy
Red Hat Container StrategyRed Hat Container Strategy
Red Hat Container Strategy
 

Viewers also liked

Delivering IaaS with Open Source Software
Delivering IaaS with Open Source SoftwareDelivering IaaS with Open Source Software
Delivering IaaS with Open Source SoftwareMark Hinkle
 
Penetrating the Cloud: Opportunities & Challenges for Businesses
Penetrating the Cloud: Opportunities & Challenges for BusinessesPenetrating the Cloud: Opportunities & Challenges for Businesses
Penetrating the Cloud: Opportunities & Challenges for BusinessesCompTIA
 
The Total Cost of Ownership (TCO) of Web Applications in the AWS Cloud - Jine...
The Total Cost of Ownership (TCO) of Web Applications in the AWS Cloud - Jine...The Total Cost of Ownership (TCO) of Web Applications in the AWS Cloud - Jine...
The Total Cost of Ownership (TCO) of Web Applications in the AWS Cloud - Jine...Amazon Web Services
 
Can we hack open source #cloud platforms to help reduce emissions?
Can we hack open source #cloud platforms to help reduce emissions?Can we hack open source #cloud platforms to help reduce emissions?
Can we hack open source #cloud platforms to help reduce emissions?Tom Raftery
 
LinuxFest NW 2013: Hitchhiker's Guide to Open Source Cloud Computing
LinuxFest NW 2013: Hitchhiker's Guide to Open Source Cloud ComputingLinuxFest NW 2013: Hitchhiker's Guide to Open Source Cloud Computing
LinuxFest NW 2013: Hitchhiker's Guide to Open Source Cloud ComputingMark Hinkle
 
Simplifying The Cloud Top 10 Questions By SMBs
Simplifying The Cloud Top 10 Questions By SMBsSimplifying The Cloud Top 10 Questions By SMBs
Simplifying The Cloud Top 10 Questions By SMBsSun Digital, Inc.
 
Avoiding Cloud Outage
Avoiding Cloud OutageAvoiding Cloud Outage
Avoiding Cloud OutageNati Shalom
 
Summer School Scale Cloud Across the Enterprise
Summer School   Scale Cloud Across the EnterpriseSummer School   Scale Cloud Across the Enterprise
Summer School Scale Cloud Across the EnterpriseWSO2
 
The Inevitable Cloud Outage
The Inevitable Cloud OutageThe Inevitable Cloud Outage
The Inevitable Cloud OutageNewvewm
 
2013 State of Cloud Survey SMB Results
2013 State of Cloud Survey SMB Results2013 State of Cloud Survey SMB Results
2013 State of Cloud Survey SMB ResultsSymantec
 
Linthicum what is-the-true-future-of-cloud-computing
Linthicum what is-the-true-future-of-cloud-computingLinthicum what is-the-true-future-of-cloud-computing
Linthicum what is-the-true-future-of-cloud-computingDavid Linthicum
 
Breaking through the Clouds
Breaking through the CloudsBreaking through the Clouds
Breaking through the CloudsAndy Piper
 
Best Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff BarrBest Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff BarrAmazon Web Services
 
2013 Future of Cloud Computing - 3rd Annual Survey Results
2013 Future of Cloud Computing - 3rd Annual Survey Results2013 Future of Cloud Computing - 3rd Annual Survey Results
2013 Future of Cloud Computing - 3rd Annual Survey ResultsMichael Skok
 
Intro to cloud computing — MegaCOMM 2013, Jerusalem
Intro to cloud computing — MegaCOMM 2013, JerusalemIntro to cloud computing — MegaCOMM 2013, Jerusalem
Intro to cloud computing — MegaCOMM 2013, JerusalemReuven Lerner
 

Viewers also liked (15)

Delivering IaaS with Open Source Software
Delivering IaaS with Open Source SoftwareDelivering IaaS with Open Source Software
Delivering IaaS with Open Source Software
 
Penetrating the Cloud: Opportunities & Challenges for Businesses
Penetrating the Cloud: Opportunities & Challenges for BusinessesPenetrating the Cloud: Opportunities & Challenges for Businesses
Penetrating the Cloud: Opportunities & Challenges for Businesses
 
The Total Cost of Ownership (TCO) of Web Applications in the AWS Cloud - Jine...
The Total Cost of Ownership (TCO) of Web Applications in the AWS Cloud - Jine...The Total Cost of Ownership (TCO) of Web Applications in the AWS Cloud - Jine...
The Total Cost of Ownership (TCO) of Web Applications in the AWS Cloud - Jine...
 
Can we hack open source #cloud platforms to help reduce emissions?
Can we hack open source #cloud platforms to help reduce emissions?Can we hack open source #cloud platforms to help reduce emissions?
Can we hack open source #cloud platforms to help reduce emissions?
 
LinuxFest NW 2013: Hitchhiker's Guide to Open Source Cloud Computing
LinuxFest NW 2013: Hitchhiker's Guide to Open Source Cloud ComputingLinuxFest NW 2013: Hitchhiker's Guide to Open Source Cloud Computing
LinuxFest NW 2013: Hitchhiker's Guide to Open Source Cloud Computing
 
Simplifying The Cloud Top 10 Questions By SMBs
Simplifying The Cloud Top 10 Questions By SMBsSimplifying The Cloud Top 10 Questions By SMBs
Simplifying The Cloud Top 10 Questions By SMBs
 
Avoiding Cloud Outage
Avoiding Cloud OutageAvoiding Cloud Outage
Avoiding Cloud Outage
 
Summer School Scale Cloud Across the Enterprise
Summer School   Scale Cloud Across the EnterpriseSummer School   Scale Cloud Across the Enterprise
Summer School Scale Cloud Across the Enterprise
 
The Inevitable Cloud Outage
The Inevitable Cloud OutageThe Inevitable Cloud Outage
The Inevitable Cloud Outage
 
2013 State of Cloud Survey SMB Results
2013 State of Cloud Survey SMB Results2013 State of Cloud Survey SMB Results
2013 State of Cloud Survey SMB Results
 
Linthicum what is-the-true-future-of-cloud-computing
Linthicum what is-the-true-future-of-cloud-computingLinthicum what is-the-true-future-of-cloud-computing
Linthicum what is-the-true-future-of-cloud-computing
 
Breaking through the Clouds
Breaking through the CloudsBreaking through the Clouds
Breaking through the Clouds
 
Best Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff BarrBest Practices for Architecting in the Cloud - Jeff Barr
Best Practices for Architecting in the Cloud - Jeff Barr
 
2013 Future of Cloud Computing - 3rd Annual Survey Results
2013 Future of Cloud Computing - 3rd Annual Survey Results2013 Future of Cloud Computing - 3rd Annual Survey Results
2013 Future of Cloud Computing - 3rd Annual Survey Results
 
Intro to cloud computing — MegaCOMM 2013, Jerusalem
Intro to cloud computing — MegaCOMM 2013, JerusalemIntro to cloud computing — MegaCOMM 2013, Jerusalem
Intro to cloud computing — MegaCOMM 2013, Jerusalem
 

Similar to Apache CloudStack from API to UI

Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)Joe Brockmeier
 
Deploying Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UIDeploying Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UIJoe Brockmeier
 
Getting Started with Apache CloudStack
Getting Started with Apache CloudStackGetting Started with Apache CloudStack
Getting Started with Apache CloudStackJoe Brockmeier
 
CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestke4qqq
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackMurali Reddy
 
CloudStack-Developer-Day
CloudStack-Developer-DayCloudStack-Developer-Day
CloudStack-Developer-DayKimihiko Kitase
 
Taking the open cloud to 11
Taking the open cloud to 11Taking the open cloud to 11
Taking the open cloud to 11Joe Brockmeier
 
CloudStack Architecture and Refactor
CloudStack Architecture and RefactorCloudStack Architecture and Refactor
CloudStack Architecture and Refactorgavin_lee
 
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-12012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1tcloudcomputing-tw
 
Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kiloSteven Li
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVgavin_lee
 
Apache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex HuangApache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex Huangbuildacloud
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...cloud-diva
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computingBrian Bullard
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overviewhowie YU
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStackChiradeep Vittal
 
Business Intelligent
Business Intelligent Business Intelligent
Business Intelligent Tuan Luong
 

Similar to Apache CloudStack from API to UI (20)

Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)
 
Deploying Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UIDeploying Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UI
 
Txlf2012
Txlf2012Txlf2012
Txlf2012
 
Getting Started with Apache CloudStack
Getting Started with Apache CloudStackGetting Started with Apache CloudStack
Getting Started with Apache CloudStack
 
CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWest
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 
CloudStack-Developer-Day
CloudStack-Developer-DayCloudStack-Developer-Day
CloudStack-Developer-Day
 
Taking the open cloud to 11
Taking the open cloud to 11Taking the open cloud to 11
Taking the open cloud to 11
 
CloudStack and SDN
CloudStack and SDNCloudStack and SDN
CloudStack and SDN
 
CloudStack Architecture and Refactor
CloudStack Architecture and RefactorCloudStack Architecture and Refactor
CloudStack Architecture and Refactor
 
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-12012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
2012 CloudStack Design Camp in Taiwan--- CloudStack Overview-1
 
Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kilo
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTV
 
Apache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex HuangApache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex Huang
 
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
Introduction to CloudStack: How to Deploy and Manage Infrastructure-as-a-Serv...
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computing
 
Intro to CloudStack
Intro to CloudStackIntro to CloudStack
Intro to CloudStack
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStack
 
Business Intelligent
Business Intelligent Business Intelligent
Business Intelligent
 

More from CloudStack - Open Source Cloud Computing Project

More from CloudStack - Open Source Cloud Computing Project (20)

CloudStack Hyderabad Meetup: How the Apache community works
CloudStack Hyderabad Meetup: How the Apache community worksCloudStack Hyderabad Meetup: How the Apache community works
CloudStack Hyderabad Meetup: How the Apache community works
 
CloudStack Hyderabad Meetup: Migrating applications to IaaS clouds
CloudStack Hyderabad Meetup: Migrating applications to IaaS cloudsCloudStack Hyderabad Meetup: Migrating applications to IaaS clouds
CloudStack Hyderabad Meetup: Migrating applications to IaaS clouds
 
CloudStack Hyderabad Meetup: Using CloudStack to build IaaS clouds
CloudStack Hyderabad Meetup: Using CloudStack to build IaaS cloudsCloudStack Hyderabad Meetup: Using CloudStack to build IaaS clouds
CloudStack Hyderabad Meetup: Using CloudStack to build IaaS clouds
 
CloudStack technical overview
CloudStack technical overviewCloudStack technical overview
CloudStack technical overview
 
vBACD July 2012 - Apache Hadoop, Now and Beyond
vBACD July 2012 - Apache Hadoop, Now and BeyondvBACD July 2012 - Apache Hadoop, Now and Beyond
vBACD July 2012 - Apache Hadoop, Now and Beyond
 
vBACD July 2012 - Scaling Storage with Ceph
vBACD July 2012 - Scaling Storage with CephvBACD July 2012 - Scaling Storage with Ceph
vBACD July 2012 - Scaling Storage with Ceph
 
vBACD July 2012 - Deploying Private PaaS with ActiveState Stackato
vBACD July 2012 - Deploying Private PaaS with ActiveState StackatovBACD July 2012 - Deploying Private PaaS with ActiveState Stackato
vBACD July 2012 - Deploying Private PaaS with ActiveState Stackato
 
vBACD July 2012 - Xen Cloud Platform
vBACD July 2012 - Xen Cloud PlatformvBACD July 2012 - Xen Cloud Platform
vBACD July 2012 - Xen Cloud Platform
 
vBACD- July 2012 - Crash Course in Open Source Cloud Computing
vBACD- July 2012 - Crash Course in Open Source Cloud ComputingvBACD- July 2012 - Crash Course in Open Source Cloud Computing
vBACD- July 2012 - Crash Course in Open Source Cloud Computing
 
Virtualization in the cloud
Virtualization in the cloudVirtualization in the cloud
Virtualization in the cloud
 
Build a Cloud Day San Francisco - Ubuntu Cloud
Build a Cloud Day San Francisco - Ubuntu CloudBuild a Cloud Day San Francisco - Ubuntu Cloud
Build a Cloud Day San Francisco - Ubuntu Cloud
 
CloudStack Scalability
CloudStack ScalabilityCloudStack Scalability
CloudStack Scalability
 
Cloudstack UI Customization
Cloudstack UI CustomizationCloudstack UI Customization
Cloudstack UI Customization
 
CloudStack Networking
CloudStack NetworkingCloudStack Networking
CloudStack Networking
 
Management server internals
Management server internalsManagement server internals
Management server internals
 
Introduction to CloudStack
Introduction to CloudStack Introduction to CloudStack
Introduction to CloudStack
 
vBACD - Introduction to Puppet, Configuration Management and IT Automation So...
vBACD - Introduction to Puppet, Configuration Management and IT Automation So...vBACD - Introduction to Puppet, Configuration Management and IT Automation So...
vBACD - Introduction to Puppet, Configuration Management and IT Automation So...
 
vBACD - Distributed Petabyte-Scale Cloud Storage with GlusterFS - 2/28
vBACD - Distributed Petabyte-Scale Cloud Storage with GlusterFS - 2/28vBACD - Distributed Petabyte-Scale Cloud Storage with GlusterFS - 2/28
vBACD - Distributed Petabyte-Scale Cloud Storage with GlusterFS - 2/28
 
vBACD - Crash Course in Open Source Cloud Computing - 2/28
vBACD - Crash Course in Open Source Cloud Computing - 2/28vBACD - Crash Course in Open Source Cloud Computing - 2/28
vBACD - Crash Course in Open Source Cloud Computing - 2/28
 
vBACD - Introduction to Opscode Chef - 2/29
vBACD - Introduction to Opscode Chef - 2/29vBACD - Introduction to Opscode Chef - 2/29
vBACD - Introduction to Opscode Chef - 2/29
 

Apache CloudStack from API to UI

  • 1. Apache CloudStack: From API to UI Joe Brockmeier PMC Member Apache CloudStack jzb@apache.org Twitter: @jzb | Freenode: jzb
  • 2. Five Six Characteristics of Clouds • On-Demand Self-Service • Broad Network Access • Resource Pooling • Rapid Elasticity • Measured Service • API Access
  • 3. Cloud Service Models USER CLOUD a.k.a. SOFTWARE AS A SERVICE Single application, multi-tenancy, network-based, one-to-many delivery of applications, all users have same access to features. Examples: Salesforce.com, Google Docs, Red Hat Network/RHEL DEVELOPMENT CLOUD a.k.a. PLATFORM-AS-A-SERVICE Application developer model, Application deployed to an elastic service that autoscales, low administrative overhead. No concept of virtual machines or operating system. Code it and deploy it. Examples: VMware CloudFoundry, Google AppEngine, Windows Azure, Rackspace Sites, Red Hat OpenShift, Active State Stackato, Appfog SYSTEMS CLOUD a.k.a INFRASTRUCTURE-AS-A-SERVICE Servers and storage are made available in a scalable way over a network. Examples: EC2,Rackspace CloudFiles, OpenStack, CloudStack, Eucalyptus, OpenNebula
  • 5. What is Apache CloudStack? • Open Source (Apache-Licensed) IaaS • Community of Users and Providers • Written in Java* • Provides a Turn-Key “Stack” for Running Public, Private, or Hybrid Clouds • Hypervisor Agnostic* • Time-Based Releases
  • 6. In the beginning… • Started as VMOps Cloud Stack (2008) • Became Cloud.com in 2010 • Released CloudStack under GPLv3 – but Open Core (May 2010) • Acquired by Citrix (July 2011) • Entirely Open Source (August 2011)
  • 7. Going to Apache • Relicensed & Proposed to Apache (April 3, 2012) • Accepted as an Incubating Project (April 16, 2012) • First Major Release, 4.0.0-incubating (November 6, 2012) • First Minor Release, 4.0.1-incubating (February 12, 2013)
  • 8. Why Apache? • Known and Proven Governance Model • Active Mentoring of New Projects • 100% Community-Driven • More than 3,000 Developers • Many Successful Projects: Apache HTTPD, Tomcat, Hadoop, Cassandra, Lucene, etc.
  • 9. Apache Process • 100% Community-Driven • “If It Didn’t Happen on the Mailing List…” • Clear Governance (PPMC, Committer, Contributor, etc.) • Community Over Code • Rigorous Attention to Licenses • Can Seem Bureaucratic
  • 12. Hypervisor Support • KVM • XenServer • Xen Cloud Platform • VMware via vCenter • Bare Metal via IPMI
  • 13. CloudStack Terminology • Zone: Availability zone, aka Regions. Could be worldwide. Different data centers • Pods: Racks or aisles in a data center • Clusters: Group of machines with a common type of Hypervisor • Host: A Single server • Primary Storage: Shared storage across a cluster • Secondary Storage: Shared storage in a single Zone
  • 14. CloudStack Architecture Internet  Hypervisor is the basic unit of CloudStack Management scale. Server Zone 1  Cluster consists of one ore more hosts of same hypervisor L3 core  All hosts in cluster have access to shared (primary) storage Pod 1 Access Layer Pod N Secondary  Pod is one or more clusters, …. Storage usually with L2 switches. Cluster N  Availability Zone has one or more pods, has access to …. secondary storage.  One or more zones represent Cluster 1 cloud Host 1 Primary Storage Host 2
  • 15. CloudStack Storage • Primary Storage: – Anything that can be mounted on the node of a cluster. – Cluster LVM…iSCSI… – Holds disk images of running VMs – Support for CEPH with KVM hypervisors • Secondary Storage: – Available across the zone – Holds snapshots and templates (image repo) – Can use OpenStack swift or any object store (Gluster FS…) – New support for Caringo • Can use NFS for both to start • Storage abstraction refactoring underway in 4.1.0 and 4.2.0
  • 16. Networking • Extremely flexible to: – Provide isolation with VLANs – Provide isolation at L3 with shared L2 (scalability) – Support hardware devices that exposes API – Deployed on existing networking infrastructure – Support new networking paradigm (SDN) • Support for Nicira Virtual P • Extensive use of Open VSwitch
  • 17. Management Server • All UI functionality is available as an API call • Restful API – Unauthenticated API on 8096 for localhost (disabled by default) – Authenticated on port 8080 – Responses in XML or JSON
  • 18. Highly Scalable • Up to 10K resources managed per management server node • Internal testing w/software simulators shows up to 30K physical resources and 30K VMs managed by 4 management server nodes. • Real production deployments of tens of thousands of resources • See Alex Huang’s presentation: http://is.gd/alexh_scale
  • 19. CloudStack Allocation • How are VMs placed, storage allocated, etc.? • CloudStack has several defaults – First fit – Fill first – Disperse • Don’t like those? Create your own! • Allows over-provsioning • OS Preference
  • 20. High Availability • RFMTTR – “really fast mean time to recovery.” • CloudStack is not (alone) a magical HA solution. • Watches HA-enabled VMs to ensure they’re up, and that the hypervisor it’s on is up. Will restart on another if the hypervisor goes down. • Redundant router.
  • 21. Load Balancing • Uses HA Proxy • CloudStack supports load-balancing for distributing traffic to its instances • Choose between round-robin, source, or least connections • Choose stickiness policy (source, lbcookie, appcookie)
  • 22. Snapshots • CloudStack allows you to take snapshots manually or set up recurring snapshots. • Snapshots can be managed automagically (keep N number) and manually (delete snapshot manually). • Can be turned into templates or volumes to be used by other instances.
  • 23. CloudStack Networking • CloudStack manages – DHCP – VLAN allocation – Firewall – NAT/Port forwarding – Routing – VPN – Load Balancing • CloudStack can manage physical network hardware (F5-Big IP, NetScaler, Juniper SRX)
  • 24. CloudStack Networking Types • CloudStack offers Basic and Advanced Networking – Basic: Easy, can only be one physical network • Every host, system VM, and guest instance has a unique IP – Advanced: Allows multiple physical networks • Each account has a public IP, assigned to virtual router, guest IP range (e.g. 10.0.1.10/24), and VLAN ID for the isolated guest network • Guests communicate via their own dedicated VLAN
  • 25. CloudStack Networks • Management Network: Used by hypervisors and management server to communicate • Private Network: Default network for system VMs (virtual router, secondary storage VM, console proxy VM) • Public Network: Public-facing (e.g. the Internet) • Guest Network: Network VMs are provisioned on • Link-local Network: Network used for communication between hypervisor and system VMs. (RFC 3927)
  • 26. Security Groups • Traditional isolation has been via VLAN • VLANs provide isolation, but at the cost of scaling – Standard limit is 4,096 VLANs – Hardware that supports upper limit is expensive – What happens with 4,097? • Amazon and others use Layer 3 isolation (Security Groups)
  • 27. Security Groups • Assumes a quasi-trusted Layer 2 network • Filtering/isolation happens at the bridge level (think ebtables) • Deny by default
  • 28. Accounts, Domains, and Projects • CloudStack has a top-level domain called ROOT • You can create sub-domains • You can create 3 types of accounts, admins, domain-admins, or users • Projects can be used to hold resources for time- limited projects • Supports LDAP integration • CloudStack’s account system is very simple – don’t make it more complicated!
  • 29. Usage Accounting • Provides stats that can be used for billing (but is not a billing solution) • Usage stats show: VM count, CPU usage, disk allocation and use, network usage over time. • Integration howtos for importing to Excel, Ubersmith, Amysta, and Cloud Portal.
  • 30. APIs • Root Admin, Domain Admin, User • Set of methods available over HTTP(S) • Authenticated on 8080 w/Keys • Unauthenticated on 8096 (off by default) • Python + Ruby clients available
  • 31.
  • 32. AWS EC2 and S3 Compatibility • Includes an EC2/S3 compatibility layer • See: – http://wiki.cloudstack.org/display/RelOps/EC2+AP I+support+in+CloudStack – http://www.slideshare.net/sebastiengoasguen/clo udstack-ec2-configuration • Euca Tools, Boto, etc. should work with CloudStack
  • 33. CloudMonkey • New ASF CloudStack CLI • Python code, built using Marvin • https://cwiki.apache.org/CLOUDSTACK/clouds tack-cloudmonkey-cli.html • Available from CloudStack source or pypi: – http://pypi.python.org/pypi/cloudmonkey/
  • 34. Use Cases • Private Cloud • Dual-Workload Private Cloud • Public Cloud (ISP/Providers) • Hybrid Cloud • Small to Very, Very Large
  • 35. Zynga • Online Games • Hybrid Cloud (Move workloads between “zCloud” and public cloud) 80/20 split • North of 30K Nodes
  • 36. Datapipe • Public Cloud • Geo-distributed: – U.S. (NJ & San Jose, CA) – Hong Kong – Shanghai – London – Iceland (w/in 90 days) • Smaller (< 100 Hosts) but massively distributed • See: http://is.gd/datapipe_cs
  • 37. ISWest • Hosted IaaS Clouds (Private Environment) from Dedicated Servers • Most Customers are Small (< 15 VMs) • Mix of Hypervisors • Functioning Cloud in “a little over a month.”
  • 39. DevCloud • DevCloud is a VirtualBox image w/nested virt. • Grab the DevCloud image from: http://wiki.cloudstack.org/display/COMM/DevCloud • Log in via the GUI: http://localhost:8080/client • SSH to DevCloud: ssh -p 2222 root@localhost Username: admin Password: password • DevCloud KVM – effort to run DevCloud on a KVM host
  • 40. CloudStack Runbook • Minimal install (1 server) • Written by David Nalley w/fixes from the community • http://people.apache.org/~ke4qqq/runbook/ • Focuses on CentOS w/KVM – other runbooks in process for Ubuntu w/Xen or KVM.
  • 41. Direction • Currently on a Four-Month Release Cycle • 4.1.0 Expected Early April, 4.2.0 in August • 4.0.2 “Any Day Now” • Releases Supported Until Next Major Feature Release (e.g., 4.0.0, 4.0.x until 4.1.0) • Last Major Release Will Receive Support for 12 Months (hasn’t happened yet)
  • 42. Expected in 4.1.0 • AutoScale: Work with loadbalancers (like NetScaler) to scale up/down resources. • Resize Volumes for Instances • OpenVSwitch Support for KVM • API Request Throttling • AWS-like Regions • Persistent Networks without Running Instances
  • 43. Get Involved • Main Site: CloudStack.org • IRC: #cloudstack and #cloudstack-dev • Follow @cloudstack on Twitter • Lots of Presos: http://slideshare.net/cloudstack • Mailing Lists: http://cloudstack.org/discuss/mailing- lists.html
  • 44. Contact Me Email: jzb@apache.org Phone: +1 314-669-4JZB (4592) Blog: http://dissociatedpress.net/ Twitter:

Editor's Notes

  1. Also mention business focus, lifecycle (incubator to attic), ability to change (modulo some difficulty).
  2. We now have more than 160 people who’ve submitted patches that have been included into master or a release according to gitshortlog. Also a larger community that has participated in writing documentation on the wiki, helping other users in IRC, and created integrations, etc.
  3. A user can belong to only one Account, .ie. the same User cannot belong to multiple Accounts.Whenever creating an account at any domain level it can be of two types - Admin or user. If account == Admin then he will be domain admin of that domain and if created with type=user he will be a regular account under that domain.Admin created at ROOT level is called ROOT admin and since ROOT is the top domain he has privileges to act on all the resources.Username is unique in a Domain across Accounts in that Domain. The same username can exist in other domains, including subdomains.Account name is unique in a domain. The same Account name can exist in other domains, including subdomains.Domain name can repeat as long as the full pathname from ROOT is unique. For ex, you can have ROOT/d1, as well as ROOT/foo/d1, and ROOT/bar/d1.Resources belong to an Account, not individual users in that account. Billing, resource limits etc are maintained by Account, not usernames.CloudStack allows to create 3 different types of accounts --&gt; admin/domain-admin or user account. All the roles (admin, domain admins and user) are attached at account level.Under the account all the users have the same privileges. There are no role based users in one account.We can have multiple admins for the same domain.All the domains get created under the ROOT domain.