Slide 1

Slide 1 text

ύΧοͱαʔό !MJOZPXT QFQBCPUFDIDPO

Slide 2

Slide 2 text

͜Μʹͪ͸ 1BDLFS৬ਓͰ͢ 5PNPIJTB0EB!MJOZPXT

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

։ൃ؀ڥ͸Ͳ͏͍ͯ͠·͔͢ʁ

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

+

Slide 7

Slide 7 text

ຊ൪ͱ։ൃ؀ڥ͕ҟͳΔ

Slide 8

Slide 8 text

ຊ൪؀ڥΛςετ͍ͨ͠

Slide 9

Slide 9 text

ࠓ͋Δ1VQQFUࢿ࢈Ͱ %PDLFSίϯςφ࡞Γ͍ͨ

Slide 10

Slide 10 text

ΠϝʔδΛ͔̍Β࡞Γ͍ͨΜ΍ʂʂʂ̍

Slide 11

Slide 11 text

https://packer.io/

Slide 12

Slide 12 text

ϚγϯΠϝʔδ࡞੒ΛࣗಈԽ͢Δ΋ͷ

Slide 13

Slide 13 text

“Packer is a tool for creating machine and container images for multiple platforms from a single source configuration.

Slide 14

Slide 14 text

packer-template.json Amazon EC2 Virtualbox Docker Openstack QEMUʢKVM Xenʣ

Slide 15

Slide 15 text

"840QFO4UBDL

Slide 16

Slide 16 text

via Provisioning Toolchain / Lee Thompson

Slide 17

Slide 17 text

CPPUTUSBQͱDPOpHVSBUJPOͷ ྆ํͷ໘౗Λݟͯ͘ΕΔ

Slide 18

Slide 18 text

w "84&$BNJ w %JHJUBM0DFBO w %PDLFS w (PPHMF$PNQVUF &OHJOF w 0QFO4UBDL w 1BSBMMFMT w 2&.6 ,7.9FO w 7JSUVBM#PY w 7.8BSF

Slide 19

Slide 19 text

{ "builders": [ { "type": "amazon-ebs", "access_key": "...", "secret_key": "...", "region": "us-east-1", "source_ami": "ami-de0d9eb7", "instance_type": "t1.micro", "ssh_username": "ubuntu", "ami_name": "packer {{timestamp}}" } ], "provisioners": [ { "type": "shell", "script": "setup_things.sh" } ] } packer-template.json

Slide 20

Slide 20 text

࡞ͬͨΠϝʔδͷςετ w QSPWJTJPOʹTFSWFSTQFDͷςετΛೖΕ͓ͯ͘ w ࠷ޙʹͦͷςετΛྲྀ͢ w ςετ͕௨ͬͨΒςετؔ࿈ͷϑΝΠϧ͸࡟আͯ͠͠·͏

Slide 21

Slide 21 text

࡞ͬͨΠϝʔδʹରͯ͠Կ͔Λߦ͍͍ͨ w QMVHJOΛॻ͘ w QBDLFSQPTUQSPDFTTPSTIFMMΛ࢖͏

Slide 22

Slide 22 text

ඍົͳͱ͜Ζ EPDLFSͷΑ͏ʹ్தͷόʔδϣϯ͕ ࢒Βͳ͍ͷͰ Ϗϧυ΍Γ௚͠ʹ͕͔͔࣌ؒΔʂʂʂʂ

Slide 23

Slide 23 text

Πϯετʔϧதɺ ਐ௙͕ετοϓ͢Δ໰୊

Slide 24

Slide 24 text

!

Slide 25

Slide 25 text

ΠϯετʔϧɾϓϩϏδϣχϯά ͕͔͔࣌ؒΔ໰୊

Slide 26

Slide 26 text

IUUQTHJUIVCDPN SPTZMJMMZQQSPDFTT͕ศར

Slide 27

Slide 27 text

·ͱΊ w Թ͔Έͷ͋Δ࡞ۀ͕ෆཁʹͳΔ w ϚγϯΠϝʔδ࡞੒ΛҰݩ؅ཧ͢Δ͜ͱͰָͰ͖Δ w όʔδϣϯ؅ཧͰ͖Δ w ϓϥοτϑΥʔϜ͕ҧͬͯ΋Πϯελϯε͕΄΅ಉҰͰ͋Δ͜ͱΛ ୲อͰ͖Δ

Slide 28

Slide 28 text

ઌ೔ϦϦʔε͞ΕͨW w 8JOEPXT".* w 0QFO4UBDLW w 'JMFQSPWJTJPOFSʹEPXOMPBEΦϓγϣϯ

Slide 29

Slide 29 text

͓ΘΓ