SlideShare ist ein Scribd-Unternehmen logo
1 von 30
C LO U D STAC K

                  David Nalley david@cloudstack.org
Twitter/identi.ca: @ke4qqq / IRC: ke4qqq in #cloudstack on freenode
LICENSING


 This presentation and it’s contents unless otherwise
  noted are released under a Creative Commons
  Attributions, Share-Alike 3.0 unported license.
H I STO RY

   Original company formed - 2008 (VMOps)
   Project open sourced as CloudStack – May 2010
   Acquired by Citrix – July 2011
   Dropped open core – August 2011
   Release of Acton (3.0) – Real soon now
W H AT I S C LO U D STAC K ?

Open Source Infrastructure as a Service platform that
supports multiple hypervisors, complex
network, firewall, load balancer and VPN
configurations, high availability, in a multi-tenant
environment.
W H AT D O ES I T R EA L LY D O ?

 Provide separation for the varied tenants
 Allocate compute resources in a deterministic manner
 Expose to the end user the ability to provision various
  computing services in a controlled manner (VLAN
  allocation, firewall rules, load balancer deployment, VM
  creation, etc)
 Manage High Availability
 Massively Scalable
 Permit the placement of resource limits to be applied
 Measuring usage over time
M U LT I P L E H Y P E RV I S O R S U P P O RT

   KVM
   XenServer
   Xen Cloud Platform
   VMware (via vCenter)
   Oracle VM
   Bare Metal
M U LT I - T E N A N T S E PA R AT I O N

 Largely built around abstraction from an end-user POV
    No interaction with hypervisor directly
    No knowledge of underlying storage
 Networking separation
    Every account has at least one dedicated/isolated VLAN
     (Tagged Networking)
    Layer 3 isolation aka Security Groups for untagged
     networking
 Option to use dedicated hardware
N E T WO R K I N G

 CloudStack has a number of network models
 They are generally broken down by:
    Method of isolation (VLAN, Security Groups)
    Physical hardware or virtual
 CloudStack largely manages network infrastructure
N E T WO R K I N G

 Services managed by CloudStack
      DHCP
      VLAN allocation
      Firewall
      NAT/Port forwarding
      Routing
      VPN
      Load Balancing
N E T WO R K I N G

 CloudStack can also manage physical network hardware
  (or the virtualized alternatives)
    F5-Big IP
    NetScaler
    Juniper SRX

 Additionally you can ‘mix and match’ some network
  elements as service offerings.
S EC U R I T Y G RO U P S

 Traditional isolation has been via VLAN
 VLANs isolate well, but have some problems scaling
    Standard has a hard limit of 4096 VLANs
    Hardware that can actually keep up with 4096 VLANs is
     VERY expensive.
    Regardless people tend to not like having arbitrary limits
     on what they can do.
 Amazon and others use layer 3 isolation (Security
  Groups)
S EC U R I T Y G RO U P S

 Assumption of a quasi-trusted Layer 2 network
 Typically will only have hypervisors directly connected to
  that network.
 Filtering/isolation occurs at the bridge device (from a
  Linux perspective – think ebtables)
 Deny by default
S EC U R I T Y G RO U P S
S EC U R I T Y G RO U P S
H I G H AVA I L A B I L I T Y

 RFMTTR – but apparently HA looks better in marketing
  slicks and is used that way across the virtualization
  industry.
 CloudStack is not a magical solution for HA – but might
  be a useful tool in the process to increase availability.
 CloudStack will watch for HA-enabled VMs to ensure that
  they are up, and that the hypervisor it’s on is up – and
  will restart on another hypervisor if it goes down.
 Redundant router
A L LO C AT I O N A LG O R I T H M S

 How do you place VMs?, allocate storage, etc.
 CloudStack ships with a number of options:
      First Fit
      Fill first
      Disperse
      Create your own
 Tags
 OS Preference
U SAG E

 Not billing per se – but does give you something to bill
  against.
 Usage stats show VM count, CPU usage, disk allocation
  and usage, network usage; all over time.
 Lots of integration and howto’s - from Excel
  spreadsheets to Ubersmith, Amysta, and Cloud Portal.
H I G H L E V E L A RC H I T EC T U R A L OV E RV I E W




            © Copyright David Baird and licensed for reuse under this CC-BY
S ECO N DA RY STO R AG E

 Used for storing templates and snapshots
 Historically NFS – just added the option of object storage
    Technically Swift, but Caringo, GlusterFS and others should
     work.
 Managed by Secondary Storage VM – manages moving
  templates and snapshots from/to primary storage, aging
  snapshots out, etc.
P R I M A RY STO R AG E

 In the UI we support NFS, iSCSI, and CLVM.
 We can also make use of local storage
    No HA, no live migration, etc.
 Shared mountpoint
    Anything that all the hypervisors can mount and write to.
R ES O U RC E D I V I S I O N

 We have some somewhat arbitrary divisions of resources
  within CloudStack
    Zones
       • Pods
           – Clusters
ZO N E

 In general practice this is used to designate a specific
  geographic location.
 Shares secondary storage resource across the entire zone
 Single network model for the entire zone
POD

 In general practice – this is used to refer a rack of
  machines or a row of racks.
 Shares guest network
C LU ST E R

 This is typically a max of 8-15 machines per cluster and
  homogenity is enforced:
    Same hypervisor (and same version of the hypervisor)
    Same CPUs
    Same networking (i.e. /dev/eth0 is connected to the same
     network across all machines)
 Primary storage is cluster specific
P L E T H O R A O F N E T WO R KS

 Management Network: Where the hypervisors and
  management server communicate
 Private Network: Default network for system VMs.
  (virtual router, secondary storage VM, Console proxy VM)
 Public Network: The public (often internet-facing
  network)
 Guest Network: The network that VMs are provisioned
  on.
 Link-local network: The RFC 3927 network used for
  communication between hypervisor and system VMs.
M A N AG E M E N T S E RV E R

 UI/API pieces are stateless (state is stored in a MySQL
  database.
 All UI functionality is an API call
API

 RESTful API interface
      Unauthenticated API interace on 8096 (for localhost)
      Authenticated API interface natively on port 8080
      Responses in XML or JSON
      http://demo4.cloudstack.org/client/api?apikey=ZRFLiXIkm
       AHqgRmZzdiXMfaROyK35P_dXxS517WSa9Tmy1Hg&comm
       and=deployVirtualMachine&serviceofferingid=1&template
       id=291&zoneid=1&signature=eXW%2fxfqx%2fhu%2frMreF
       ksVsp3cT4M%3d
UI

 Go play with the UI
Q U EST I O N S

 ASK!
CO N TAC T

   http://cloudstack.org
   Docs: http://docs.cloudstack.org
   IRC: #cloudstack on Freenode
   Twitter/identi.ca: @cloudstack
   Mailing Lists
     https://lists.sourceforge.net/mailman/listinfo/cloudstack-users
     https://lists.sourceforge.net/mailman/listinfo/cloudstack-devel
 Forums

Weitere ähnliche Inhalte

Was ist angesagt?

Scalable Object Storage with Apache CloudStack and Apache Hadoop
Scalable Object Storage with Apache CloudStack and Apache HadoopScalable Object Storage with Apache CloudStack and Apache Hadoop
Scalable Object Storage with Apache CloudStack and Apache HadoopChiradeep Vittal
 
Paul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackPaul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackShapeBlue
 
Introduction to cloudstack 4.3 networking
Introduction to cloudstack 4.3 networking  Introduction to cloudstack 4.3 networking
Introduction to cloudstack 4.3 networking ShapeBlue
 
Creating CentOS Template For CloudStack
Creating CentOS Template For CloudStackCreating CentOS Template For CloudStack
Creating CentOS Template For CloudStackShanker Balan
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stackNitin Mehta
 
The Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep VittalThe Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep Vittalbuildacloud
 
Paul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery FrameworkPaul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery FrameworkShapeBlue
 
Cloud stack networking shapeblue technical deep dive
Cloud stack networking   shapeblue technical deep diveCloud stack networking   shapeblue technical deep dive
Cloud stack networking shapeblue technical deep diveShapeBlue
 
CloudStack news
CloudStack newsCloudStack news
CloudStack newsShapeBlue
 
Whats New in Apache CloudStack Version 4.5
Whats New in Apache CloudStack Version 4.5Whats New in Apache CloudStack Version 4.5
Whats New in Apache CloudStack Version 4.5ShapeBlue
 
Dag Sonstebo - CloudStack usage service
Dag Sonstebo - CloudStack usage serviceDag Sonstebo - CloudStack usage service
Dag Sonstebo - CloudStack usage serviceShapeBlue
 
Guaranteeing Storage Performance by Mike Tutkowski
Guaranteeing Storage Performance by Mike TutkowskiGuaranteeing Storage Performance by Mike Tutkowski
Guaranteeing Storage Performance by Mike Tutkowskibuildacloud
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech dayArthur Berezin
 
CloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and TroubleshootingCloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and TroubleshootingShapeBlue
 
Building clouds with apache cloudstack apache roadshow 2018
Building clouds with apache cloudstack   apache roadshow 2018Building clouds with apache cloudstack   apache roadshow 2018
Building clouds with apache cloudstack apache roadshow 2018ShapeBlue
 
CloudStack vs OpenStack
CloudStack vs OpenStackCloudStack vs OpenStack
CloudStack vs OpenStackVictor Zhang
 
Wido den Hollander - building highly available cloud with Ceph and CloudStack
Wido den Hollander - building highly available cloud with Ceph and CloudStackWido den Hollander - building highly available cloud with Ceph and CloudStack
Wido den Hollander - building highly available cloud with Ceph and CloudStackShapeBlue
 

Was ist angesagt? (20)

Scalable Object Storage with Apache CloudStack and Apache Hadoop
Scalable Object Storage with Apache CloudStack and Apache HadoopScalable Object Storage with Apache CloudStack and Apache Hadoop
Scalable Object Storage with Apache CloudStack and Apache Hadoop
 
Paul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStackPaul Angus – Backup & Recovery in CloudStack
Paul Angus – Backup & Recovery in CloudStack
 
Introduction to cloudstack 4.3 networking
Introduction to cloudstack 4.3 networking  Introduction to cloudstack 4.3 networking
Introduction to cloudstack 4.3 networking
 
Creating CentOS Template For CloudStack
Creating CentOS Template For CloudStackCreating CentOS Template For CloudStack
Creating CentOS Template For CloudStack
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
 
The Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep VittalThe Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep Vittal
 
Paul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery FrameworkPaul Angus - CloudStack Backup and Recovery Framework
Paul Angus - CloudStack Backup and Recovery Framework
 
Cloud stack networking shapeblue technical deep dive
Cloud stack networking   shapeblue technical deep diveCloud stack networking   shapeblue technical deep dive
Cloud stack networking shapeblue technical deep dive
 
CloudStack news
CloudStack newsCloudStack news
CloudStack news
 
CloudStack vs Openstack
CloudStack vs OpenstackCloudStack vs Openstack
CloudStack vs Openstack
 
Whats New in Apache CloudStack Version 4.5
Whats New in Apache CloudStack Version 4.5Whats New in Apache CloudStack Version 4.5
Whats New in Apache CloudStack Version 4.5
 
Dag Sonstebo - CloudStack usage service
Dag Sonstebo - CloudStack usage serviceDag Sonstebo - CloudStack usage service
Dag Sonstebo - CloudStack usage service
 
Guaranteeing Storage Performance by Mike Tutkowski
Guaranteeing Storage Performance by Mike TutkowskiGuaranteeing Storage Performance by Mike Tutkowski
Guaranteeing Storage Performance by Mike Tutkowski
 
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
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech day
 
CloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and TroubleshootingCloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and Troubleshooting
 
Building clouds with apache cloudstack apache roadshow 2018
Building clouds with apache cloudstack   apache roadshow 2018Building clouds with apache cloudstack   apache roadshow 2018
Building clouds with apache cloudstack apache roadshow 2018
 
CloudStack vs OpenStack
CloudStack vs OpenStackCloudStack vs OpenStack
CloudStack vs OpenStack
 
Wido den Hollander - building highly available cloud with Ceph and CloudStack
Wido den Hollander - building highly available cloud with Ceph and CloudStackWido den Hollander - building highly available cloud with Ceph and CloudStack
Wido den Hollander - building highly available cloud with Ceph and CloudStack
 

Ähnlich wie vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28

CloudStack Build A Cloud Day (SCaLE 2013)
CloudStack Build A Cloud Day (SCaLE 2013)CloudStack Build A Cloud Day (SCaLE 2013)
CloudStack Build A Cloud Day (SCaLE 2013)Clayton Weise
 
CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestke4qqq
 
Automating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyPuppet
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppetbuildacloud
 
An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017Haim Ateya
 
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackSilicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackShapeBlue
 
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStackBuild a Cloud Day - CloudStack
Build a Cloud Day - CloudStackke4qqq
 
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStackBuild a Cloud Day - CloudStack
Build a Cloud Day - CloudStackke4qqq
 
Linux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack NetworkingLinux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack Networkingyfauser
 
Getting Started with Apache CloudStack
Getting Started with Apache CloudStackGetting Started with Apache CloudStack
Getting Started with Apache CloudStackJoe Brockmeier
 
Openstack_administration
Openstack_administrationOpenstack_administration
Openstack_administrationAshish Sharma
 
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
 
Neutron behind the scenes
Neutron   behind the scenesNeutron   behind the scenes
Neutron behind the scenesinbroker
 
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...NETWAYS
 
Osdc2014 openstack networking yves_fauser
Osdc2014 openstack networking yves_fauserOsdc2014 openstack networking yves_fauser
Osdc2014 openstack networking yves_fauseryfauser
 
Automating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configurationAutomating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configurationDag Sonstebo
 

Ähnlich wie vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28 (20)

CloudStack Build A Cloud Day (SCaLE 2013)
CloudStack Build A Cloud Day (SCaLE 2013)CloudStack Build A Cloud Day (SCaLE 2013)
CloudStack Build A Cloud Day (SCaLE 2013)
 
CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWest
 
Automating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David Nalley
 
Txlf2012
Txlf2012Txlf2012
Txlf2012
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
 
An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017
 
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStackSilicon Valley CloudStack User Group - Introduction to Apache CloudStack
Silicon Valley CloudStack User Group - Introduction to Apache CloudStack
 
OpenStack on SmartOS
OpenStack on SmartOSOpenStack on SmartOS
OpenStack on SmartOS
 
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStackBuild a Cloud Day - CloudStack
Build a Cloud Day - CloudStack
 
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStackBuild a Cloud Day - CloudStack
Build a Cloud Day - CloudStack
 
Linux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack NetworkingLinux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack Networking
 
Getting Started with Apache CloudStack
Getting Started with Apache CloudStackGetting Started with Apache CloudStack
Getting Started with Apache CloudStack
 
Openstack_administration
Openstack_administrationOpenstack_administration
Openstack_administration
 
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
 
Apache CloudStack from API to UI
Apache CloudStack from API to UIApache CloudStack from API to UI
Apache CloudStack from API to UI
 
CloudStack and SDN
CloudStack and SDNCloudStack and SDN
CloudStack and SDN
 
Neutron behind the scenes
Neutron   behind the scenesNeutron   behind the scenes
Neutron behind the scenes
 
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
OSDC 2014: Yves Fauser - OpenStack Networking (Neutron) - Overview of network...
 
Osdc2014 openstack networking yves_fauser
Osdc2014 openstack networking yves_fauserOsdc2014 openstack networking yves_fauser
Osdc2014 openstack networking yves_fauser
 
Automating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configurationAutomating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configuration
 

Mehr von CloudStack - Open Source Cloud Computing Project

Mehr von CloudStack - Open Source Cloud Computing Project (20)

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
 
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...
 
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
 
CloudStack Architecture
CloudStack ArchitectureCloudStack Architecture
CloudStack Architecture
 
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
 

Kürzlich hochgeladen

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Kürzlich hochgeladen (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28

  • 1. C LO U D STAC K David Nalley david@cloudstack.org Twitter/identi.ca: @ke4qqq / IRC: ke4qqq in #cloudstack on freenode
  • 2. LICENSING  This presentation and it’s contents unless otherwise noted are released under a Creative Commons Attributions, Share-Alike 3.0 unported license.
  • 3. H I STO RY  Original company formed - 2008 (VMOps)  Project open sourced as CloudStack – May 2010  Acquired by Citrix – July 2011  Dropped open core – August 2011  Release of Acton (3.0) – Real soon now
  • 4. W H AT I S C LO U D STAC K ? Open Source Infrastructure as a Service platform that supports multiple hypervisors, complex network, firewall, load balancer and VPN configurations, high availability, in a multi-tenant environment.
  • 5. W H AT D O ES I T R EA L LY D O ?  Provide separation for the varied tenants  Allocate compute resources in a deterministic manner  Expose to the end user the ability to provision various computing services in a controlled manner (VLAN allocation, firewall rules, load balancer deployment, VM creation, etc)  Manage High Availability  Massively Scalable  Permit the placement of resource limits to be applied  Measuring usage over time
  • 6. M U LT I P L E H Y P E RV I S O R S U P P O RT  KVM  XenServer  Xen Cloud Platform  VMware (via vCenter)  Oracle VM  Bare Metal
  • 7. M U LT I - T E N A N T S E PA R AT I O N  Largely built around abstraction from an end-user POV  No interaction with hypervisor directly  No knowledge of underlying storage  Networking separation  Every account has at least one dedicated/isolated VLAN (Tagged Networking)  Layer 3 isolation aka Security Groups for untagged networking  Option to use dedicated hardware
  • 8. N E T WO R K I N G  CloudStack has a number of network models  They are generally broken down by:  Method of isolation (VLAN, Security Groups)  Physical hardware or virtual  CloudStack largely manages network infrastructure
  • 9. N E T WO R K I N G  Services managed by CloudStack  DHCP  VLAN allocation  Firewall  NAT/Port forwarding  Routing  VPN  Load Balancing
  • 10. N E T WO R K I N G  CloudStack can also manage physical network hardware (or the virtualized alternatives)  F5-Big IP  NetScaler  Juniper SRX  Additionally you can ‘mix and match’ some network elements as service offerings.
  • 11. S EC U R I T Y G RO U P S  Traditional isolation has been via VLAN  VLANs isolate well, but have some problems scaling  Standard has a hard limit of 4096 VLANs  Hardware that can actually keep up with 4096 VLANs is VERY expensive.  Regardless people tend to not like having arbitrary limits on what they can do.  Amazon and others use layer 3 isolation (Security Groups)
  • 12. S EC U R I T Y G RO U P S  Assumption of a quasi-trusted Layer 2 network  Typically will only have hypervisors directly connected to that network.  Filtering/isolation occurs at the bridge device (from a Linux perspective – think ebtables)  Deny by default
  • 13. S EC U R I T Y G RO U P S
  • 14. S EC U R I T Y G RO U P S
  • 15. H I G H AVA I L A B I L I T Y  RFMTTR – but apparently HA looks better in marketing slicks and is used that way across the virtualization industry.  CloudStack is not a magical solution for HA – but might be a useful tool in the process to increase availability.  CloudStack will watch for HA-enabled VMs to ensure that they are up, and that the hypervisor it’s on is up – and will restart on another hypervisor if it goes down.  Redundant router
  • 16. A L LO C AT I O N A LG O R I T H M S  How do you place VMs?, allocate storage, etc.  CloudStack ships with a number of options:  First Fit  Fill first  Disperse  Create your own  Tags  OS Preference
  • 17. U SAG E  Not billing per se – but does give you something to bill against.  Usage stats show VM count, CPU usage, disk allocation and usage, network usage; all over time.  Lots of integration and howto’s - from Excel spreadsheets to Ubersmith, Amysta, and Cloud Portal.
  • 18. H I G H L E V E L A RC H I T EC T U R A L OV E RV I E W © Copyright David Baird and licensed for reuse under this CC-BY
  • 19. S ECO N DA RY STO R AG E  Used for storing templates and snapshots  Historically NFS – just added the option of object storage  Technically Swift, but Caringo, GlusterFS and others should work.  Managed by Secondary Storage VM – manages moving templates and snapshots from/to primary storage, aging snapshots out, etc.
  • 20. P R I M A RY STO R AG E  In the UI we support NFS, iSCSI, and CLVM.  We can also make use of local storage  No HA, no live migration, etc.  Shared mountpoint  Anything that all the hypervisors can mount and write to.
  • 21. R ES O U RC E D I V I S I O N  We have some somewhat arbitrary divisions of resources within CloudStack  Zones • Pods – Clusters
  • 22. ZO N E  In general practice this is used to designate a specific geographic location.  Shares secondary storage resource across the entire zone  Single network model for the entire zone
  • 23. POD  In general practice – this is used to refer a rack of machines or a row of racks.  Shares guest network
  • 24. C LU ST E R  This is typically a max of 8-15 machines per cluster and homogenity is enforced:  Same hypervisor (and same version of the hypervisor)  Same CPUs  Same networking (i.e. /dev/eth0 is connected to the same network across all machines)  Primary storage is cluster specific
  • 25. P L E T H O R A O F N E T WO R KS  Management Network: Where the hypervisors and management server communicate  Private Network: Default network for system VMs. (virtual router, secondary storage VM, Console proxy VM)  Public Network: The public (often internet-facing network)  Guest Network: The network that VMs are provisioned on.  Link-local network: The RFC 3927 network used for communication between hypervisor and system VMs.
  • 26. M A N AG E M E N T S E RV E R  UI/API pieces are stateless (state is stored in a MySQL database.  All UI functionality is an API call
  • 27. API  RESTful API interface  Unauthenticated API interace on 8096 (for localhost)  Authenticated API interface natively on port 8080  Responses in XML or JSON  http://demo4.cloudstack.org/client/api?apikey=ZRFLiXIkm AHqgRmZzdiXMfaROyK35P_dXxS517WSa9Tmy1Hg&comm and=deployVirtualMachine&serviceofferingid=1&template id=291&zoneid=1&signature=eXW%2fxfqx%2fhu%2frMreF ksVsp3cT4M%3d
  • 28. UI  Go play with the UI
  • 29. Q U EST I O N S  ASK!
  • 30. CO N TAC T  http://cloudstack.org  Docs: http://docs.cloudstack.org  IRC: #cloudstack on Freenode  Twitter/identi.ca: @cloudstack  Mailing Lists  https://lists.sourceforge.net/mailman/listinfo/cloudstack-users  https://lists.sourceforge.net/mailman/listinfo/cloudstack-devel  Forums