• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
ececloud Architecture for GWU's ECE 289 Class
 

ececloud Architecture for GWU's ECE 289 Class

on

  • 931 views

From GWU ECE Spring 2010

From GWU ECE Spring 2010

Statistics

Views

Total Views
931
Views on SlideShare
828
Embed Views
103

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 103

http://ececloud.wordpress.com 102
https://ececloud.wordpress.com 1

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
  • http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/

ececloud Architecture for GWU's ECE 289 Class ececloud Architecture for GWU's ECE 289 Class Presentation Transcript

  • eceCloudTM
    Virtual-Worlds in the Clouds
    Grid Computing using on demand / pay as you go VMs
  • ECE289 Class is using ececloudTM
    Campus Computing
    Augmented
    Mobile Computing
    Secure Protocols
    Midterm
    Grid Computing
    Virtual
    Cloud Computing
  • Cloud Layer and Grid Layer
    Sim01.exe
    Sim02.exe
    Sim03.exe
    Sim04.exe
    Grid Layer
    Sim05.exe
    Sim06.exe
    Sim07.exe
    Sim08.exe
    Amazon EC2
    RackSpace Cloud
    gwcloud.net
    ececloud.com
    gwcloud.org
    RSC-VM01
    RSC-VM02
    RSC-VM03
    EC2-VM01
    EC2-VM02
    EC2-VM03
    sim01
    sim02
    sim05
    sim06
    Inventory Server
    VoIP Server
    FreeSwitch
    DataBase Server
    MySQL
    Web Server
    sim03
    sim04
    sim07
    sim08
    Message Server
    Cloud Layer
    Grid Server
    IRC Client/Relay
    IRC Client/Relay
  • Grid Layer
    RackSpace Cloud
    RSC-VM01
    RSC-VM02
    RSC-VM03
    Rackspace Linux Virtual Machines
    Cloud Layer
  • Cloud Management of Servers
    Cloud Layer
  • Cloud API
    Cloud Layer
  • Cloud API: RESTful Web Services
    REST = Representational State Transfer
    Conforming to the REST constraints is often referred to as being ‘RESTful’
    Roy Fielding Doctoral Dissertation “Roy Fielding "Architectural Styles and the Design of Network-based Software Architectures” year 2000 http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
    “Adddressability is the idea that every object and resource in your system is reachable through a unique identifier……..URIs”
    Scheme://host:port/path?queryString#fragment
    http://example.com/customers?lastName=Burke&zipcode=02115
    With REST over HTTP you do not have to worry about vendor interoperability you can focus on understanding the data format of the server and application interoperability . …. Bill Burke
  • Cloud API: CURL
    REST-esting with cURL
    curl -i -H "Accept: application/json" -X POST -d "firstName=james" http://192.168.0.165/persons/person
    Where
    i – show response headers
    H – pass request headers to the resource
    X – pass a HTTP method name
    d – pass in parameters enclosed in quotes; multiple parameters are separated by ‘&’The above command posts the first name “james” to the persons resource. Assuming the server creates a new person resource with first name of James, I also tell the server to return a json representation of the newly created resource.
    Good Examples http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/
  • Cloud API - API Authentication
    Figure on page 7: API Authentication from Cloud Servers Developer Guide 10/15/09
    GET /v1.0 HTTP/1.1
    Host: auth.api.rackspacecloud.com
    X-Auth-User: jdoe
    X-Auth-Key: a86850deb2742ec3cb41518e26aa2d89
    Curl implementation of the above Authentication Request
    curl -i -H "X-Auth-Key: a86850deb2742ec3cb41518e26aa2d89 " -H "X-Auth-User: jdoe" https://auth.api.rackspacecloud.com/v1.0
    Rackspace Response
    HTTP/1.1 204 No Content
    Date: Sat, 27 Feb 2010 06:28:49 GMT
    Server: Apache/2.2.3 (Mosso Engineering)
    X-Storage-Token: 6ce9397a-4164-44ba-bbd4-e1b6c9a6abc1
    X-Storage-Url: https://storage5.clouddrive.com/v1/MossoCloudFS_8c1e3b35-d250-4a6d-aa5a-35399b039b1d
    X-Server-Management-Url: https://servers.api.rackspacecloud.com/v1.0/437001
    X-CDN-Management-Url: https://cdn.clouddrive.com/v1/MossoCloudFS_8c1e3b35-d250-4a6d-aa5a-35399b039b1d
    X-Auth-Token: 6ce9397a-4164-44ba-bbd4-e1b6c9a6abc1
    Content-Length: 0
    Connection: close
    Content-Type: application/octet-stream
  • Cloud API - API Version
    Figure on page 15: API Version
    GET HTTP/1.1
    Host: servers.api.rackspacecloud.com/
    curl -i -H "Accept: application/xml" -H "X-Auth-Token: 6ce9397a-4164-44ba-bbd4-e1b6c9a6abc1" -X GET "https://servers.api.rackspacecloud.com/"
    HTTP/1.1 200 OK
    Server: Apache-Coyote/1.1
    vary: Accept, Accept-Encoding
    Last-Modified: Thu, 25 Feb 2010 22:40:13 GMT
    Content-Type: application/xml
    Content-Length: 161
    Date: Sat, 27 Feb 2010 05:42:06 GMT
    X-Varnish: 168976310Age: 0
    Via: 1.1 varnishConnection: close
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <versions xmlns="http://docs.rackspacecloud.com/servers/api">
    <version status="BETA" id="v1.0"/>
    </versions>
  • Cloud API - API Version
    Figure on page 20: List Servers
    curl -i -H "Accept: application/xml" -H "X-Auth-Token: 6ce9397a-4164-44ba-bbd4-e1b6c9a6abc1" -X GET https://servers.api.rackspacecloud.com/v1.0/437001/servers/detail > apiServerListDetails.xml
  • Virtual Space
    Grid Layer
  • Augmented Reality
    Cool Augmented Business Card from Toxin Labs
    http://artimes.rouli.net/2009/07/cool-augmented-business-card-from-toxin.html
  • Social Networks
  • What’s Next
  • References
    http://www.productionscale.com/home/2009/8/2/using-curl-to-access-the-rackspace-cloud-api.html
    http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/
    http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
    https://manage.rackspacecloud.com/APIAccess.do
    http://en.wikipedia.org/wiki/REST
    http://oreilly.com/catalog/9780596529260/
    http://www.oreillynet.com/pub/wlg/3005
    http://15timez.blogspot.com/2010/03/virtual-world-therecom-to-close.html
    I was recently talking with Jeff Barr, creator of syndic8 and now Amazon's chief web services evangelist.
    He let drop an interesting tidbit. Amazon has both SOAP and REST interfaces to their web services, and
    85% of their usage is of the REST interface. Despite all of the corporate hype over the SOAP stack, this is
    pretty compelling evidence that developers like the simpler REST approach.
    (I know there are many more complex applications where SOAP is better, but I've always liked
    technologies that have low barriers to entry and grassroots adoption, and simple XML over HTTP
    approach seems to have that winning combination.) ….. REST vs. SOAP Tim O’Reilly Apr 03, 2003
    With REST over HTTP you do not have to worry about vendor interoperability you can focus on understanding the data format of the server and application interoperability . …. Bill Burke