Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The meaning of using Packer
Search
linyows
July 04, 2015
Programming
1
3.2k
The meaning of using Packer
linyows
July 04, 2015
Tweet
Share
More Decks by linyows
See All by linyows
研究を支える拡張性の高い ワークフローツールの提案 / Proposal of highly expandable workflow tools to support research
linyows
0
310
非コンテナ環境において宣言的Deploymentを手軽に実現する / Declarative deployment in non-container environments
linyows
0
71
メール送信サーバの集約における透過型SMTP プロキシの定量評価 / Quantitative Evaluation of Transparent SMTP Proxy in Email Sending Server Aggregation
linyows
0
670
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
330
研究の再現性を高める 仕組みをGoでつくる / Creating a system to improve the reproducibility of research using go
linyows
1
170
奥が深いメールのシステム / The depth of Email system
linyows
4
490
IaCにおけるテスト考察 / Tests in IaC
linyows
2
560
リバースエンジニアリングとGoでSlackの認知負荷を下げる / Reducing cognitive load in Slack with Reverse-engineering and Go
linyows
2
340
透過型SMTPプロキシによる送信メールの可観測性向上 / Improved observability of outgoing emails with transparent smtp proxy
linyows
2
1.1k
Other Decks in Programming
See All in Programming
ソフトウェアエンジニアの成長
masuda220
PRO
12
2k
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
690
GitHub Actions × RAGでコードレビューの検証の結果
sho_000
0
280
Writing documentation can be fun with plugin system
okuramasafumi
0
120
バッチを作らなきゃとなったときに考えること
irof
1
430
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
180
『品質』という言葉が嫌いな理由
korimu
0
180
楽しく向き合う例外対応
okutsu
0
520
SwiftUI Viewの責務分離
elmetal
PRO
2
250
Grafana Cloudとソラカメ
devoc
0
180
Code smarter, not harder - How AI Coding Tools Boost Your Productivity | Angular Meetup Berlin
danielsogl
0
100
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
760
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
Being A Developer After 40
akosma
89
590k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Music & Morning Musume
bryan
46
6.4k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Producing Creativity
orderedlist
PRO
344
39k
BBQ
matthewcrist
87
9.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
630
Designing for Performance
lara
604
68k
Embracing the Ebb and Flow
colly
84
4.6k
Code Reviewing Like a Champion
maltzj
521
39k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Transcript
ύΧοͱαʔό !MJOZPXT QFQBCPUFDIDPO
͜Μʹͪ 1BDLFS৬ਓͰ͢ 5PNPIJTB0EB!MJOZPXT
None
։ൃڥͲ͏͍ͯ͠·͔͢ʁ
None
+
ຊ൪ͱ։ൃڥ͕ҟͳΔ
ຊ൪ڥΛςετ͍ͨ͠
ࠓ͋Δ1VQQFUࢿ࢈Ͱ %PDLFSίϯςφ࡞Γ͍ͨ
ΠϝʔδΛ͔̍Β࡞Γ͍ͨΜʂʂʂ̍
https://packer.io/
ϚγϯΠϝʔδ࡞ΛࣗಈԽ͢Δͷ
“Packer is a tool for creating machine and container images
for multiple platforms from a single source configuration.
packer-template.json Amazon EC2 Virtualbox Docker Openstack QEMUʢKVM Xenʣ
"840QFO4UBDL
via Provisioning Toolchain / Lee Thompson
CPPUTUSBQͱDPOpHVSBUJPOͷ ྆ํͷ໘Λݟͯ͘ΕΔ
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
{ "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
࡞ͬͨΠϝʔδͷςετ w QSPWJTJPOʹTFSWFSTQFDͷςετΛೖΕ͓ͯ͘ w ࠷ޙʹͦͷςετΛྲྀ͢ w ςετ͕௨ͬͨΒςετؔ࿈ͷϑΝΠϧআͯ͠͠·͏
࡞ͬͨΠϝʔδʹରͯ͠Կ͔Λߦ͍͍ͨ w QMVHJOΛॻ͘ w QBDLFSQPTUQSPDFTTPSTIFMMΛ͏
ඍົͳͱ͜Ζ EPDLFSͷΑ͏ʹ్தͷόʔδϣϯ͕ Βͳ͍ͷͰ ϏϧυΓ͠ʹ͕͔͔࣌ؒΔʂʂʂʂ
Πϯετʔϧதɺ ਐ͕ετοϓ͢Δ
!
ΠϯετʔϧɾϓϩϏδϣχϯά ͕͔͔࣌ؒΔ
IUUQTHJUIVCDPN SPTZMJMMZQQSPDFTT͕ศར
·ͱΊ w Թ͔Έͷ͋Δ࡞ۀ͕ෆཁʹͳΔ w ϚγϯΠϝʔδ࡞ΛҰݩཧ͢Δ͜ͱͰָͰ͖Δ w όʔδϣϯཧͰ͖Δ w ϓϥοτϑΥʔϜ͕ҧͬͯΠϯελϯε͕΄΅ಉҰͰ͋Δ͜ͱΛ ୲อͰ͖Δ
ઌϦϦʔε͞ΕͨW w 8JOEPXT".* w 0QFO4UBDLW w 'JMFQSPWJTJPOFSʹEPXOMPBEΦϓγϣϯ
͓ΘΓ