SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
How to Create Your Own Cloud:
         Using Apache CloudStack

             Joe Brockmeier
    Open Source Cloud Computing Evangelist
                jzb@zonker.net
Licensing: Share and Enjoy
This presentation is based on prior CloudStack
presentations by David Nalley and Mark
Hinkle. It’s available under a Creative
Commons (CC BY-SA 3.0) and/or Apache
Software License 2.0 (at your discretion).
Five Characteristics of Clouds
•    On-Demand Self-Service
•    Broad Network Access
•    Resource Pooling
•    Rapid Elasticity
•    Measured Service
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
Why Open Source?
•    User-driven solutions to real problems
•    Lower barrier to participation
•    Larger user base of users helping users
•    Aggressive release cycles stay current with the
     state-of-the-art
•    Choice of infrastructure
•    Control of data and security
•    Avoid lock-in
•    Open data, open standards, open APIs
The Long Road to Apache
•  CloudStack began as VMOps (2008)
•  Released as CloudStack under GPLv3 (May
   2010)
•  Cloud.com acquired by Citrix (July 2011)
•  Entirely open source (August 2011)
•  Relicensed & proposed to Apache (April 3,
   2012)
•  Accepted as incubating project (April 16, 2012)
What is Apache CloudStack?


 Apache CloudStack is an open source IaaS
   that supports multiple hypervisors, high
availability, complex networking, firewall, load
 balancer, and VPN configurations in a multi-
               tenant environment.
What is it, Really?
A set of applications that:
•  Provide separation between tenants
•  Handle allocating compute resources (inc.
   custom allocators)
•  Let users provision compute resources
•  Manage High Availability
•  Massively scalable (thousands of nodes)
•  Resource usage accounting
Hypervisor Support
•    KVM
•    XenServer
•    Xen Cloud Platform
•    Oracle VM
•    VMware via vCenter
•    Bare Metal
CloudStack Networking
•  CloudStack offers Basic and Advanced
   Networking
  –  Basic: Easy, can only be one physical network
  –  Advanced: Allows multiple physical networks
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)
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
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.
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
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.
Architectural Overview (Basic)
Zone
•  Generally used to designate a specific
   geographic location
•  Shares secondary storage across the entire
   zone
•  Has a single network model for the entire
   zone
Pod
•  General practice – used to designate a rack
   of machines or row of racks
•  Shares a guest network
Cluster
•  Usually a maximum of 8-15 machines per
   cluster
•  Homogeneity is required
  –  Same hypervisor (incl. same version)
  –  Same CPUs
  –  Same networking
•  Primary storage is cluster specific
Secondary Storage
•  Stores templates, ISOs, and snapshots
•  Historically NFS – added the option of object
   storage recently
  –  Includes Swift, GlusterFS, Ceph and others (in
     various states of production readiness)
•  Managed by Secondary Storage VM –
  –  Manages moving templates and snapshots
     from/to primary storage, aging out snapshots,
     etc.
Primary Storage
•  Supports NFS, iSCSI, and Clustered Logical
   Volume Manager (CLVM)
•  Requires a shared mountpoint that the
   hypervisors can mount and write to
•  Can use local storage but that means no HA,
   live migration, etc.
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)
Management Server
•  UI/API bits are stateless (state is stored in a
   MySQL database)
•  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
Contact Me
Email: jzb@zonker.net


Phone: 314-669-4JZB


Blog: http://dissociatedpress.net/


Twitter:

Mais conteúdo relacionado

Mais procurados

CloudStack and BigData
CloudStack and BigDataCloudStack and BigData
CloudStack and BigData
Sebastien Goasguen
 
Storing and processing data with the wso2 platform
Storing and processing data with the wso2 platformStoring and processing data with the wso2 platform
Storing and processing data with the wso2 platform
WSO2
 

Mais procurados (10)

vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
 
Making Cloudy Peanut Butter Cups: Apache CloudStack + Riak CS
Making Cloudy Peanut Butter Cups: Apache CloudStack + Riak CSMaking Cloudy Peanut Butter Cups: Apache CloudStack + Riak CS
Making Cloudy Peanut Butter Cups: Apache CloudStack + Riak CS
 
Intro to CloudStack
Intro to CloudStackIntro to CloudStack
Intro to CloudStack
 
CloudStack challenges for China customers
CloudStack challenges for China customersCloudStack challenges for China customers
CloudStack challenges for China customers
 
CloudStack and BigData
CloudStack and BigDataCloudStack and BigData
CloudStack and BigData
 
Apache Performance Tuning: Scaling Out
Apache Performance Tuning: Scaling OutApache Performance Tuning: Scaling Out
Apache Performance Tuning: Scaling Out
 
Scalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and MesosScalable On-Demand Hadoop Clusters with Docker and Mesos
Scalable On-Demand Hadoop Clusters with Docker and Mesos
 
Storing and processing data with the wso2 platform
Storing and processing data with the wso2 platformStoring and processing data with the wso2 platform
Storing and processing data with the wso2 platform
 
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
Avishay Traeger & Shimshon Zimmerman, Stratoscale - Deploying OpenStack Cinde...
 
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStackBuild a Cloud Day - CloudStack
Build a Cloud Day - CloudStack
 

Destaque

Biweekly Financial Commentary 09 08 17
Biweekly  Financial  Commentary 09 08 17Biweekly  Financial  Commentary 09 08 17
Biweekly Financial Commentary 09 08 17
Ant Wong
 
Post-Smartphone (Wearables & IoT Devices) Patent Wars: Indicators of Expansion
Post-Smartphone (Wearables & IoT Devices) Patent Wars: Indicators of ExpansionPost-Smartphone (Wearables & IoT Devices) Patent Wars: Indicators of Expansion
Post-Smartphone (Wearables & IoT Devices) Patent Wars: Indicators of Expansion
Alex G. Lee, Ph.D. Esq. CLP
 
I3 Technologies Corporation Profile
I3 Technologies Corporation ProfileI3 Technologies Corporation Profile
I3 Technologies Corporation Profile
jaymieann
 
Biweekly Financial Commentary 09 09 14
Biweekly Financial Commentary 09 09 14Biweekly Financial Commentary 09 09 14
Biweekly Financial Commentary 09 09 14
Ant Wong
 
Friedensreich hundertwasser architektura
Friedensreich hundertwasser architekturaFriedensreich hundertwasser architektura
Friedensreich hundertwasser architektura
Luiz Carlos Dias
 
Quality Assessment of Qualcomm Patents for the IoT(Internet of Things) Connec...
Quality Assessment of Qualcomm Patents for the IoT(Internet of Things) Connec...Quality Assessment of Qualcomm Patents for the IoT(Internet of Things) Connec...
Quality Assessment of Qualcomm Patents for the IoT(Internet of Things) Connec...
Alex G. Lee, Ph.D. Esq. CLP
 
Biweekly Financial Commentary 09 09 14
Biweekly Financial Commentary 09 09 14Biweekly Financial Commentary 09 09 14
Biweekly Financial Commentary 09 09 14
Ant Wong
 
Biweekly Financial Commentary 07 05 21
Biweekly Financial Commentary 07 05 21Biweekly Financial Commentary 07 05 21
Biweekly Financial Commentary 07 05 21
Ant Wong
 

Destaque (20)

Class Presentation Math 1
Class Presentation Math 1Class Presentation Math 1
Class Presentation Math 1
 
IoT Business Insights from Patents
IoT Business Insights from PatentsIoT Business Insights from Patents
IoT Business Insights from Patents
 
Abadia de Melk - Áustria
Abadia de Melk - ÁustriaAbadia de Melk - Áustria
Abadia de Melk - Áustria
 
Biweekly Financial Commentary 09 08 17
Biweekly  Financial  Commentary 09 08 17Biweekly  Financial  Commentary 09 08 17
Biweekly Financial Commentary 09 08 17
 
BiLogica - BI services
BiLogica - BI servicesBiLogica - BI services
BiLogica - BI services
 
Post-Smartphone (Wearables & IoT Devices) Patent Wars: Indicators of Expansion
Post-Smartphone (Wearables & IoT Devices) Patent Wars: Indicators of ExpansionPost-Smartphone (Wearables & IoT Devices) Patent Wars: Indicators of Expansion
Post-Smartphone (Wearables & IoT Devices) Patent Wars: Indicators of Expansion
 
I3 Technologies Corporation Profile
I3 Technologies Corporation ProfileI3 Technologies Corporation Profile
I3 Technologies Corporation Profile
 
IoT Big Data Analytics Insights from Patents
IoT Big Data Analytics Insights from PatentsIoT Big Data Analytics Insights from Patents
IoT Big Data Analytics Insights from Patents
 
Biweekly Financial Commentary 09 09 14
Biweekly Financial Commentary 09 09 14Biweekly Financial Commentary 09 09 14
Biweekly Financial Commentary 09 09 14
 
Engineering the future
Engineering the futureEngineering the future
Engineering the future
 
Hjama
HjamaHjama
Hjama
 
WPAN _Bluetooth & Zigbee_ Patents for Standard Ranking
WPAN _Bluetooth & Zigbee_ Patents for Standard RankingWPAN _Bluetooth & Zigbee_ Patents for Standard Ranking
WPAN _Bluetooth & Zigbee_ Patents for Standard Ranking
 
LTE Patents Licensing Royalty Issues with Connected Cars
LTE Patents Licensing Royalty Issues with Connected CarsLTE Patents Licensing Royalty Issues with Connected Cars
LTE Patents Licensing Royalty Issues with Connected Cars
 
Lenovo's Key NEC 3G & & 4G LTE Standard Essential Patents for Smartphones
Lenovo's Key NEC 3G & & 4G LTE Standard  Essential Patents for SmartphonesLenovo's Key NEC 3G & & 4G LTE Standard  Essential Patents for Smartphones
Lenovo's Key NEC 3G & & 4G LTE Standard Essential Patents for Smartphones
 
Patent Monetization & Management Services & Products of TechIPm LLC
Patent Monetization & Management Services & Products of TechIPm LLCPatent Monetization & Management Services & Products of TechIPm LLC
Patent Monetization & Management Services & Products of TechIPm LLC
 
AFS Math 3
AFS Math 3AFS Math 3
AFS Math 3
 
Friedensreich hundertwasser architektura
Friedensreich hundertwasser architekturaFriedensreich hundertwasser architektura
Friedensreich hundertwasser architektura
 
Quality Assessment of Qualcomm Patents for the IoT(Internet of Things) Connec...
Quality Assessment of Qualcomm Patents for the IoT(Internet of Things) Connec...Quality Assessment of Qualcomm Patents for the IoT(Internet of Things) Connec...
Quality Assessment of Qualcomm Patents for the IoT(Internet of Things) Connec...
 
Biweekly Financial Commentary 09 09 14
Biweekly Financial Commentary 09 09 14Biweekly Financial Commentary 09 09 14
Biweekly Financial Commentary 09 09 14
 
Biweekly Financial Commentary 07 05 21
Biweekly Financial Commentary 07 05 21Biweekly Financial Commentary 07 05 21
Biweekly Financial Commentary 07 05 21
 

Semelhante a Txlf2012

Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
Nitin Mehta
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
howie YU
 

Semelhante a Txlf2012 (20)

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
 
Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)Apache CloudStack: API to UI (STLLUG)
Apache CloudStack: API to UI (STLLUG)
 
Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kilo
 
CloudStack Overview
CloudStack OverviewCloudStack Overview
CloudStack Overview
 
9-cloud-computing.pdf
9-cloud-computing.pdf9-cloud-computing.pdf
9-cloud-computing.pdf
 
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...
 
CloudStack-Developer-Day
CloudStack-Developer-DayCloudStack-Developer-Day
CloudStack-Developer-Day
 
CloudStack Architecture and Refactor
CloudStack Architecture and RefactorCloudStack Architecture and Refactor
CloudStack Architecture and Refactor
 
Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginners
 
Hacking apache cloud stack
Hacking apache cloud stackHacking apache cloud stack
Hacking apache cloud stack
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
 
An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017An Intrudction to OpenStack 2017
An Intrudction to OpenStack 2017
 
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
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
 
CloudStackFinalProject
CloudStackFinalProjectCloudStackFinalProject
CloudStackFinalProject
 
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...
 
Climb Technical Overview
Climb Technical OverviewClimb Technical Overview
Climb Technical Overview
 
Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux
Better, faster, cheaper infrastructure with apache cloud stack and riak cs reduxBetter, faster, cheaper infrastructure with apache cloud stack and riak cs redux
Better, faster, cheaper infrastructure with apache cloud stack and riak cs redux
 
Introduction to CloudStack
Introduction to CloudStack Introduction to CloudStack
Introduction to CloudStack
 

Mais de Joe Brockmeier

Bootstrapping coverage
Bootstrapping coverageBootstrapping coverage
Bootstrapping coverage
Joe Brockmeier
 

Mais de Joe Brockmeier (8)

Thinking inside the box (shared)
Thinking inside the box (shared)Thinking inside the box (shared)
Thinking inside the box (shared)
 
Community Over Code: How to Build a Successful Project
Community Over Code: How to Build a Successful ProjectCommunity Over Code: How to Build a Successful Project
Community Over Code: How to Build a Successful Project
 
Introduction to Atomic: Tailoring a Trusted OS for Containers
Introduction to Atomic: Tailoring a Trusted OS for ContainersIntroduction to Atomic: Tailoring a Trusted OS for Containers
Introduction to Atomic: Tailoring a Trusted OS for Containers
 
Sharing Apache's Goodness: How We Should be Telling Apache's Story
Sharing Apache's Goodness: How We Should be Telling Apache's StorySharing Apache's Goodness: How We Should be Telling Apache's Story
Sharing Apache's Goodness: How We Should be Telling Apache's Story
 
Solving the Package Problem
Solving the Package ProblemSolving the Package Problem
Solving the Package Problem
 
Apache CloudStack: From API to UI (NYLUG)
Apache CloudStack: From API to UI (NYLUG)Apache CloudStack: From API to UI (NYLUG)
Apache CloudStack: From API to UI (NYLUG)
 
How I Learned to Stop Worrying, and Love Open Source Software Foundations
How I Learned to Stop Worrying, and Love Open Source Software FoundationsHow I Learned to Stop Worrying, and Love Open Source Software Foundations
How I Learned to Stop Worrying, and Love Open Source Software Foundations
 
Bootstrapping coverage
Bootstrapping coverageBootstrapping coverage
Bootstrapping coverage
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Último (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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...
 
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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Txlf2012

  • 1. How to Create Your Own Cloud: Using Apache CloudStack Joe Brockmeier Open Source Cloud Computing Evangelist jzb@zonker.net
  • 2. Licensing: Share and Enjoy This presentation is based on prior CloudStack presentations by David Nalley and Mark Hinkle. It’s available under a Creative Commons (CC BY-SA 3.0) and/or Apache Software License 2.0 (at your discretion).
  • 3. Five Characteristics of Clouds •  On-Demand Self-Service •  Broad Network Access •  Resource Pooling •  Rapid Elasticity •  Measured Service
  • 4. 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
  • 6. Why Open Source? •  User-driven solutions to real problems •  Lower barrier to participation •  Larger user base of users helping users •  Aggressive release cycles stay current with the state-of-the-art •  Choice of infrastructure •  Control of data and security •  Avoid lock-in •  Open data, open standards, open APIs
  • 7. The Long Road to Apache •  CloudStack began as VMOps (2008) •  Released as CloudStack under GPLv3 (May 2010) •  Cloud.com acquired by Citrix (July 2011) •  Entirely open source (August 2011) •  Relicensed & proposed to Apache (April 3, 2012) •  Accepted as incubating project (April 16, 2012)
  • 8. What is Apache CloudStack? Apache CloudStack is an open source IaaS that supports multiple hypervisors, high availability, complex networking, firewall, load balancer, and VPN configurations in a multi- tenant environment.
  • 9. What is it, Really? A set of applications that: •  Provide separation between tenants •  Handle allocating compute resources (inc. custom allocators) •  Let users provision compute resources •  Manage High Availability •  Massively scalable (thousands of nodes) •  Resource usage accounting
  • 10. Hypervisor Support •  KVM •  XenServer •  Xen Cloud Platform •  Oracle VM •  VMware via vCenter •  Bare Metal
  • 11. CloudStack Networking •  CloudStack offers Basic and Advanced Networking –  Basic: Easy, can only be one physical network –  Advanced: Allows multiple physical networks
  • 12. 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)
  • 13. 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)
  • 14. Security Groups •  Assumes a quasi-trusted Layer 2 network •  Filtering/isolation happens at the bridge level (think ebtables) •  Deny by default
  • 15. 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.
  • 16. 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
  • 17. 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.
  • 19. Zone •  Generally used to designate a specific geographic location •  Shares secondary storage across the entire zone •  Has a single network model for the entire zone
  • 20. Pod •  General practice – used to designate a rack of machines or row of racks •  Shares a guest network
  • 21. Cluster •  Usually a maximum of 8-15 machines per cluster •  Homogeneity is required –  Same hypervisor (incl. same version) –  Same CPUs –  Same networking •  Primary storage is cluster specific
  • 22. Secondary Storage •  Stores templates, ISOs, and snapshots •  Historically NFS – added the option of object storage recently –  Includes Swift, GlusterFS, Ceph and others (in various states of production readiness) •  Managed by Secondary Storage VM – –  Manages moving templates and snapshots from/to primary storage, aging out snapshots, etc.
  • 23. Primary Storage •  Supports NFS, iSCSI, and Clustered Logical Volume Manager (CLVM) •  Requires a shared mountpoint that the hypervisors can mount and write to •  Can use local storage but that means no HA, live migration, etc.
  • 24. 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)
  • 25. Management Server •  UI/API bits are stateless (state is stored in a MySQL database) •  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
  • 26. Contact Me Email: jzb@zonker.net Phone: 314-669-4JZB Blog: http://dissociatedpress.net/ Twitter: