Developing on OpenStack
April 17, 2014
Startup Edmonton
Curtis Collicutt & David Ackerman
{curtis.collicutt, david.ackerma...
Agenda
● 11:50 - What is OpenStack?
● Foundation
● How is it made?
● Releases and components
● Compare contrast w/ AWS, AP...
● Cybera is a not-for-profit organization responsible
for overseeing the development of Alberta’s cyber-
infrastructure
● ...
- 3 key areas
1. Designing and operating Cyberanet, Alberta’s public
ultra high-speed network
2. Piloting research and inn...
Questions
1. How many of you are developers?
2. Enterprise? Startups? Non-profit? SMB?
3. Used Amazon Web Services (AWS)?
...
What is OpenStack?
OpenStack is
● Open source software for building
private and public clouds
● Arguably most successful open source
project,...
What OpenStack is not
● Not a hypervisor
○ Uses hypervisors, and supports several, but is
not a hypervisor itself
● Not a ...
OpenStack
● Open
● Create public, private, & hybrid clouds
● Commercial support
● Thriving ecosystem
Platinum & Gold Members
Innovative Ecosystem
8
Diverse Use Cases
User Footprint
OpenStack
Foundation
Protecting, Empowering, and Promoting OpenStack software
and the community around it, including users, developers and the
...
Provide a permanent legal home for OpenStack, with broad
industry support and the resources to support OpenStack’s
success...
Expecting 4000+ in Hong Kong: November 5-8, 2013
OpenStack Summit Attendee Growth
May 12 - 16,
2014, Atlanta
OpenStack
Development
(how it’s made)
OpenStack development
● 115,206 commits made by 2,130
contributors
● representing 1,766,546 lines of code
● took an estima...
Time-Based Release Cycle
New software release every six months, with interim milestones
Twice Yearly Design Summits
Immedi...
Open
● Open source
● Open design
● Open development
● Open community
Result
● Choice
● Rapid development
● Feature rich
● Customizable and extendable
● Scale
● Worldwide adoption
● Jobs
● Wea...
OpenStack
Releases &
Components
OpenStack Cloud Platform
Technology Platform
Code available under Apache 2.0 license. Design tenets
– scale & elasticity, ...
OpenStack components
Horizon Dashboard / Web UI
Nova Compute
Keystone Authentication / Users /
Service Catalog
Neutron Net...
Release Codename Release Date Integrated Components
Austin 21 Oct 2010 Nova, Swift
Bexar 3 Feb 2011 Nova, Glance, Swift
Ca...
Ubuntu
14.04 Press
Release:
OpenStack
mentioned
29 times
Release Codename Release Date Components
Icehouse 17 April 2014 Nova
Glance
Swift
Horizon
Keystone
Neutron
Cinder
Heat
Cei...
OpenStack components
Horizon Dashboard / Web UI
Nova Compute
Keystone Authentication / Users / Service
Catalog
Neutron Net...
Compare/Contrast
with AWS
(& other APIs)
Compare/contrast AWS &
OpenStack
Q: Who will win between GCE, AWS, and
OpenStack? Which is better, ect...
A: “Who will win...
OpenStack & AWS components
OpenStack Amazon Web Services
Horizon AWS Console
Nova EC2
Keystone IAM
Neutron Networking / Vi...
Rackspace
mapping
OpenStack EC2 API
● https://wiki.openstack.
org/wiki/Nova/APIFeatureComparison
OpenStack and GAE
● Project to provide GAE API
compatability:
OpenStack and GAE
● Code: https://github.com/stackforge/gce-
api
Developing on
OpenStack
(Typical?) Enterprise approach
● GUI Driven
● Ticket-based
● Hand-crafted
● Reserved
● Lengthy provisioning
● Scale-up
● P...
Cloud computing approach
● API driven
● Self-service
● Automated
● On-demand
● Scale-out
● Open source
● Agile, DevOps, et...
Scale out vs scale up
● Scale up: make boxes bigger
● Scale out: more boxes
Elastic cloud patterns
● Small failure domains
● Loose coupling
● Circuit breaker pattern
● AWS EBS could be a crutch
● Sh...
OpenStack Swift - Object Storage
● Not a file system & not block storage
● Highly available, durable, distributed,
eventua...
How to try out
OpenStack
How to try/use OpenStack
● DevStack - http://devstack.org
● TryStack - http://trystack.org
● Search in github... vagrant o...
● Canada’s Advanced Research and Innovation Network
● Works with twelve provincial and territorial network partners
(inclu...
DAIR - https://atir-dair.canarie.ca/
● Provides entrepreneurs with free, high-performance cloud
resources for product deve...
Community
Mailing Lists & IRC
● Mailing lists
○ openstack@lists.openstack.org
○ openstack-announce@lists.openstack.org
○ openstack-d...
User Groups
● Canada
○ OpenStack Toronto - http://www.meetup.
com/OpenStackTO/
○ OpenStack Montreal - http://montrealopens...
DEMO: Chef +
OpenStack
Demo: Chef + OpenStack
● Deploy the Ghost blogging platform
using the configuration management
tool Chef, and the DAIR Ope...
OpenStack
The platform ecosystem for the cloud
Credits
● Please note that some of the slides
were taken from the OpenStack
Foundation’s marketing and
presentations: http...
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
Upcoming SlideShare
Loading in...5
×

Developing on OpenStack Startup Edmonton

1,430

Published on

The title of the presentation might be a bit off. We gave about a 30 minute introduction to OpenStack, and then about a 30 min demo on installing the Ghost blogging platform using Chef in an OpenStack cloud.

Published in: Technology

Developing on OpenStack Startup Edmonton

  1. 1. Developing on OpenStack April 17, 2014 Startup Edmonton Curtis Collicutt & David Ackerman {curtis.collicutt, david.ackerman}@cybera.ca
  2. 2. Agenda ● 11:50 - What is OpenStack? ● Foundation ● How is it made? ● Releases and components ● Compare contrast w/ AWS, APIs... ● Developing on OpenStack ● How to try OpenStack ● Community ● 12:25 - Grab lunch ● 12:30 - David demo starts
  3. 3. ● Cybera is a not-for-profit organization responsible for overseeing the development of Alberta’s cyber- infrastructure ● http://www.cybera.ca/
  4. 4. - 3 key areas 1. Designing and operating Cyberanet, Alberta’s public ultra high-speed network 2. Piloting research and innovation projects that apply the power of this network 3. Fostering business growth by opening up this network to entrepreneurs working on bringing technology to market
  5. 5. Questions 1. How many of you are developers? 2. Enterprise? Startups? Non-profit? SMB? 3. Used Amazon Web Services (AWS)? 4. Run their business on AWS or IaaS or Paas? 5. Heard of OpenStack? 6. Used OpenStack? 7. Deployed OpenStack? 8. Contributed to OpenStack?
  6. 6. What is OpenStack?
  7. 7. OpenStack is ● Open source software for building private and public clouds ● Arguably most successful open source project, after Linux ● 1000+ developers in 80 countries ● “Giant ball of mostly Python”
  8. 8. What OpenStack is not ● Not a hypervisor ○ Uses hypervisors, and supports several, but is not a hypervisor itself ● Not a product
  9. 9. OpenStack ● Open ● Create public, private, & hybrid clouds ● Commercial support ● Thriving ecosystem
  10. 10. Platinum & Gold Members Innovative Ecosystem 8
  11. 11. Diverse Use Cases User Footprint
  12. 12. OpenStack Foundation
  13. 13. Protecting, Empowering, and Promoting OpenStack software and the community around it, including users, developers and the entire ecosystem. • Over 9,500 Individual Members, up from 5,600 at launch • The leading Global IT companies as Gold & Platinum Members • Board of Directors that sets strategic direction • Project Technical Leads and a Technical Committee that are elected from among the contributors • User Committee to ensure the users voices are heard The OpenStack Foundation
  14. 14. Provide a permanent legal home for OpenStack, with broad industry support and the resources to support OpenStack’s success While preserving what’s working – a.k.a. the “OpenStack Way” • Technical people making technical decisions based on merit • Dedicated resources building the community and ecosystem • A strong ecosystem of companies making money • Encouraging and rewarding contribution in all forms Foundation Approach
  15. 15. Expecting 4000+ in Hong Kong: November 5-8, 2013 OpenStack Summit Attendee Growth
  16. 16. May 12 - 16, 2014, Atlanta
  17. 17. OpenStack Development (how it’s made)
  18. 18. OpenStack development ● 115,206 commits made by 2,130 contributors ● representing 1,766,546 lines of code ● took an estimated 500 years of effort (COCOMO model) ● Development model is meritocracy
  19. 19. Time-Based Release Cycle New software release every six months, with interim milestones Twice Yearly Design Summits Immediately following software release to plan next version Sessions led by developers and Project Technical Leads Broad Contributions 1000 developers, from over 50 companies worldwide Elected Leadership Developers elect their own Project Technical Leaders Open Development Process Technology Platform
  20. 20. Open ● Open source ● Open design ● Open development ● Open community
  21. 21. Result ● Choice ● Rapid development ● Feature rich ● Customizable and extendable ● Scale ● Worldwide adoption ● Jobs ● Wealth creation
  22. 22. OpenStack Releases & Components
  23. 23. OpenStack Cloud Platform Technology Platform Code available under Apache 2.0 license. Design tenets – scale & elasticity, share nothing & distribute everything
  24. 24. OpenStack components Horizon Dashboard / Web UI Nova Compute Keystone Authentication / Users / Service Catalog Neutron Networking-as-a-service Glance Images Cinder Block storage Swift Object storage Ceilometer Metrics and monitoring Heat Orchestration
  25. 25. Release Codename Release Date Integrated Components Austin 21 Oct 2010 Nova, Swift Bexar 3 Feb 2011 Nova, Glance, Swift Cactus 15 Apr 2011 Nova, Glance, Swift Diablo 22 Sep 2012 Nova, Glance, Swift Essex 5 Apr 2012 Nova, Glance, Swift, Horizon, Keystone Folsom 27 Sep 2012 Nova, Glance, Swift, Horizon, Keystone, Quantum, Cinder Grizzly 4 April 2013 Nova, Glance, Swift, Horizon, Keystone, Quantum, Cinder Havana 17 Oct 2013 Nova, Glance, Swift, Horizon, Keystone, Neutron, Cinder, Heat, Ceilometer
  26. 26. Ubuntu 14.04 Press Release: OpenStack mentioned 29 times
  27. 27. Release Codename Release Date Components Icehouse 17 April 2014 Nova Glance Swift Horizon Keystone Neutron Cinder Heat Ceilometer Trove
  28. 28. OpenStack components Horizon Dashboard / Web UI Nova Compute Keystone Authentication / Users / Service Catalog Neutron Networking-as-a-service Glance Images Cinder Block storage Swift Object storage Ceilometer Metrics and monitoring Heat Orchestration Trove Database-as-a-service
  29. 29. Compare/Contrast with AWS (& other APIs)
  30. 30. Compare/contrast AWS & OpenStack Q: Who will win between GCE, AWS, and OpenStack? Which is better, ect... A: “Who will win between Century 21, Home Depot, and a lumber mill?” NOTE: API compatibility is a philosophy on its own...
  31. 31. OpenStack & AWS components OpenStack Amazon Web Services Horizon AWS Console Nova EC2 Keystone IAM Neutron Networking / Virtual Private Cloud Glance AMIs Cinder EBS Swift S3 Ceilometer Usage / Billing Heat CloudFormation Trove RDS
  32. 32. Rackspace mapping
  33. 33. OpenStack EC2 API ● https://wiki.openstack. org/wiki/Nova/APIFeatureComparison
  34. 34. OpenStack and GAE ● Project to provide GAE API compatability:
  35. 35. OpenStack and GAE ● Code: https://github.com/stackforge/gce- api
  36. 36. Developing on OpenStack
  37. 37. (Typical?) Enterprise approach ● GUI Driven ● Ticket-based ● Hand-crafted ● Reserved ● Lengthy provisioning ● Scale-up ● Proprietary ● Traditional dev
  38. 38. Cloud computing approach ● API driven ● Self-service ● Automated ● On-demand ● Scale-out ● Open source ● Agile, DevOps, etc...
  39. 39. Scale out vs scale up ● Scale up: make boxes bigger ● Scale out: more boxes
  40. 40. Elastic cloud patterns ● Small failure domains ● Loose coupling ● Circuit breaker pattern ● AWS EBS could be a crutch ● Shared nothing architecture
  41. 41. OpenStack Swift - Object Storage ● Not a file system & not block storage ● Highly available, durable, distributed, eventually consistent, unstructured storage accessed via a REST-ful http API! ● Scale-out: If possible, drop the shared file system, use object storage
  42. 42. How to try out OpenStack
  43. 43. How to try/use OpenStack ● DevStack - http://devstack.org ● TryStack - http://trystack.org ● Search in github... vagrant openstack ● Example public OpenStack based clouds in US: ○ RackSpace - trial: http://developer.rackspace.com/devtrial/ ○ HPCloud ○ Internap ● Example public OpenStack based clouds in Canada: ○ CloudA ○ ??? ● CANARIE - http://canarie.ca ○ Digital Accelerator for Innovation and Research (DAIR)
  44. 44. ● Canada’s Advanced Research and Innovation Network ● Works with twelve provincial and territorial network partners (including Cybera) to form Canada’s advanced network alliance
  45. 45. DAIR - https://atir-dair.canarie.ca/ ● Provides entrepreneurs with free, high-performance cloud resources for product development, testing and demonstration ● DAIR is a made-in-Canada cloud; data stays in Canada ● DAIR is powered by OpenStack ● Gives entrepreneurs free self-serve access to 4 high- performance virtual servers (and more) ○ 2 geographic locations - Edmonton, AB & Sherbrooke, QC
  46. 46. Community
  47. 47. Mailing Lists & IRC ● Mailing lists ○ openstack@lists.openstack.org ○ openstack-announce@lists.openstack.org ○ openstack-dev@lists.openstack.org ○ openstack-operators@lists.openstack.org ● irc.freenode.net ○ #openstack ○ #openstack-101 ○ #openstack-${component}
  48. 48. User Groups ● Canada ○ OpenStack Toronto - http://www.meetup. com/OpenStackTO/ ○ OpenStack Montreal - http://montrealopenstack. org/ ○ Canadian OpenStack User Group/canstack - http://canstack.ca ● Worldwide ○ http://openstack.meetup.com/all/
  49. 49. DEMO: Chef + OpenStack
  50. 50. Demo: Chef + OpenStack ● Deploy the Ghost blogging platform using the configuration management tool Chef, and the DAIR OpenStack cloud ● Git repository: ○ https://github.com/agentdave/chef-ghost-example
  51. 51. OpenStack The platform ecosystem for the cloud
  52. 52. Credits ● Please note that some of the slides were taken from the OpenStack Foundation’s marketing and presentations: https://www.openstack. org/marketing
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×