lightning talk wakame on 9 april 2009

15
Dynamic Cloud Configuration “Wakame” axsh co., LTD. Yamazaki Yasuhiro [email protected]

Upload: axsh-co-ltd

Post on 10-Jun-2015

4.459 views

Category:

Technology


1 download

DESCRIPTION

Auto Scaling Software on Amazon EC2http://rubyforge.org/projects/wakame/

TRANSCRIPT

Page 1: Lightning Talk Wakame on 9 April 2009

Dynamic Cloud Configuration“Wakame”

axsh co., LTD.Yamazaki Yasuhiro

[email protected]

Page 2: Lightning Talk Wakame on 9 April 2009

Profile – Yamazaki Yasuhiro

• Former Job: Large System Integration Company in Japan– R&D– Technology Consultant

• Company Start-up: axsh co., LTD.– Contract Business• To build 6,500,000 PV/month Rails Site• To build a Digital Camera Community Site

Page 3: Lightning Talk Wakame on 9 April 2009

The Virtual Goes Beyond The Real

Virtual Memory Physical Memory

Virtual Reality Real World

Virtual Machine Physical Machine

<<<<<<<<>>>>

Art WorkVirtual Sound Horror House

Page 4: Lightning Talk Wakame on 9 April 2009

Amazon EC2 isProgrammable!

Page 5: Lightning Talk Wakame on 9 April 2009

Datacenter as a Programmable Entity

00000H  IN      A, (000H)00002H  AND     A00003H  JR      Z, 00000H00005H  CP      01BH00007H  JR      Z, 00015H00009H  OUT     (001H), A0000BH  CP      00DH0000DH  JR      NZ, 00000H0000FH  LD      A, 00AH00011H  OUT     (001H), A00013H  JR      00000H00015H  OUT     (002H), A00017H  HALT

Hardware Software

# config.rbModule MySystem class Apache2 < WebServer def start_up exec(‘apache2ctl restart’) end …(snip)… end class MySQL < Database …(snip)… endend

Networked Hardware Networked Software

A computer is controlled by software

Networked computers can also be controlled by software.

This is “Wakame.”

Page 6: Lightning Talk Wakame on 9 April 2009

“Wakame” Provides Dynamic Configuration Management

Load Balancer

Web Serve

r

DB

Server

Initial

Load Balancer

Web Serve

r

DBServe

r

(1) Get an Instancefrom Amazon EC2

Load Balancer

Web Serve

r

DBServe

r

Web Serve

r

(2) Start Service Up

Load Balancer

Web Serve

r

DBServe

r

Web Serve

r

(3) Configure

The Wakame takes all care in a few minutes!

Page 7: Lightning Talk Wakame on 9 April 2009

Amazon EC2

Amazon S3

AmazonMachineImage

Wakame is the Master-Agent Architecture (1/7)

Master

Agent

Server + XenOther

s(Web+DB+etc.)

Server + XenVirtual Machine

Amazon Web ServicesStart instance up

Wakame

Page 8: Lightning Talk Wakame on 9 April 2009

Amazon EC2

Amazon S3

AmazonMachineInstance

Start an Instance Up (2/7)

Master

Agent

Server + XenOther

s(Web+DB+etc.)

Server + XenVirtual Machine

Amazon Web Services

AmazonMachine Image

Master

Agent

Others

(Web+DB+etc.)

Start an Instance Up

Page 9: Lightning Talk Wakame on 9 April 2009

Amazon EC2

Storage

Machine Image

File

Wakame Acts as init.d (3/7)

Master

Agent

Server + XenOther

s(Web+DB+etc.)

Server + XenVirtual Machine

Amazon Web Services

AmazonMachine Image

Master

Agent

Others

(Web+DB+etc.)

Asks to start services up

Makes services running

Page 10: Lightning Talk Wakame on 9 April 2009

Amazon EC2

Amazon S3

Amazon Machine Image

Trigger to Scale (4/7)

Master

Agent

Server + XenOther

s(Web+DB+etc.)

Server + XenVirtual Machine

Amazon Web Services

AmazonMachine Image

Master

Agent

Others

(Web+DB+etc.)

Sets scale-out algorithm

Page 11: Lightning Talk Wakame on 9 April 2009

Amazon EC2

Amazon S3

AmazonMachine Image

Wakame Gets a New Instance. (5/7)

Master

Agent

Server + XenOther

s(Web+DB+etc.)

Server + XenVirtual Machine

Amazon Web Services

AmazonMachine Image

Master

Agent

Others

(Web+DB+etc.)

Requests a new instance

Page 12: Lightning Talk Wakame on 9 April 2009

Amazon EC2

Amazon S3

AmazonMachine Image

New Instance Has Come! (6/7)

Master

Agent

Server + XenOther

s(Web+DB+etc.)

Server + XenVirtual Machine

Amazon Web Services

AmazonMachine Image

Master

Agent

Others

(Web+DB+etc.)

AmazonMachine Image

Master

Agent

Others

(Web+DB+etc.)

Starts an instance up

Page 13: Lightning Talk Wakame on 9 April 2009

Amazon EC2

Amazon S3

AmazonMachine Image

Wakame Configures New Instance. (7/7)

Master

Agent

Server + XenOther

s(Web+DB+etc.)

Server + XenVirtual Machine

Amazon Web Services

AmazonMachine Image

Master

Agent

Others

(Web+DB+etc.)

AmazonMachine Image

Master

Agent

Others

(Web+DB+etc.)

Asks to start services up

Makes services running

Auto scaling!

Page 14: Lightning Talk Wakame on 9 April 2009

Have fun!• 2009/04/22 Release–@RubyForge–License under Ruby License

• Testers are now wanted!–Email me ([email protected])

Page 15: Lightning Talk Wakame on 9 April 2009

Distribution Technology GroupYamazaki Yasuhiro ([email protected])Fujiwara Masahiro ([email protected])Yoshida Masahito ([email protected])Mikami Satoru ([email protected])