Your SlideShare is downloading. ×
OpenStack How To - PyLadies ATX
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

OpenStack How To - PyLadies ATX

3,091

Published on

Provides an overview of OpenStack - how to consume it with pyrax, a Python SDK, and how to become a contributor.

Provides an overview of OpenStack - how to consume it with pyrax, a Python SDK, and how to become a contributor.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,091
On Slideshare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Introduction, explain that Iwork at Rackspace. Next slide talks about the topics for the talk.
  • OpenStack is… We ’re both a community and a cloud technology with associated projects
  • This is the logical architecture and all the parts written in python. Next slide shows the conceptual arch, much more digestable.
  • Next slide starts on how to use OpenStack
  • So back to the mission. We want to make IT easier. To abstract from the hardware environment to a standardized software environment. We want to provide servers and storage on demand.
  • By installing pyrax, you have the ability to build on any OpenStack cloud using standard Python objects and code.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • So back to the mission. We want to make IT easier. To abstract from the hardware environment to a standardized software environment.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • OpenStack is doing this: Next slide shows how we create open source software.
  • https://bugs.launchpad.net/glance/+bug/1112670
  • https://bugs.launchpad.net/glance/+bug/1112670
  • https://bugs.launchpad.net/glance/+bug/1112670
  • https://bugs.launchpad.net/glance/+bug/1112670
  • Transcript

    • 1. OpenStackOpen source software to build public and private cloudsAustin PyLadies, June 6, 2013Anne Gentle anne.gentle@rackspace.com
    • 2. What is OpenStack?How do I consume OpenStack?How do I contribute to OpenStack?What’s next?What else?
    • 3. +Community Technology= =
    • 4. HOW TO: Use OpenStack
    • 5. STEP 1: Get pyraxSTEP 2: Set up authenticationSTEP 3: Run a Python scriptSTEP 4: Verify on Control Panel
    • 6. Step 1: Get pyrax‣ Demo on Ubuntu 12.04Rackspace Cloud Server (getyou one!)‣ pip install pyrax
    • 7. Step 2: Set up authentication‣ Create ~/.pyrax.cfg with:[default]identity_type = rackspacekeyring_username = yourusernamedebug=True‣ Also, in the code itself, username and API Key:pyrax.set_credentials("annegentle","486edc1d76c0981b7a5f998c9f4b8849")
    • 8. Step 3: Run tutorial, spin up servers‣ Create pyrax_tutorial.py filehttps://gist.github.com/EdLeafe/5665994#!/usr/bin/env python# -*- coding: utf-8 -*-import pyrax# First you need to authenticate.pyrax.keyring_auth()# Create a shortcut alias forcloudserverscs = pyrax.cloudservers# Get the image for Ubuntu 12.04image = [img for img in cs.list_images()if "Ubuntu 12.04" in img.name][0]# Flavors are RAM/disk combinations.flavor = cs.list_flavors()[0]# Create the first serverserver1 =cs.servers.create(name=“Buntuone",image=image.id,flavor=flavor.id)…
    • 9. Step 4: Verify on Control Panel‣ Go to http://mycloud.rackspace.com
    • 10. HOW TO: Make OpenStack
    • 11. STEP 1: Launchpad accountSTEP 2: Upload SSH keysSTEP 3: Join the FoundationSTEP 4: Verify on review.openstack.org
    • 12. Step 1: Account at Launchpad.net‣ Create an account inLaunchpad‣ https://login.launchpad.net/+new_account
    • 13. Step 2: Upload SSH Keys‣ Log in to your Launchpadaccount‣ Generate SSH keyssh-keygen –t rsaless ~/.ssh/id_rsa.pub‣ Add SSK key for thecomputer you’recommitting from
    • 14. Step 3: Join the OpenStack Foundation‣ Go to http://openstack.org/join
    • 15. Step 4: Verify on review.openstack.org‣ Go tohttp://review.openstack.org/‣ Click Sign In‣ Use your Launchpad account
    • 16. STEP 1: Clone a repoSTEP 2: Set up git-reviewSTEP 3: Submit a patchSTEP 4: Get it reviewed
    • 17. Step 1: Clone a repository‣ Install git. If this is your first time setting up git andGithub, be sure to run these steps in a Terminalwindow:$ git config --global user.name "FirstnameLastname"$ git config --global user.emailname@youremail.com‣ Install git. If this is your first time setting up git and Github,be sure to run these steps in a Terminal window:git clonehttp://github.com/openstack/glance.git
    • 18. Step 2: Set up git-review‣ Install git-review so you can submit patches:sudo pip install git-reviewsudo apt-get install git-review‣ Test to ensure you can connect:git review –s‣ Create a new remote with this command:git remote add gerritssh://<username>@review.openstack.org:29418/openstack/openstack-
    • 19. Step 3: Submit a patch‣ Switch to the repository and checkout:git checkout master; git remoteupdate; git pull origin master‣ Assign a bug to yourself.https://bugs.launchpad.net/glance/+bug/1112670‣ Fix it, then commit and patch:git checkout –b fix-bug-1112670git review -v
    • 20. Step 4: Get it reviewed‣ Copy and paste the URL returned from git reviewhttp://review.openstack.org/nnnnnn
    • 21. What’s next?
    • 22. STEP 1: Meet peopleSTEP 2: TravelSTEP 3: Have funSTEP 4: Get a job
    • 23. Rackspace OverviewFounded in 1998• Publicly traded on NYSE: RAX• 100,000+ customers two years ago, now?$1.3B USD revenue in prior year• Dedicated Managed Hosting• Cloud Infrastructure & Apps (Servers, Files, Sites, Email)Provides customer service ("Fanatical Support") for theopen cloud• 5,000+ employees• Datacenters in Australia, the US, the UK, the Netherlands,and Hong Kong• 60,000+ physical servers two years ago, now?
    • 24. What else?

    ×