• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
OpenStack How To - PyLadies ATX
 

OpenStack How To - PyLadies ATX

on

  • 3,128 views

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.

Statistics

Views

Total Views
3,128
Views on SlideShare
1,335
Embed Views
1,793

Actions

Likes
0
Downloads
0
Comments
0

7 Embeds 1,793

http://justwriteclick.com 1782
http://theoldreader.com 3
https://www.newsblur.com 3
http://feeds.feedburner.com 2
http://www.newsblur.com 1
http://ranksit.com 1
http://newsblur.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 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

OpenStack How To - PyLadies ATX OpenStack How To - PyLadies ATX Presentation Transcript

  • OpenStackOpen source software to build public and private cloudsAustin PyLadies, June 6, 2013Anne Gentle anne.gentle@rackspace.com
  • What is OpenStack?How do I consume OpenStack?How do I contribute to OpenStack?What’s next?What else?
  • +Community Technology= =
  • HOW TO: Use OpenStack
  • STEP 1: Get pyraxSTEP 2: Set up authenticationSTEP 3: Run a Python scriptSTEP 4: Verify on Control Panel
  • Step 1: Get pyrax‣ Demo on Ubuntu 12.04Rackspace Cloud Server (getyou one!)‣ pip install pyrax
  • 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")
  • 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)…
  • Step 4: Verify on Control Panel‣ Go to http://mycloud.rackspace.com
  • HOW TO: Make OpenStack
  • STEP 1: Launchpad accountSTEP 2: Upload SSH keysSTEP 3: Join the FoundationSTEP 4: Verify on review.openstack.org
  • Step 1: Account at Launchpad.net‣ Create an account inLaunchpad‣ https://login.launchpad.net/+new_account
  • 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
  • Step 3: Join the OpenStack Foundation‣ Go to http://openstack.org/join
  • Step 4: Verify on review.openstack.org‣ Go tohttp://review.openstack.org/‣ Click Sign In‣ Use your Launchpad account
  • STEP 1: Clone a repoSTEP 2: Set up git-reviewSTEP 3: Submit a patchSTEP 4: Get it reviewed
  • 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
  • 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-
  • 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
  • Step 4: Get it reviewed‣ Copy and paste the URL returned from git reviewhttp://review.openstack.org/nnnnnn
  • What’s next?
  • STEP 1: Meet peopleSTEP 2: TravelSTEP 3: Have funSTEP 4: Get a job
  • 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?
  • What else?