SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
Nitin Mehta
 

Tendances (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
 

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

CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWest
ke4qqq
 
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStackBuild a Cloud Day - CloudStack
Build a Cloud Day - CloudStack
ke4qqq
 
Openstack_administration
Openstack_administrationOpenstack_administration
Openstack_administration
Ashish Sharma
 

Similaire à 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
 

Plus de CloudStack - Open Source Cloud Computing Project

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...
CloudStack - Open Source Cloud Computing Project
 
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
CloudStack - Open Source Cloud Computing Project
 

Plus de 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
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
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
 

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