Top Banner
Cloud Computing, Web Services, and the New Web Stack June 19, 2009 Boulder, Colorado Stuart Sierra Columbia Law School Program on Law & Technology columbialawtech.org altlaw.org
20

Cloud Computing, Web Services, and the New Web Stack

Feb 03, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Cloud Computing, Web Services, and the New Web Stack

Cloud Computing, Web Services, and the New Web Stack

June 19, 2009Boulder, Colorado

Stuart SierraColumbia Law School

Program on Law & Technologycolumbialawtech.org

altlaw.org

Page 2: Cloud Computing, Web Services, and the New Web Stack

The LAMP Stack

Page 3: Cloud Computing, Web Services, and the New Web Stack

The LAMP Stack

PhysicalServer

File-based Web Server

RelationalDatabase

Embedded Scripting Language

Page 4: Cloud Computing, Web Services, and the New Web Stack

The New Web Stack

VirtualServers

WebProxy

DocumentDatabase

REST Framework

Page 5: Cloud Computing, Web Services, and the New Web Stack

Virtualization

Page 6: Cloud Computing, Web Services, and the New Web Stack

Cloud Infrastructure

Page 7: Cloud Computing, Web Services, and the New Web Stack

Amazon EC2Cost RAM Processor

Small $0.10 / hour 1.7 GB 1 core

Large $0.40 / hour 7.5 GB 2 cores

Extra-Large $0.80 / hour 15 GB 4 cores

EC2= Elastic Compute Cloud

Page 8: Cloud Computing, Web Services, and the New Web Stack

EC2● “Instance” - one virtual machine● “Image” - OS and root file system● “Elastic Block Store” (EBS) - virtual disks● “Availability Zone” - data center location● “Elastic IP” - assignable public IP address● “Elastic Load Balancing”

Page 9: Cloud Computing, Web Services, and the New Web Stack

Amazon EC2

Elastic IP

LoadBalancer

ApplicationServers

DBServers

EBSVolumes

Page 10: Cloud Computing, Web Services, and the New Web Stack

Scalability

“UP”

“OUT”“IN”

“DOWN”

Page 11: Cloud Computing, Web Services, and the New Web Stack

Scalability

bigger machines

moremachines

fewermachines

smaller machines

Page 12: Cloud Computing, Web Services, and the New Web Stack

Document Databases

Page 13: Cloud Computing, Web Services, and the New Web Stack

Relational● Rows● Tables● Schema● Atomic values● Normalization● Joins

● Documents● One namespace● No schema● Multiple values● Denormalization● Maps

Document

Page 14: Cloud Computing, Web Services, and the New Web Stack

Relational● Atomicity● Consistency● Isolation● Durability

● Basically available● Soft state / scalable● Eventually

consistent

Distributed

“BASE” coined by Dan Pritchett of EBay

Page 15: Cloud Computing, Web Services, and the New Web Stack

ReST● ReST= Representational State Transfer● Roy T. Fielding’s Ph.D. thesis● Everything is a resource...● ...referenced by URIs...● ...viewed & created as representations.

ResourceURI Representation

Page 16: Cloud Computing, Web Services, and the New Web Stack

WWW● Cookies, sessions● HTTP as transport● URIs reveal server

architecture● Web Sites● Pages● HTML

● Stateless● HTTP as API● URIs give names to

resources● Web Services● Resources● HTML, XML, JSON...

ReST

Page 17: Cloud Computing, Web Services, and the New Web Stack

Real ReST● Ruby on Rails● Django (Python)● Restlet (Java)● RESTful Web Services

by Richardson

Page 18: Cloud Computing, Web Services, and the New Web Stack

Proxies

Mongrel

Page 19: Cloud Computing, Web Services, and the New Web Stack

The New Web Stack● Virtual servers, on-demand scalability● Distributed, document-oriented databases● Proxies, load-balancing● ReST and web services

Page 20: Cloud Computing, Web Services, and the New Web Stack

Image Credits

All trademarks are the property of their respective owners.

Other public-domain images from openclipart.org