Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Ansibleのご紹介
Search
Livesense Inc.
PRO
February 04, 2015
88
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ansibleのご紹介
2015/02/04 (水) @Livesense TechLunch
発表者 : 福井隆生
Livesense Inc.
PRO
February 04, 2015
More Decks by Livesense Inc.
See All by Livesense Inc.
Rubyはただの⾔語に⾮ず
livesense
PRO
0
570
28新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
130
27新卒_総合職採用_会社説明資料
livesense
PRO
0
7.3k
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
12k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
590
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
1
1.8k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
700
26新卒_総合職採用_会社説明資料
livesense
PRO
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
2
75k
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
Utilizing Notion as your number one productivity tool
mfonobong
4
610
RailsConf 2023
tenderlove
30
1.6k
The Limits of Empathy - UXLibs8
cassininazir
1
700
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
How to Talk to Developers About Accessibility
jct
2
560
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Done Done
chrislema
187
17k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
560
Building the Perfect Custom Keyboard
takai
2
890
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
Code Review Best Practice
trishagee
74
20k
Transcript
Copyright © LIVESENSE Inc. Ҫ ོੜ Ansibleͷ͝հ
ࣗݾհ Ҫོੜ झຯɿ Իήʔ(࠷ۙSDVX) ۚ༥औҾ(גͱ͔FXͱ͔) ITܥษڧձ http://node-setagaya.connpass.com/ ΠϯϑϥετϥΫνϟʔάϧʔϓॴଐ Fukui Takao
n Ansibleͱ n Ansibleͷಛ n ଞπʔϧͱͷൺֱ n ίϯϑΟΪϡϨʔγϣϯσϞ n ΦʔέετϨʔγϣϯར༻ྫ
͘͡
Ø ίϯϑΟΪϡϨʔγϣϯ Ø αʔόͷߏΛదʹཧ͠ɺҡ࣋͢Δ Ø Πϯετʔϧ͢ΔιϑτΣΞ Ø ઃఆϑΝΠϧ Ø ΦʔέετϨʔγϣϯ
Ø ίϚϯυ࣮ߦ݁ՌΛऔಘ Ø ҙͷίϚϯυΛ͍ͭͰෳͷαʔόʹ࣮ߦՄೳ Ansibleͱ γϯϓϧͳίϯϑΟΪϡϨʔγϣϯٴͼΦʔέετϨʔγϣϯπʔϧ コンフィギュレーション 構成管理、ミドルウェアまでの設定 オーケストレーション 個別のシステムをひとつのサービス として協調動作させる(デプロイ含む) ͜ͷεϥΠυʹ͓͚Δݴ༿ͷΠϝʔδ
Ansibleͷಛ Ø ࣮ߦରαʔόجຊతʹssh͕ಈ͍͍ͯΕOK Ø ΤʔδΣϯτϨεͰಈ࡞ Ø ౿ΈΛܦ༝ͯ͠ͷଓՄೳ Ø SSH伴ೝূΛར༻ͨ͠ଓՄೳ Ø
ಈ࡞ॱং͕͔Γ͍͢ Ø Ϣʔβ͕هड़ͨ͠ॱʹ্͔ΒԼͱಈ࡞͢Δ Ø طଘࢿ࢈Λ׆͔ͤΔ Ø طଘͷγΣϧεΫϦϓτࢿ࢈ͦͷ··ෳʹద༻Ͱ͖Δ Ø ϓϩάϥϚͰͳ͍͍ͯ͘͢ Ø AnsiblePythonͰ࣮͞Ε͍ͯΔ͕PythonΛॻ͘ඞཁແ͍ Ø YAMLܗࣜͰઃఆϑΝΠϧΛॻ͘ײ͡Ͱར༻Ͱ͖Δ
Ansibleͷಛ Ø γϯϓϧͰ͋Δ Ø Ansible 5ͭͷσβΠϯͷࢦ Ø Simply Clear (͔Γ͍͢)
Ø Simply Fast (शಘΠϯετʔϧ͍) Ø Simply Complete (શ෦උ͍͑ͯΔͷͰ͙͑Δ) Ø Simply Efficient (sshޮత) Ø Simply Secure (ssh҆શ) Ø Better Shell Script Ø Shll ScriptͷΑ͏ʹΓ͍ͨࣄΛͦͷ··هड़Ͱ͖Δखܰ͞
ଞπʔϧͱͷൺֱ 対応に必要 記述方式 主な用途 Chef エージェント Ruby コンフィギュレーション Puppet エージェント
独自DSL コンフィギュレーション Capistrano ssh Ruby オーケストレーション Fabric ssh Python オーケストレーション、 コンフィギュレーション Ansible ssh YAML オーケストレーション、 コンフィギュレーション ※Fabricͷ͖ੑcuisineΛ༻͍ͯอূ
ίϯϑΟΪϡϨʔγϣϯσϞ vagrant-digitaloceanΛར༻ͯ͠DigitalOceanͰCentOS7Λىಈ͍ͨ͠(Qiita) ※ࢿΨΠυϥΠϯͷʮαʔϏεݕূʯΛݩʹ ΞΧϯτΛ࡞͠ɺར༻͍͍͍ͤͯͨͩͯ͞·͢m(_ _)m ύϒϦοΫΫϥυͷCentOSʹରͯ͠ίϯϑΟΪϡϨʔγϣϯΛ࣮ࢪ͠·͢ • IPv6ແޮԽ • RootͰͷsshϩάΠϯෆՄઃఆ
ڥߏஙํ๏ҎԼΛࢀর͍ͩ͘͞ɻ
ΦʔέετϨʔγϣϯར༻ྫ 20150129 glibcͷgethostbynameؔʹଘࡏ͢Δ CVE-2015-0235(GHOST)੬ऑੑରԠखॱ (yum update·Ͱ)
͋ͨΓ·͑Λɺൃ໌͠Α͏ɻ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ