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
Protocol Buffersの型を超えて拡張性を得る / Beyond Protocol Buffers Types Achieving Extensibility
linyows
0
110
研究開発と実装OSSと プロダクトの好循環 / A virtuous cycle of research and development implementation OSS and products
linyows
1
550
コードジェネレーターで 効率的な開発をする / Efficient development with code generators
linyows
0
340
研究を支える拡張性の高い ワークフローツールの提案 / Proposal of highly expandable workflow tools to support research
linyows
0
470
非コンテナ環境において宣言的Deploymentを手軽に実現する / Declarative deployment in non-container environments
linyows
0
270
メール送信サーバの集約における透過型SMTP プロキシの定量評価 / Quantitative Evaluation of Transparent SMTP Proxy in Email Sending Server Aggregation
linyows
0
1k
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
500
研究の再現性を高める 仕組みをGoでつくる / Creating a system to improve the reproducibility of research using go
linyows
1
260
奥が深いメールのシステム / The depth of Email system
linyows
4
630
Other Decks in Programming
See All in Programming
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
3
320
The Past, Present, and Future of Enterprise Java with ASF in the Middle
ivargrimstad
0
180
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
550
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
時間軸から考えるTerraformを使う理由と留意点
fufuhu
16
4.8k
「待たせ上手」なスケルトンスクリーン、 そのUXの裏側
teamlab
PRO
0
570
OSS開発者という働き方
andpad
5
1.7k
旅行プランAIエージェント開発の裏側
ippo012
2
930
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
2.8k
ぬるぬる動かせ! Riveでアニメーション実装🐾
kno3a87
1
230
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
870
Ruby Parser progress report 2025
yui_knk
1
460
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.2k
A Tale of Four Properties
chriscoyier
160
23k
Visualization
eitanlees
148
16k
Large-scale JavaScript Application Architecture
addyosmani
513
110k
Embracing the Ebb and Flow
colly
87
4.8k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The World Runs on Bad Software
bkeepers
PRO
70
11k
What's in a price? How to price your products and services
michaelherold
246
12k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
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Φϓγϣϯ
͓ΘΓ