Upgrade to Pro — share decks privately, control downloads, hide ads and more …

プロ生勉強会 第19回@品川

プロ生勉強会 第19回@品川

Kohei YOSHIDA

December 22, 2012
Tweet

More Decks by Kohei YOSHIDA

Other Decks in Programming

Transcript

  1. ͓લɺ୭Αʁ • PyCon JP 2012 εϐʔΧʔ • PyCon JP 2012

    ӡӦελοϑ • CombConf ӡӦνʔϜΘ͘Θ͘Τϯδ χΞ 4 12೥12݄22೔౔༵೔
  2. ࠓ೔ͷ͋͐͡Μͩ • VPS ͱ͸ʁ • VPSΛࢧ͑Δٕज़ • KVM / QEMU

    • libvirt • σϞ 8 12೥12݄22೔౔༵೔
  3. ,7.2&.6 • ࠓճ͸KVM Λ࠾༻ • Kernel based Virtual Machine •

    Linux Kernel ʹ૊Έࠐ·ΕͨԾ૝Խج ൫ • ׬શԾ૝ԽΛ࣮ݱ, ͘͞ΒVPS Ͱ΋࠾༻ 13 12೥12݄22೔౔༵೔
  4. ,7.2&.6 • KVM • σόΠεͷΤϛϡϨʔγϣϯ͸͠ͳ͍ • /dev/kvm ΠϯλʔϑΣʔεΛఏڙ • QEMU

    • /dev/kvm Λհͯ͠Ծ૝Ϛγϯͷσ όΠεΛΤϛϡϨʔτ 15 12೥12݄22೔౔༵೔
  5. ,7.2&.6 Linux Kernel ෺ཧϚγϯ KVM (/dev/kvm) VPS QEMU VPS QEMU

    VPS QEMU VPS QEMU OS OS OS OS 16 12೥12݄22೔౔༵೔
  6. ,7.2&.6 • ༨ஊ…… • 12݄3೔ɺQEMU 1.3͕ϦϦʔε • 6೥લʹKVM Λαϙʔτ͢ΔͨΊʹ fork

    ͞Εͨqemu-kvm ͕QEMU ʹϚ ʔδ͞Εͨ • ͍ͭʹʂ΍ͬͨͶʂ 17 12೥12݄22೔౔༵೔
  7. MJCWJSU • QEMU Λૢ࡞͢ΔͨΊͷAPI • QEMU ͚ͩ͡Όͳͯ͘ɺXen ΍ VirtualBox ·Ͱ*ڞ௨ͷΠϯλʔϑΣ

    ʔε*Ͱѻ͑Δ༏Ε΋ͷ • جຊ͸C ͱC++ Λαϙʔτ • ଞͷෳ਺ͷݴޠʹόΠϯσΟϯά 19 12೥12݄22೔౔༵೔
  8. MJCWJSU • VPSఆٛ / VPSഁغ • VPSిݯૢ࡞ • ετϨʔδૢ࡞ •

    ωοτϫʔΫૢ࡞ etc... • → VPS Λӡ༻͢Δ্Ͱඞཁͳ͢΂ͯ 21 12೥12݄22೔౔༵೔