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
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
230
研究の再現性を高める 仕組みをGoでつくる / Creating a system to improve the reproducibility of research using go
linyows
1
120
奥が深いメールのシステム / The depth of Email system
linyows
3
430
IaCにおけるテスト考察 / Tests in IaC
linyows
2
440
リバースエンジニアリングとGoでSlackの認知負荷を下げる / Reducing cognitive load in Slack with Reverse-engineering and Go
linyows
2
280
透過型SMTPプロキシによる送信メールの可観測性向上 / Improved observability of outgoing emails with transparent smtp proxy
linyows
2
970
プロダクションで使うGo Pluginの利便性とパフォーマンス性 / Simplicity and Performance of Go plugin for Production
linyows
0
520
求められるソフトウェアエンジニア像とキャリア戦略 / Engineers and Career Strategies Required Now
linyows
2
480
CloudflareのCAPTCHAを使って ユーザ体験を下げず不正利用を排除する / Cloudflare's captcha case study that does not degrade ux
linyows
0
360
Other Decks in Programming
See All in Programming
Welcome JSConf.jp 2024
yosuke_furukawa
PRO
0
1.2k
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
490
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
2k
Better Code Design in PHP
afilina
PRO
0
130
Remix on Hono on Cloudflare Workers
yusukebe
1
320
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
350
カンファレンスの「アレ」Webでなんとかしませんか? / Conference “thing” Why don't you do something about it on the Web?
dero1to
1
130
初めてDefinitelyTypedにPRを出した話
syumai
0
440
Jakarta EE meets AI
ivargrimstad
0
420
Modular Monolith Monorepo ~シンプルさを保ちながらmonorepoのメリットを最大化する~
yuisakamoto
9
1.8k
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
50
7.2k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Docker and Python
trallard
40
3.1k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Embracing the Ebb and Flow
colly
84
4.5k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Agile that works and the tools we love
rasmusluckow
327
21k
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Φϓγϣϯ
͓ΘΓ