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
140
非コンテナ環境において宣言的Deploymentを手軽に実現する / Declarative deployment in non-container environments
linyows
0
30
メール送信サーバの集約における透過型SMTP プロキシの定量評価 / Quantitative Evaluation of Transparent SMTP Proxy in Email Sending Server Aggregation
linyows
0
490
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
270
研究の再現性を高める 仕組みをGoでつくる / Creating a system to improve the reproducibility of research using go
linyows
1
140
奥が深いメールのシステム / The depth of Email system
linyows
4
460
IaCにおけるテスト考察 / Tests in IaC
linyows
2
490
リバースエンジニアリングとGoでSlackの認知負荷を下げる / Reducing cognitive load in Slack with Reverse-engineering and Go
linyows
2
300
透過型SMTPプロキシによる送信メールの可観測性向上 / Improved observability of outgoing emails with transparent smtp proxy
linyows
2
1k
Other Decks in Programming
See All in Programming
Kaigi on Railsに初参加したら、その日にLT登壇が決定した件について
tama50505
0
110
Zoneless Testing
rainerhahnekamp
0
120
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
ドメインイベント増えすぎ問題
h0r15h0
2
430
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
3
490
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
330
Jakarta EE meets AI
ivargrimstad
0
280
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
3
770
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
180
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
510
iOS開発におけるCopilot For XcodeとCode Completion / copilot for xcode
fuyan777
1
110
AppRouterを用いた大規模サービス開発におけるディレクトリ構成の変遷と問題点
eiganken
1
160
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
73
9.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
530
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Faster Mobile Websites
deanohume
305
30k
Git: the NoSQL Database
bkeepers
PRO
427
64k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Designing Experiences People Love
moore
138
23k
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Φϓγϣϯ
͓ΘΓ