41
2010 IUT Cloud Computing Presentation Presented by Raymond Gao 9 Novembre, 2010

IUT presentation - English

Embed Size (px)

DESCRIPTION

1st Presentation to IUT, U de Bourgogne, Dijon, France

Citation preview

Page 1: IUT presentation - English

2010 IUT Cloud Computing Presentation

Presented by

Raymond Gao

9 Novembre, 2010

Page 2: IUT presentation - English

Describe myself

Job history Chief Architect @ Nokia Business Infrastructure Senior E-Commerce Architect / Technical Manager @ Sun

Microsystems (now Oracle) Board of Director for Project JXTA (P2P Computing like Bit

Torrent) Java Community Process Member Amazon User Group Leader

Publications Editor-in-Chief, Peer-to-Peer Computing Journal (Peer-reviewed) eAI Journal, Enterprise Linux, XML Journal, …

Conferences JavaOne, WebServices One, Dagstuhl (Max Planck Institute),

Dresden, etc

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

2

Page 3: IUT presentation - English

Presentation Overview

What is cloud computing?

How does cloud computing affect you (research & study)?

Trend and major players in cloud computing

Analysis of leading players

Demonstrations of cloud computing

Q & A

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

3

Page 4: IUT presentation - English

Understand the audience

How many people have used server virtualization software?Using Parallel Desktop? Virtual PC? Or VMWare

products?Ask their experience about these software

How many people have created dynamic websites? (PHP, CGI, Java, ROR)

How many people have used managed server hosting?

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

4

Page 5: IUT presentation - English

What exactly is cloud computing?

9 Novembre, 2010

5

2010 IUT Cloud Computing Seminar

Page 6: IUT presentation - English

The details

Give definitionHow many people don’t have electricity at home?Cloud computing is just like electricity and better

Describe the benefits of cloud computingCostFlexibilityReliabilityRapid scalingRepeatable process

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

6

Page 7: IUT presentation - English

What is Cloud Computing?

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

7

First, think of your electricity service…

Power is available to you on-demand, you pay only for what you use -> CPU, bandwidth, storage, memory

…and you plug into a vast electrical grid managed by professionals to get you the lowest cost, most reliable power with much greater efficiency and safety than you could probably do on your own.

Page 8: IUT presentation - English

Introducing Amazon Web Services

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

8

AWS provides flexible, scalable, secure, and cost-effective IT infrastructure for businesses of all sizes around the world.

Compute power and storage is available to you on-demand, you pay only for the resources you use…

…running on scalable, reliable, and secure infrastructure operated by Amazon Web Services, based on the knowledge gleaned from over a decade of building efficient and dependable infrastructure for Amazon.com.

Page 9: IUT presentation - English

Why is Cloud computing important?

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

9

Page 10: IUT presentation - English

2007: AWS bandwidth usage surpassed Amazon.com global websites

Today: AWS bandwidth usage 30% greater than Amazon.com global websites

Bandwidth Usage:

AWS Usage Graph

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

10

Page 11: IUT presentation - English

Amazon S3 Momentum

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

11

Total Number of Objects Stored in Amazon S3

2.9 Billion

14 Billion

40 Billion

102 Billion

Page 12: IUT presentation - English

Facebook Members

More than 500 million active users

over 900 million objects (pages, groups, events and community pages)

About 70% of Facebook users are outside the United States

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

12

Page 13: IUT presentation - English

With Zucker

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

13

Page 14: IUT presentation - English

Predicting Infrastructure Needs

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

14C

om

pute

Pow

er

Time

Predicted Usage

Actual Usage

Waste

CustomerDissatisfaction

Page 15: IUT presentation - English

Wall Street & Amazon EC2

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

15

Num

ber

of

EC

2 Inst

ance

s

300 CPU’s on weekends

Thursday

4/23/2009

Friday4/24/2009

Sunday4/26/2009

Monday4/27/2009

Tuesday4/28/2009

Saturday4/25/2009

Wednesday4/22/2009

3000--

300 --

Page 16: IUT presentation - English

Amazon Web Services

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

16

ComputeAmazon Elastic

Compute Cloud (EC2)-Elastic Load Balancing

-Auto Scaling

StorageAmazon Simple

Storage Service (S3)-AWS Import/Export

Your Custom Applications and Services

Content DeliveryAmazon

CloudFront

MessagingAmazon Simple Queue Service

(SQS)

PaymentsAmazon Flexible

Payments Service (FPS)

On-Demand Workforce

Amazon Mechanical Turk

Parallel Processing

Amazon Elastic MapReduce

MonitoringAmazon CloudWatch

DatabaseAmazon RDS

Amazon SimpleDB

ManagementAWS Management

Console

ToolsAWS Toolkit for

Eclipse

Isolated NetworksAmazon Virtual Private Cloud

Page 17: IUT presentation - English

AWS Console

Saturday, Oct 2nd, 2010

2010 DFW Cloud Computing Seminar

17

Page 18: IUT presentation - English

Elastic Fox – A management tool

Saturday, Oct 2nd, 2010

2010 DFW Cloud Computing Seminar

18

Page 19: IUT presentation - English

Rationales for cloud computing

Variable Load

Reliability

Flexibility

Low-Latency

Highly Scalable

Easy-to-user

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

19

Page 20: IUT presentation - English

AWS Global Reach

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

20

Amazon EC2, Amazon Elastic MapReduce,Amazon SimpleDB, Amazon SQS

Amazon S3

Amazon CloudFront

Ashburn, VA / Dallas, TX / Los Angeles, CA / Miami, FL / Newark, NJ / Palo Alto, CA / Seattle, WA / St. Louis, MO / Amsterdam / Dublin / Frankfurt / London / Hong Kong / Tokyo

US StandardUS West (Northern California)Europe (Dublin)Singapore (coming soon)

US East (Northern Virginia)US West (Northern California)Europe (Dublin)Singapore (coming soon)

Page 21: IUT presentation - English

How can universities benefit from cloud computing?

Developing new softwareSetup and tear down environmentShow a visual example

TeachingThe environment is prebuilt from the AMI image,

making software development really simple

Cost

Amazon University Grant program

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

21

Page 22: IUT presentation - English

http://Aws.Amazon.com/eduction

Class Grant - $100 AWS credit for each studentUniversity of MarylandHarvard University

Research Grants – 4x a year

Student competition

Startup challenge

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

22

Page 23: IUT presentation - English

Demonstration of AHeadless AMI Server - Ubuntu

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

23

Page 24: IUT presentation - English

AWS Cost Structure

Time based – Usage based on HoursEC2

Transaction based - Number of hits per time-periodRDBS

Size basedS3 – GB / month

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

24

Page 25: IUT presentation - English

Instants Type

1 ECU = 1.0 – 1.2 GHz Opteron/Xeon from 20079 Novembre, 2010 2010 IUT Cloud Computing Seminar

25

RAMCores x

ECUArch

Hourly Cost (US-East)

Monthly Cost(US-East)

Standard

Small 1.7 GB 1 x 1 32bit $0.085 $62

Large 7.5 GB 2 x 2 64bit $0.34 $248

Extra Large 15 GB 4 x 2 64bit $0.68 $496

High-Memory

Extra Large 17.1 GB

2 x 3.25 64bit $0.50 $366

Double Extra Large

34.2 GB

4 x 3.25 64bit $1.20 $878

Quadruple Extra Large

68.4 GB

8 x 3.25 64bit $2.40 $1756

High-CPU

Medium 1.7 GB 2x 2.5 32bit $0.17 $124

Extra Large 7 GB 8 x 2.5 64bit $0.68 $496

Page 26: IUT presentation - English

Standard Instances Well suited for most applications

High Memory Instances Offer large memory sizes for high throughput applications, including

database and memory caching applications

High CPU Instances Have proportionally more CPU resources than memory (RAM) and are

well suited for compute-intensive applications

Amazon EC2 Instance Types

Page 27: IUT presentation - English

AWS monthly cost calculator

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

27

http://calculator.s3.amazonaws.com/calc5.html

Page 28: IUT presentation - English

Tools for managing AWS Cloud

Command Line

Elastic Fox & S3 Fox

AWS Management Console

Explorers – Bucket / SimpleDB

MobileYlasticDirectEC2

Etc.

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

28

Page 29: IUT presentation - English

Billed for actual usage on monthly basis

Standard Instances Linux/UNIX starting at $0.095 USD per hour Windows starting at $0.13 USD per hour

High CPU Instances Linux/UNIX starting at $0.19 USD per hour Windows starting at $0.31 USD per hour

High Memory Instances Linux/UNIX starting at $1.34 USD per hour Windows starting at $1.44 USD per hour

+ Data Transfer Costs

Reserved Instances Make a low, one-time payment for each instance Receive lower pricing for that instance

Amazon EC2 Pricing (EU Region)

Page 30: IUT presentation - English

Choosing an AWS Database Solution

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

30

Amazon EC2 Relational Database AMIs

Amazon Relational Database Service

Amazon SimpleDB

Features Choose your own database server (IBM DB2, Microsoft SQL Server, MySQL, Oracle, and more)

Native access to a relational database engine, with key features of a relational database, such as joins or complex transactions

Schema-less data store

Administration

Exert complete administrative control over your database

Gain a managed experience and offload common administrative tasks, such as provisioning, backup

Zero administrative overhead (automatic handling of geo-redundant replication, index creation, database tuning)

Flexibility Easy migration path (existing code, tools, applications are compatible)

Easy migration path (existing code, tools, applications are compatible)

Easy to use web service APIs

Scalability Employ many of the scalability features of Amazon EC2

Quickly scale up resources with only an API call

Automatic and elastic scaling of resources to meet request load

Backup Store snapshots to Amazon S3

Use automatic backup service at an interval you specify

High availability (multiple copies of data for reliability and failover)

Page 31: IUT presentation - English

Trend and analysis of current market

Who are players?

What are they doing?OfferingStrategycost

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

31

Page 32: IUT presentation - English

Who are jumping on the bandwagon?

Big Names Amazon * Google IBM Microsoft Oracle Salesforce *

Additional players Facebook & Twitter (Enabler) RightScale Collab Heroku Engine Yard, …

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

32

Page 33: IUT presentation - English

Other Important Developments

Loosely coupled webREST vs. SOAPAJAX, Flash, iPad

Social NetworkingFacebookTwitterFourSquare

New LanguagesRuby-On-RailsPython

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

33

Page 34: IUT presentation - English

The Meshup Web

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

34

Page 35: IUT presentation - English

Facebook Graph API

https://graph.facebook.com/oauth/authorize? client_id=...& redirect_uri=http://www.example.com/oauth_redirect

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

35

Page 36: IUT presentation - English

Designing Applications for Reliability

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

36

Region

Availability Zone Availability Zone

Amazon CloudWatchProvides monitoring for AWS cloud resources.

Elastic Load BalancingAutomatically distributes incoming application traffic across multiple Amazon EC2 instances.

Auto ScalingAutomatically scales Amazon EC2 capacity up or down according to pre-defined conditions.

Page 37: IUT presentation - English

Setting up Amazon Web Services Account

Pre-requisitesSSH client – Putty.exe on Windows, built-in in Mac

and Linux

To-doAccess KeySecret KeyX.509 Certificate

Private Key Public Key

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

37

Page 38: IUT presentation - English

Account Page

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

38

Page 39: IUT presentation - English

Getting AWS Access Identifiers

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

39

•Access Key•Secret Key•X.509 Certificate files (Self-signed)

•Public •Private

Page 40: IUT presentation - English

Amazon WS Management Console

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

40

AllowsStart / Stop / Pause a VM instanceManage Firewall portsAdd S3 storageTake snapshot of volumes & VMsCreate Security Group and Key Pair (Amazon use secure key to manage access to VM via SSH), This is different from X509 keys.Control Job Flow between VMsCloudFront Services (pushing data to the edge of network)

Page 41: IUT presentation - English

Contact Me

Email: [email protected]

Facebook: http://facebook.com/raygao2009

Blog: http://raysblog.are4.us

9 Novembre, 2010 2010 IUT Cloud Computing Seminar

41