Intro to CloudStack Build a Cloud Day
-
Upload
sebastien-goasguen -
Category
Technology
-
view
4.307 -
download
5
description
Transcript of Intro to CloudStack Build a Cloud Day
![Page 1: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/1.jpg)
Apache CloudStack
Sebastien Goasguen @sebgoaBuild a Cloud Day, Feb 1st 2013
Ghent, Belgium
![Page 2: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/2.jpg)
Big Thanks !
![Page 3: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/3.jpg)
SaaS
![Page 4: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/4.jpg)
PaaS…
![Page 5: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/5.jpg)
IaaS…
![Page 6: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/6.jpg)
IaaS challenges
• Not out of the box by itself• Need a farm of hypervisors
– Xen, KVM, VMware…
• Need storage– For image catalogue– For volume/snapshot management
• Need flexible network that can be configured on-demand– VLANS, no VLANS, existing net infra, SDN…
![Page 7: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/7.jpg)
IaaS is really:
• A Data Center Orchestrator– Data storage– Data movement– Data processing
• That can:– Handle failures– Support large scale– Be programmed
![Page 8: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/8.jpg)
DevOps
• Bring your developers closer to the operations• Make your sys admins develop the apps• Move to Software Defined Data Center,
Automate everythingDev:
JavaIDE
Ops: Shell CLI
![Page 9: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/9.jpg)
What is CloudStack ?• Open source Infrastructure as a Service (IaaS)
solution.• “Programmable” Data Center orchestrator• Hypervisor agnostic (with addition of bare metal
provisioning)• Support scalable storage (Ceph, RIAK CS…)• Support complex enterprise networking (e.g
Firewall, load balancer, VPN, VPC…)• Multi-tenant
![Page 10: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/10.jpg)
![Page 11: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/11.jpg)
ASF
![Page 12: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/12.jpg)
Apache Way
• “Transparency, consensus, non-affiliation,respect for fellow developers, and meritocracy, in no specific order “
![Page 13: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/13.jpg)
Apache Process
• 100% community driven• New ideas, decisions only taken on mailing lists.
Votes taken by community• Project led by Project Management Committee
(PMC):– http://www.apache.org/dev/pmc.html– http://incubator.apache.org/guides/committer.html
• Non committers get invited as committers:– http://community.apache.org/newcommitter.html
![Page 14: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/14.jpg)
Apache Processes
![Page 15: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/15.jpg)
What the ASF did to CloudStack ?
![Page 16: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/16.jpg)
ContributionsExamples:
Sungard: Announced that 6 developers were joining the Apache projectSchuberg Philis: Big contribution in building/packaging and Nicira supportPCextreme: RBD/Ceph supportCaringo: Support for own object storeBasho: Devcloud packaging, S3 integration
![Page 17: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/17.jpg)
• “A little bit about the internals”
![Page 18: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/18.jpg)
A Very Flexible IaaS Platform
Compute Hypervisor
Storage Block & Object
Network Network & Network Services
Primary Storage Secondary Storage
http://www.slideshare.net/cloudstack/cloudstack-architecture
![Page 19: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/19.jpg)
Architecture / Language
• Java application• Tomcat6, Axis2, Maven build + ant
– Ant going away in 4.1
• Moving towards a plugin architecture
![Page 20: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/20.jpg)
Releases
• Apache CloudStack 4.0 released in November
• Time based releases– Rather slip features but guarantee release
• Apache CloudStack 4.1 planned for March 22nd. Feature Freeze Yesterday...
• 4.2 most likely in July
![Page 21: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/21.jpg)
Pod 1
….
Cluster N
Access LayerAccess Layer
Host 2Host 2
Cluster 1
CloudStack Cloud Architecture
Host 1Host 1
Hypervisor is the basic unit of scale.
Cluster consists of one ore more hosts of same hypervisor
All hosts in cluster have access to shared (primary) storage
Pod is one or more clusters, usually with L2 switches.
Availability Zone has one or more pods, has access to secondary storage.
One or more zones represent cloud
PrimaryStorage
Zone 1
….
L3 coreL3 core
SecondaryStorage
Pod N
CloudStack Management
Server
InternetInternet
![Page 22: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/22.jpg)
Cloud Interactions
CloudStackCloudStack
Cloud user{API client (Fog/etc)}
End User UI
End User UI
Admin UI
Admin UI
MySQLMySQL
CloudStackCloudStackClustered
CloudStackManagement
Server
ClusteredCloudStack
ManagementServer
Domain Admin
UI
Domain Admin
UI
CS Admin & End-user API
Cloud user{ec2 API client }
ec2 API
Monitoring CS API vSphere ClusterPrimaryStorage
vcentervcenter
Cluster Mgmt
XS ClusterPrimaryStorage
vCenter API
XAPI
KVM ClusterPrimaryStorageJSON
OVM Cluster PrimaryStorage
XenApi
NetConf
Nitro APIJuniper SRX
Netscaler
Console Proxy VMConsole
Proxy VMConsole Proxy VMConsole
Proxy VM
JSON
Cloud user
HTTPSAjax Console
Ajax Console
VNC
Sec. StorageVM
Sec. StorageVM
NFS Server
NFSSec. Storage
VMSec. Storage
VM
HTTP (Template Download)
HTTP (Template Copy)
HTTP (Swift)
NFS
Router VMRouter VMRouter VMRouter VM
Router VMRouter VM
JSON
{Proxied} SSH
http://www.slideshare.net/cloudstack/cloudstack-architecture
![Page 23: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/23.jpg)
Networking
• Extremely flexible to:– Provide isolation with VLANs– Provide isolation at L3 with shared L2 (scalability)– Support hardware devices that exposes API– Deployed on existing networking infrastructure– Support new networking paradigm (SDN)
• Support for Nicira Virtual P• Extensive use of Open VSwitch
![Page 24: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/24.jpg)
Layer-2 Guest Virtual Network
Public Network/Internet
Guest Virtual Network 10.1.1.1/8VLAN 100
Gateway address 10.1.1.1
DHCP, DNSNATLoad BalancingVPN
Public IP 65.37.141.11
10.1.1.1Guest VM 1Guest VM 1
10.1.1.3Guest VM 2Guest VM 2
10.1.1.4Guest VM 3Guest VM 3
10.1.1.5Guest VM 4Guest VM 4
CSVirtual Router
CSVirtual Router
Public Network/Internet
Guest Virtual Network 10.1.1.1/8VLAN 100
Private IP10.1.1.112
DHCP, DNS
Public IP 65.37.141.112
10.1.1.1Guest VM 1Guest VM 1
10.1.1.3Guest VM 2Guest VM 2
10.1.1.4Guest VM 3Guest VM 3
10.1.1.5Guest VM 4Guest VM 4
NetScalerLoad
Blancer
NetScalerLoad
Blancer
Private IP10.1.1.111
Public IP 65.37.141.111
Juniper SRX
Firewall
Juniper SRX
Firewall
CS Virtual Router provides Network Services External Devices provide Network ServicesNetwork Hardware exposing API can be controlled
CSVirtual Router
CSVirtual Router
Slide from Chiradeep Vittal, http://www.slideshare.net/cloudstack/cloudstack-networking
![Page 25: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/25.jpg)
New Isolation types ?
![Page 26: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/26.jpg)
Hugo’s talk
![Page 27: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/27.jpg)
Storage• Primary Storage:
– Anything that can be mounted on the node of a cluster. – Cluster LVM…iSCSI…– Holds disk images of running VMs– Support for CEPH with KVM hypervisors
• Secondary Storage:– Available across the zone– Holds snapshots and templates (image repo)– Can use Openstack swift or any object store (Gluster FS…)– New support for Caringo
• Can use NFS for both to start• Storage Abstraction refactoring underway
![Page 28: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/28.jpg)
Wido’s talk
![Page 29: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/29.jpg)
“Once deployed, how do you use it ?”
![Page 30: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/30.jpg)
A powerful UI
![Page 31: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/31.jpg)
An extensive API
![Page 32: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/32.jpg)
API• Not REST but a Query API• A set of methods available over http(s)• Unauthenticated on integration port• Authenticated on 8080 using Access and Secret Key• Python/Ruby clients available• Internal Marvin client• Cloudmonkey CLI• Other clouds client support the API
![Page 33: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/33.jpg)
“Not a Standard, But…”
![Page 34: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/34.jpg)
Enabling EC2 and S3
![Page 35: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/35.jpg)
Oved’s talk
![Page 36: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/36.jpg)
“Lessons learned from Deploy and Use :”
![Page 37: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/37.jpg)
Noa’s talk
![Page 38: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/38.jpg)
“Build an Ecosystem:a PaaSa SaaS …”
![Page 39: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/39.jpg)
Charles’s talk
![Page 40: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/40.jpg)
Brian’s talk
![Page 41: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/41.jpg)
“To get your feet wet…”
![Page 42: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/42.jpg)
DevCloud
• A Virtual box appliance packaged to provide a working CloudStack environment.
• Aimed at developers but has other use cases:– Xen PV hosts gives nested virtualization– Local EC2/S3 Cloud on your laptop– Networking experiments ?
![Page 43: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/43.jpg)
Self-Contained
![Page 44: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/44.jpg)
DevCloud: as HostRun CloudStack on local machineUse DevCloud to setup hosts
![Page 45: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/45.jpg)
“Time for a Demo ?”
![Page 46: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/46.jpg)
Build A Cloud Events
• http://www.buildacloud.org• @build_cloud or @sebgoa on twitter• Upcoming events in Europe in 2013:
– BACD Ghent Belgium February 1st
– FOSDEM February 2-3, Brussels– In the works, Cloudcamp, Edinburgh March 27th– Probable LinuxTag, Berlin, May– Probable Summer: RMLL 6-11 July, Brussels– Probable in Fall: Linuxcon Europe, OWF Paris
![Page 47: Intro to CloudStack Build a Cloud Day](https://reader036.fdocuments.us/reader036/viewer/2022062418/554cb6d2b4c905aa608b4ef9/html5/thumbnails/47.jpg)
Info• Apache incubator project• http://incubator.apache.org/cloudstack• #cloudstack and #cloudstack-dev on irc.freenode.net• @CloudStack on Twitter• http://www.slideshare.net/cloudstack• http://incubator.apache.org/cloudstack/mailing-lists.html• Collaboration Conference, Nov 30th -Dec 2nd
– http://collab12.cloudstack.org/– http://www.youtube.com/diycloudcomputing
Welcoming contributions and feedback, Join the fun !