SlideShare une entreprise Scribd logo
1  sur  39
Télécharger pour lire hors ligne
An
Introduction
toOpenStack
goals
1. whatisit?
2. wherediditcomefrom?
3. Whoisusingit?
4. Howcaniuseit?
i’mnothereto
• PREACH
• TALKABOUTSILVERBULLETS
• sell
introducing…me
SoftwareEngineer,Rackspace
DRG(DeveloperRelationsGroup)
OpenStackContributor
RetiredTekkenChampion
what?
inanutshell
• Open-sourcesoftwareproject
• Modulesthatprovidecloudinfrastructure
• Independent,drivenbycommunity
• Governedbyanelectedtechnicalboard
Butreally…
just
python
code
omgpython
don’tpanic!
languageagnostic
• RESTAPIs
• SDKs(LanguageBindings)
• CLIs
• GUIConsole(OpenStackHorizon)
suchcloud…manyservices…wow
• Servers(Nova)
• Filestorage(Swift)
• Databases(Trove)
• Blockstorage(Cinder)
• OSImages(Glance)
• Networks(Neutron)
• Identity(Keystone)
• Orchestration(Heat)
• Workqueues(Marconi)
• Hadoop(Sahara)
where?
projectnebula
• Federalcloudplatform
• “taketheleadinopen,transparentand
participatoryspaceexplorationand
government”
• Efficiency,flexibility,reducedenergycosts,
reducedsetuptime,performance.
“Thiscouldhave
fallenapartina
milliondifferent
ways.”
RickClark
thegloriousloophole
Problem
• Existingcodebase(eucalyptus)hadissues
• CreatinganewcodebaseatNASAwasnotallowed
Solution
• CreateanewOSSprojectattheweekends
• Contributebacktoitduringworkingweek
“LaunchedNova.
!
Apache-Licensedcloudcomputing,inPython.
!
It’slive,it’sbuggy,it’sbeta.Checkitout.”
JoshMcKenty,Summer2010
“Itwaslikefinding
along-losttwin…”
ItwastheweirdestexperienceI’veeverhad.
!
Wewereusingthesametools.
!
Wehadmadethesamelanguagedecisions.
!
webothsaid:‘Wow,youjustwrotethecode
thatweweregoingtowrite.’
Who?
LHC
• 17milelongparticleaccelerator
• 9,000magnets;cooledwith10thousandtonnesofliquid
nitrogen
• Magnetsaccelerateparticlesto671,000,000mph.That’s
over11,000lapspersecond.
• 600millioncollisionspersecond
• Eachcollisiongeneratestemperates100,000timeshotter
thanthecoreofthesun
Just2Requirements
1. Infrastructurethatcananalyzethemost
data-intenseexperimentsinhumanhistory.
2. ITnetworkfor11,000Physicists(email,web
services,databases,desktopsupport).
Bigdata?
• Filter1PBofdatapersecondwith~1,000+VMs.
• 35PBofresidualdataperannumfromLHC,which
needsmathematicalanalysis.
• Scaleforfuturegrowth.By2015,theLHCwill
doubleitsenergyusage.
TheGrid
• 1,000Novaservers,eachwith~12cores.
• 60kcoresintotal,tieredarchitecture.
• DuringCMSexperiments,~250VMsare
launchedina5minburst.
How?
installation
$	
  composer	
  require	
  	
  
	
  	
  rackspace/php-­‐opencloud:dev-­‐master
1.Setupclient
<?php	
  
!
require	
  'vendor/autoload.php';	
  
!
use	
  OpenCloudOpenStack;	
  
!
$client	
  =	
  new	
  OpenStack('my-­‐os-­‐api.com:35357/v2.0',	
  [	
  
	
  	
  	
  	
  'username'	
  	
  	
  =>	
  'foo',	
  
	
  	
  	
  	
  'password'	
  	
  	
  =>	
  'bar',	
  
	
  	
  	
  	
  'tenantName'	
  =>	
  'baz'	
  
]);	
  
!
$service	
  =	
  $client-­‐>computeService('nova',	
  'region1');
2.chooseOS
//	
  Traverse	
  Iterator	
  collection	
  
$allImages	
  =	
  $compute-­‐>imageList();	
  
!
foreach	
  ($allImages	
  as	
  $image)	
  {	
  
	
   if	
  (preg_match('#^ubuntu#i',	
  $image-­‐>name))	
  {	
  
	
   	
   $ubuntu	
  =	
  $image;	
  
	
   	
   break;	
  
	
   }	
  
}	
  
!
//	
  Or	
  instantiate	
  with	
  ID:	
  
$ubuntu	
  =	
  $compute-­‐>image('{uuid}');
3.choosehardware
//	
  Traverse	
  Iterator	
  collection	
  
$allFlavors	
  =	
  $compute-­‐>flavorList();	
  
!
foreach	
  ($allFlavors	
  as	
  $flavor)	
  {	
  
	
   if	
  (preg_match('#large#i',	
  $flavor-­‐>name))	
  {	
  
	
   	
   $largeFlavor	
  =	
  $flavor;	
  
	
   	
   break;	
  
	
   }	
  
}	
  
!
//	
  Or	
  instantiate	
  directly:	
  
$largeFlavor	
  =	
  $compute-­‐>image('m1.large');
4.launch
use	
  GuzzleHttpExceptionBadResponseException;	
  
!
/**	
  @var	
  $server	
  OpenCloudComputeResourceServer	
  */	
  
$server	
  =	
  $compute-­‐>server();	
  
!
try	
  {	
  
	
   $response	
  =	
  $server-­‐>create([	
  
	
   	
   'name'	
  	
  	
  =>	
  'Viva	
  Italia!',	
  
	
   	
   'image'	
  	
  =>	
  $ubuntu,	
  
	
   	
   'flavor'	
  =>	
  $largeFlavor	
  
	
   ]);	
  
}	
  catch	
  (BadResponseException	
  $e)	
  {	
  
	
   printf("An	
  error	
  occurred!n");	
  
	
   printf("Request:	
  %sn",	
  (string)	
  $e-­‐>getRequest());	
  
	
   printf("Response:	
  %s",	
  (string)	
  $e-­‐>getResponse());	
  
}
• ‘gettingstarted’guides
• fullusermanual
• samplesformostuse-cases
• issuetrackingforhelp,orfeelfreeto
emailsdk-support@rackspace.com
github.com/rackspace/php-opencloud
Future?
Thanks!
@jamiehannaford
PhotoCredits
‘WisoffontheArm’,NASA
!
20thCenturyFox
!
PeterThoeny,Copyright2013,CreativeCommonslicense
!
AlexandervanDijk,Copyright2009,CreativeCommonslicense
!
CERN,Allrightsreserved
!
PhilipHay,Copyright2007,CreativeCommons
!
CClicense:https://creativecommons.org/licenses/by-nc-sa/2.0

Contenu connexe

En vedette

Eclipse Memory Analyzer - More Than Just a Heap Walker
Eclipse Memory Analyzer - More Than Just a Heap WalkerEclipse Memory Analyzer - More Than Just a Heap Walker
Eclipse Memory Analyzer - More Than Just a Heap Walker
guest62fd60c
 
Compaction and Splitting in Apache Accumulo
Compaction and Splitting in Apache AccumuloCompaction and Splitting in Apache Accumulo
Compaction and Splitting in Apache Accumulo
Hortonworks
 
Redesigning Xen Memory Sharing (Grant) Mechanism
Redesigning Xen Memory Sharing (Grant) MechanismRedesigning Xen Memory Sharing (Grant) Mechanism
Redesigning Xen Memory Sharing (Grant) Mechanism
The Linux Foundation
 

En vedette (10)

Virtualization Primer for Java Developers
Virtualization Primer for Java DevelopersVirtualization Primer for Java Developers
Virtualization Primer for Java Developers
 
Virtualization aware Java VM
Virtualization aware Java VMVirtualization aware Java VM
Virtualization aware Java VM
 
Eclipse Memory Analyzer - More Than Just a Heap Walker
Eclipse Memory Analyzer - More Than Just a Heap WalkerEclipse Memory Analyzer - More Than Just a Heap Walker
Eclipse Memory Analyzer - More Than Just a Heap Walker
 
Eclipse Memory Analyzer Tool
Eclipse Memory Analyzer ToolEclipse Memory Analyzer Tool
Eclipse Memory Analyzer Tool
 
Compaction and Splitting in Apache Accumulo
Compaction and Splitting in Apache AccumuloCompaction and Splitting in Apache Accumulo
Compaction and Splitting in Apache Accumulo
 
OSv presentation from Linux Foundation Collaboration Summit
OSv presentation from Linux Foundation Collaboration SummitOSv presentation from Linux Foundation Collaboration Summit
OSv presentation from Linux Foundation Collaboration Summit
 
Unik Slides
Unik SlidesUnik Slides
Unik Slides
 
Redesigning Xen Memory Sharing (Grant) Mechanism
Redesigning Xen Memory Sharing (Grant) MechanismRedesigning Xen Memory Sharing (Grant) Mechanism
Redesigning Xen Memory Sharing (Grant) Mechanism
 
OSv at Cassandra Summit
OSv at Cassandra SummitOSv at Cassandra Summit
OSv at Cassandra Summit
 
Microservices + Oracle: A Bright Future
Microservices + Oracle: A Bright FutureMicroservices + Oracle: A Bright Future
Microservices + Oracle: A Bright Future
 

Similaire à Introduction to OpenStack

RubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on RailsRubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on Rails
elliando dias
 
201304 chef for open stack overview
201304 chef for open stack overview201304 chef for open stack overview
201304 chef for open stack overview
OpenStack Foundation
 
201304 chef for open stack overview
201304 chef for open stack overview201304 chef for open stack overview
201304 chef for open stack overview
OpenStack Foundation
 

Similaire à Introduction to OpenStack (20)

Stackato v2
Stackato v2Stackato v2
Stackato v2
 
RubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on RailsRubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on Rails
 
Stackato v5
Stackato v5Stackato v5
Stackato v5
 
Chef For OpenStack Overview
Chef For OpenStack OverviewChef For OpenStack Overview
Chef For OpenStack Overview
 
Chef for OpenStack: Grizzly Roadmap
Chef for OpenStack: Grizzly RoadmapChef for OpenStack: Grizzly Roadmap
Chef for OpenStack: Grizzly Roadmap
 
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 Openstack - An introduction/Installation - Presented at Dr Dobb's conference... Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 
Stackato v6
Stackato v6Stackato v6
Stackato v6
 
OpenStack 101
OpenStack 101OpenStack 101
OpenStack 101
 
OpenStack 101 - All Things Open 2015
OpenStack 101 - All Things Open 2015OpenStack 101 - All Things Open 2015
OpenStack 101 - All Things Open 2015
 
Stackato v4
Stackato v4Stackato v4
Stackato v4
 
The Silver Bullet Syndrome by Alexey Vasiliev
The Silver Bullet Syndrome by Alexey VasilievThe Silver Bullet Syndrome by Alexey Vasiliev
The Silver Bullet Syndrome by Alexey Vasiliev
 
201304 chef for open stack overview
201304 chef for open stack overview201304 chef for open stack overview
201304 chef for open stack overview
 
201304 chef for open stack overview
201304 chef for open stack overview201304 chef for open stack overview
201304 chef for open stack overview
 
Openstack – An introduction
Openstack – An introductionOpenstack – An introduction
Openstack – An introduction
 
Be faster then rabbits
Be faster then rabbitsBe faster then rabbits
Be faster then rabbits
 
OpenStack: Why Is It Gaining So Much Traction?
OpenStack: Why Is It Gaining So Much Traction?OpenStack: Why Is It Gaining So Much Traction?
OpenStack: Why Is It Gaining So Much Traction?
 
What developers can really contribute in DevOps concept?
What developers can really contribute in DevOps concept?What developers can really contribute in DevOps concept?
What developers can really contribute in DevOps concept?
 
So You Want to be an OpenStack Contributor
So You Want to be an OpenStack ContributorSo You Want to be an OpenStack Contributor
So You Want to be an OpenStack Contributor
 
5 Popular Choices for NoSQL on a Microsoft Platform - Tulsa - July 2018
5 Popular Choices for NoSQL on a Microsoft Platform - Tulsa - July 20185 Popular Choices for NoSQL on a Microsoft Platform - Tulsa - July 2018
5 Popular Choices for NoSQL on a Microsoft Platform - Tulsa - July 2018
 
Machine learning in cybersecutiry
Machine learning in cybersecutiryMachine learning in cybersecutiry
Machine learning in cybersecutiry
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
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
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
[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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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)
 
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
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
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...
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 

Introduction to OpenStack