• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Beccoame Ver0.1
 

Beccoame Ver0.1

on

  • 2,403 views

 

Statistics

Views

Total Views
2,403
Views on SlideShare
1,865
Embed Views
538

Actions

Likes
1
Downloads
1
Comments
0

2 Embeds 538

http://blog.fusic.co.jp 535
http://webcache.googleusercontent.com 3

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

    Beccoame Ver0.1 Beccoame Ver0.1 Presentation Transcript

    • Beccoame Ver0.1 tag: Tatsumaki, Sys::Virt 24/07/2010 Satoshi Hirata Copyright © Fusic Co., Ltd. All rights reserved.
    • 0. About me Copyright © Fusic Co., Ltd. All rights reserved. 2
    • 0. About me Satoshi Hirata Copyright © Fusic Co., Ltd. All rights reserved. 3
    • 0. About me Satoshi Hirata Company: Fusic Co., Ltd. Copyright © Fusic Co., Ltd. All rights reserved. 4
    • 0. About me Satoshi Hirata Company: Fusic Co., Ltd. Skill: Program/Server/Network, Copyright © Fusic Co., Ltd. All rights reserved. 5
    • 0. About me Satoshi Hirata Company: Fusic Co., Ltd. Skill: Program/Server/Network, and “Nomikai” Copyright © Fusic Co., Ltd. All rights reserved. 6
    • 0. About me Satoshi Hirata Company: Fusic Co., Ltd. Skill: Program/Server/Network, and “Nomikai” Twitter: http://twitter.com/debility Copyright © Fusic Co., Ltd. All rights reserved. 7
    • 0. About me Satoshi Hirata Company: Fusic Co., Ltd. Skill: Program/Server/Network, and “Nomikai” Twitter: http://twitter.com/debility Icon: © Mutsuking Copyright © Fusic Co., Ltd. All rights reserved. 8
    • 1. What is “Beccoame”? Copyright © Fusic Co., Ltd. All rights reserved. 9
    • 1. What is “Beccoame”? Beccoame Copyright © Fusic Co., Ltd. All rights reserved. 10
    • 1. What is “Beccoame”? Beccoame ≠ BEKKOAME INTERNET Copyright © Fusic Co., Ltd. All rights reserved. 11
    • 1. What is “Beccoame”? Beccoame = Bogus elastic computing, like Amazon EC2 or Eucalyptus Copyright © Fusic Co., Ltd. All rights reserved. 12
    • 1. What is “Beccoame”? Beccoame = Bogus elastic computing, like Amazon EC2 or Eucalyptus Copyright © Fusic Co., Ltd. All rights reserved. 13
    • 1. What is “Beccoame”? Beccoame = Bogus elastic computing, like Amazon EC2 or Eucalyptus important! Copyright © Fusic Co., Ltd. All rights reserved. 14
    • 2. Outline Copyright © Fusic Co., Ltd. All rights reserved. 15
    • 2. Outline Amazon EC2 Copyright © Fusic Co., Ltd. All rights reserved. 16
    • 2. Outline Amazon EC2 ----- quote from official site ----- Copyright © Fusic Co., Ltd. All rights reserved. 17
    • 2. Outline Amazon EC2 ----- quote from official site ----- Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers. ----- unquote ----- Copyright © Fusic Co., Ltd. All rights reserved. 18
    • 2. Outline Eucalyptus Copyright © Fusic Co., Ltd. All rights reserved. 19
    • 2. Outline Eucalyptus [Elastic Utility Computing Archtecture for Linking Your Programs To Useful Systems] Copyright © Fusic Co., Ltd. All rights reserved. 20
    • 2. Outline Eucalyptus [Elastic Utility Computing Archtecture for Linking Your Programs To Useful Systems] Open source elastic computing platform. Copyright © Fusic Co., Ltd. All rights reserved. 21
    • 2. Outline Eucalyptus [Elastic Utility Computing Archtecture for Linking Your Programs To Useful Systems] Open source elastic computing platform. Eucalyptus is interface-compatible with the Amazon Web Services (AWS). Copyright © Fusic Co., Ltd. All rights reserved. 22
    • 2. Outline Beccoame Copyright © Fusic Co., Ltd. All rights reserved. 23
    • 2. Outline Beccoame “Ore-ore” elastic computing software. Copyright © Fusic Co., Ltd. All rights reserved. 24
    • 2. Outline Beccoame “Ore-ore” elastic computing software. Beccoame is a little bit compatible with Amazon EC2 or Eucalyptus. Copyright © Fusic Co., Ltd. All rights reserved. 25
    • 2. Outline Beccoame “Ore-ore” elastic computing software. Beccoame is a little bit compatible with Amazon EC2 or Eucalyptus. Copyright © Fusic Co., Ltd. All rights reserved. 26
    • 2. Outline Beccoame “Ore-ore” elastic computing software. Beccoame is a little bit compatible with Amazon EC2 or Eucalyptus. unofficial. only for my study. Copyright © Fusic Co., Ltd. All rights reserved. 27
    • 2. Outline Beccoame “Ore-ore” elastic computing software. Beccoame is a little bit compatible with Amazon EC2 or Eucalyptus. Copyright © Fusic Co., Ltd. All rights reserved. 28
    • 2. Outline Beccoame “Ore-ore” elastic computing software. Beccoame is a little bit compatible with Amazon EC2 or Eucalyptus. only 3 actions = run, terminate, describe Copyright © Fusic Co., Ltd. All rights reserved. 29
    • 3. tag: Tatsumaki Copyright © Fusic Co., Ltd. All rights reserved. 30
    • 3. tag: Tatsumaki Tatsumaki Copyright © Fusic Co., Ltd. All rights reserved. 31
    • 3. tag: Tatsumaki Tatsumaki Before that, Copyright © Fusic Co., Ltd. All rights reserved. 32
    • 3. tag: Tatsumaki PSGI/Plack Copyright © Fusic Co., Ltd. All rights reserved. 33
    • 3. tag: Tatsumaki PSGI/Plack PSGI is an interface between Perl web applications and web servers, and Plack is a Perl module and toolkit that contains PSGI middleware, helpers and adapters to web servers. Copyright © Fusic Co., Ltd. All rights reserved. 34
    • 3. tag: Tatsumaki PSGI/Plack PSGI is an interface between Perl web applications and web servers, and Plack is a Perl module and toolkit that contains PSGI middleware, helpers and adapters to web servers. PSGI and Plack are inspired by Python's WSGI and Ruby's Rack. Copyright © Fusic Co., Ltd. All rights reserved. 35
    • 3. tag: Tatsumaki Learn PSGI/Plack reading: WEB+DB Press vol.55 Copyright © Fusic Co., Ltd. All rights reserved. 36
    • 3. tag: Tatsumaki Tatsumaki Copyright © Fusic Co., Ltd. All rights reserved. 37
    • 3. tag: Tatsumaki Tatsumaki ----- quote from README ----- Copyright © Fusic Co., Ltd. All rights reserved. 38
    • 3. tag: Tatsumaki Tatsumaki ----- quote from README ----- Tatsumaki is a toy port of Tornado for Perl using Plack (with non-blocking extensions) and AnyEvent. ----- unquote ----- Copyright © Fusic Co., Ltd. All rights reserved. 39
    • 3. tag: Tatsumaki Tatsumaki ----- quote from README ----- Tatsumaki is a toy port of Tornado for Perl using Plack (with non-blocking extensions) and AnyEvent. ----- unquote ----- Author: Tatsuhiko Miyagawa Copyright © Fusic Co., Ltd. All rights reserved. 40
    • 3. tag: Tatsumaki Tatsumaki ----- quote from README ----- Tatsumaki is a toy port of Tornado for Perl using Plack (with non-blocking extensions) and AnyEvent. ----- unquote ----- Author: Tatsuhiko Miyagawa # I’m very sorrry for Unauthorized borrowing. Copyright © Fusic Co., Ltd. All rights reserved. 41
    • 3. tag: Tatsumaki Tatsumaki ----- quote from README: TATSUMAKI? ----- Copyright © Fusic Co., Ltd. All rights reserved. 42
    • 3. tag: Tatsumaki Tatsumaki ----- quote from README: TATSUMAKI? ----- Tatsumaki is a Japanese for Tornado. Also, it might sound familiar from "Tatsumaki Senpuukyaku" of Ryu from Street Fighter II if you loved the Capcom videogame back in the day :) ----- unquote ----- Copyright © Fusic Co., Ltd. All rights reserved. 43
    • 3. tag: Tatsumaki Tatsumaki ----- quote from README: TATSUMAKI? ----- Tatsumaki is a Japanese for Tornado. Also, it might sound familiar from "Tatsumaki Senpuukyaku" of Ryu from Street Fighter II if you loved the Capcom videogame back in the day :) ----- unquote ----- Copyright © Fusic Co., Ltd. All rights reserved. 44
    • 3. tag: Tatsumaki Tatsumaki usage use strict; use warnings; use Tatsumaki::Error; use Tatsumaki::Application; package MainHandler; use parent qw(Tatsumaki::Handler); sub get { my $self = shift; $self->write("Hello World.¥n”); } Copyright © Fusic Co., Ltd. All rights reserved. 45
    • 3. tag: Tatsumaki Tatsumaki usage package main; my $app = Tatsumaki::Application->new([ '/' => 'MainHandler', ]); return $app; Copyright © Fusic Co., Ltd. All rights reserved. 46
    • 3. tag: Tatsumaki Tatsumaki usage package main; my $app = Tatsumaki::Application->new([ '/' => 'MainHandler', ]); return $app; ----- :wq ----- $ Copyright © Fusic Co., Ltd. All rights reserved. 47
    • 3. tag: Tatsumaki Tatsumaki usage package main; my $app = Tatsumaki::Application->new([ '/' => 'MainHandler', ]); return $app; ----- :wq ----- $ plackup & Twiggy: Accepting connections at http://0.0.0.0:5000/ Copyright © Fusic Co., Ltd. All rights reserved. 48
    • 3. tag: Tatsumaki Tatsumaki usage $ curl http://localhost:5000/ Hello, World. Copyright © Fusic Co., Ltd. All rights reserved. 49
    • 3. tag: Tatsumaki Tatsumaki usage $ curl http://localhost:5000/ Hello, World. $ :-) Copyright © Fusic Co., Ltd. All rights reserved. 50
    • 3. tag: Tatsumaki learn Tatsumaki WEB+DB press vol.55 http://github.com/miyagawa/Tatsumaki http://d.hatena.ne.jp/punitan/20100325/1269483016 http://www.omakase.org/perl/tatsumaki_niconico.html etcetc ... (google with “Tatsumaki” and “Perl”) Copyright © Fusic Co., Ltd. All rights reserved. 51
    • 4. tag: Sys::Virt Copyright © Fusic Co., Ltd. All rights reserved. 52
    • 4. tag: Sys::Virt Sys::Virt Copyright © Fusic Co., Ltd. All rights reserved. 53
    • 4. tag: Sys::Virt Sys::Virt Before that, Copyright © Fusic Co., Ltd. All rights reserved. 54
    • 4. tag: Sys::Virt KVM Copyright © Fusic Co., Ltd. All rights reserved. 55
    • 4. tag: Sys::Virt KVM Kernel-based Virtualization Machine. Copyright © Fusic Co., Ltd. All rights reserved. 56
    • 4. tag: Sys::Virt KVM Kernel-based Virtualization Machine. Using KVM, one can run multiple virtual machines running unmodified Linux or Windows images. Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc. Copyright © Fusic Co., Ltd. All rights reserved. 57
    • 4. tag: Sys::Virt libvirt Copyright © Fusic Co., Ltd. All rights reserved. 58
    • 4. tag: Sys::Virt libvirt A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). Copyright © Fusic Co., Ltd. All rights reserved. 59
    • 4. tag: Sys::Virt libvirt A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). # Not only for KVM, it is for other virtualization software (Xen, ESXi, ...) . Copyright © Fusic Co., Ltd. All rights reserved. 60
    • 4. tag: Sys::Virt Sys::Virt Copyright © Fusic Co., Ltd. All rights reserved. 61
    • 4. tag: Sys::Virt Sys::Virt libvirt binding for Perl Copyright © Fusic Co., Ltd. All rights reserved. 62
    • 4. tag: Sys::Virt Sys::Virt libvirt binding for Perl # There are other language bindings. # see: http://libvirt.org/bindings.html Copyright © Fusic Co., Ltd. All rights reserved. 63
    • 4. tag: Sys::Virt Sys::Virt usage use strict; use warnings; use Sys::Virt; my $addr = ‘qemu:///system’; my $vmm = Sys::Virt->new(address => $addr); my @domains = $vmm->list_domains(); foreach my $dom (@domains) { print "Domain ", $dom->get_id, " ", $dom->get_name, "¥n"; } Copyright © Fusic Co., Ltd. All rights reserved. 64
    • 4. tag: Sys::Virt Sys::Virt usage ----- :wq ----- $ Copyright © Fusic Co., Ltd. All rights reserved. 65
    • 4. tag: Sys::Virt Sys::Virt usage ----- :wq ----- $ perl sys_virt.pl Domain 0 ubuntu-lucid Domain 1 centos Domain 2 ubuntu-carmic Copyright © Fusic Co., Ltd. All rights reserved. 66
    • 4. tag: Sys::Virt Sys::Virt usage ----- :wq ----- $ perl sys_virt.pl Domain 0 ubuntu-lucid Domain 1 centos Domain 2 ubuntu-carmic $ :-) Copyright © Fusic Co., Ltd. All rights reserved. 67
    • 5. demo: Beccoame Copyright © Fusic Co., Ltd. All rights reserved. 68
    • 5. demo: Beccoame Beccoame working image Copyright © Fusic Co., Ltd. All rights reserved. 69
    • 5. demo: Beccoame Demo 3 actions. 1. Run Instances Copyright © Fusic Co., Ltd. All rights reserved. 70
    • 5. demo: Beccoame Demo 3 actions. 1. Run Instances 2. Describe Instances Copyright © Fusic Co., Ltd. All rights reserved. 71
    • 5. demo: Beccoame Demo 3 actions. 1. Run Instances 2. Describe Instances 3. Terminate Instance Copyright © Fusic Co., Ltd. All rights reserved. 72
    • 6. next: Beccoame Copyright © Fusic Co., Ltd. All rights reserved. 73
    • 6. next: Beccoame ・ asynchronous processing Copyright © Fusic Co., Ltd. All rights reserved. 74
    • 6. next: Beccoame ・ asynchronous processing ・ more actions Copyright © Fusic Co., Ltd. All rights reserved. 75
    • 6. next: Beccoame ・ asynchronous processing ・ more actions ・ more compatible Copyright © Fusic Co., Ltd. All rights reserved. 76
    • 6. next: Beccoame ・ asynchronous processing ・ more actions ・ more compatible ・ error handling Copyright © Fusic Co., Ltd. All rights reserved. 77
    • 7. CM Copyright © Fusic Co., Ltd. All rights reserved. 78
    • 7. CM Today’s presentation is on . Copyright © Fusic Co., Ltd. All rights reserved. 79
    • 7. CM Today’s presentation is on . ZENPRE(Beta): Web-based presentation application http://zenpre.net/ Copyright © Fusic Co., Ltd. All rights reserved. 80
    • 7. CM Today’s presentation is on . ZENPRE(Beta): Web-based presentation application http://zenpre.net/ 08/02/2010 Official Release Copyright © Fusic Co., Ltd. All rights reserved. 81
    • 7. CM Today’s presentation is on . ZENPRE(Beta): Web-based presentation application http://zenpre.net/ 08/02/2010 Official Release And today I use iPhone App for ZENPRE. Copyright © Fusic Co., Ltd. All rights reserved. 82
    • Enjoy! Copyright © Fusic Co., Ltd. All rights reserved. 83