Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Azure LOVE♥ OSS 〜Azure meets Terraform〜

changeworld
September 03, 2016

Azure LOVE♥ OSS 〜Azure meets Terraform〜

JAZUG 6周年総会でLTした『Azure LOVE♥ OSS 〜AzureとTerraformを連携してみた〜』

changeworld

September 03, 2016
Tweet

More Decks by changeworld

Other Decks in Technology

Transcript

  1. © 2016 Takashi Takebayashi Microsoft MVP for Visual Studio and

    Development Technologies Takashi Takebayashi(a.k.a @changeworlds) changesworlds.com Azure LOVE— OSS ʙAzureͱTerraformΛ࿈ܞͯ͠Έͨʙ JAZUG 6th Anniversary
  2. © 2016 Takashi Takebayashi Takashi Takebayashi @changeworlds Microsoft MVP for

    Visual Studio and Development Technologies Blog : http://changesworlds.com/ Role : Scrum Master, Agile Coach, Biz&Tech cross-functional paradigm Writing : Build Insider(ALM, DevOps), mynavinews(TeamDev) Community : εΫϥϜಓ, TFSUGίΞϝϯό Speaker
  3. © 2016 Takashi Takebayashi Things one has done Azure’s Pros/Cons

    Summary Agenda ΍ͬͨ͜ͱ Azureͷϓϩίϯ ·ͱΊ
  4. © 2016 Takashi Takebayashi Dev: ϩʔΧϧͩͱಈ͚͘ͲɺCIͩͱίέΔ Dev: CIͩͱಈ͚͘ͲɺϩʔΧϧͩͱίέΔ CI͕ؒҧ͍ͬͯΔͱͯ͠ίέͯ΋εϧʔ͞ΕΔ… Ops:

    ḉߏஙखॱ͕ه࿥͞Ε͍ͯͳ͍ൿ఻ͷλϨঢ়ଶ Ops: ͭ·Γಉ͡؀ڥΛ࠶ݱͰ͖ͳ͍(ImageͷίϐʔͰ͔͠…)
 The origin of the project ൃ୺
  5. © 2016 Takashi Takebayashi Dev: ϩʔΧϧͩͱಈ͚͘ͲɺCIͩͱίέΔ Dev: CIͩͱಈ͚͘ͲɺϩʔΧϧͩͱίέΔ CI͕ؒҧ͍ͬͯΔͱͯ͠ίέͯ΋εϧʔ͞ΕΔ… Ops:

    ḉߏஙखॱ͕ه࿥͞Ε͍ͯͳ͍ൿ఻ͷλϨঢ়ଶ Ops: ͭ·Γಉ͡؀ڥΛ࠶ݱͰ͖ͳ͍(ImageͷίϐʔͰ͔͠…)
 The origin of the project ൃ୺ http://blog-imgs-51.fc2.com/a/p/g/apg/201205281.jpg
  6. © 2016 Takashi Takebayashi ϩʔΧϧͱCI؀ڥʹҰ؏ੑΛʂ -> Docker ։ൃݴޠҎ֎Dev͸ֶͼͨ͘ͳ͍ʂ -> Rake(Make)ͰӅṭ

    ൿ఻ͷλϨΛղফͯ͠ɺίʔυԽʂ -> Docker, Terraform Dry-runͰίʔυ͕໰୊ͳ͍͔֬ೝ͍ͨ͠ʂ -> Terraform Πϯϑϥͷઃఆςετ͍ͨ͠ʂ -> Serverspec Solution ղܾࡦ
  7. © 2016 Takashi Takebayashi MicrosoftҎ֎ͷ৘ใ͕͋·Γʹ΋গͳ͍ TerrafornͷHashiCorp -> ΢ι΍·ͱ΋ͳߏ੒ʹͳΒͳ͍΋ͷ͕…ɻ Qiita ->

    ΄΅ͳ͍ Azureͱ͍͍ͭͭAWSͷ࿩ͱ͔… ৘ใͷ࣭΋ѱ͍(Terraformͷಈ࡞֬ೝΛQiitaهࡌͷAWSͰ΍ͬ ͯ΋ಉ͡όʔδϣϯͳͷʹಈ͔ͳ͍ɺγϯλοΫεΤϥʔ Λى͜͢ϑΝΠϧͳͲͳͲͳͲ…େਿ) Azure's Cons AzureͷσϝϦοτ
  8. © 2016 Takashi Takebayashi MicrosoftҎ֎ͷ৘ใ͕͋·Γʹ΋গͳ͍ TerrafornͷHashiCorp -> ΢ι΍·ͱ΋ͳߏ੒ʹͳΒͳ͍΋ͷ͕…ɻ Qiita ->

    ΄΅ͳ͍ Azureͱ͍͍ͭͭAWSͷ࿩ͱ͔… ৘ใͷ࣭΋ѱ͍(Terraformͷಈ࡞֬ೝΛQiitaهࡌͷAWSͰ΍ͬ ͯ΋ಉ͡όʔδϣϯͳͷʹಈ͔ͳ͍ɺγϯλοΫεΤϥʔ Λى͜͢ϑΝΠϧͳͲͳͲͳͲ…େਿ) Azure's Cons AzureͷσϝϦοτ http://dqmp-lite.up.n.seesaa.net/dqmp-lite/image/damasitana2028229a.jpg?d=a1
  9. © 2016 Takashi Takebayashi MicrosoftҎ֎ͷ৘ใ͕͋·Γʹ΋গͳ͍ TerrafornͷHashiCorp -> ΢ι΍·ͱ΋ͳߏ੒ʹͳΒͳ͍΋ͷ͕…ɻ Qiita ->

    ΄΅ͳ͍ Azureͱ͍͍ͭͭAWSͷ࿩ͱ͔… ৘ใͷ࣭΋ѱ͍(Terraformͷಈ࡞֬ೝΛQiitaهࡌͷAWSͰ΍ͬ ͯ΋ಉ͡όʔδϣϯͳͷʹಈ͔ͳ͍ɺγϯλοΫεΤϥʔ Λى͜͢ϑΝΠϧͳͲͳͲͳͲ…େਿ) Azure's Cons AzureͷσϝϦοτ http://dqmp-lite.up.n.seesaa.net/dqmp-lite/image/damasitana2028229a.jpg?d=a1 http://img.tiqav.com/U0.jpg
  10. © 2016 Takashi Takebayashi MicrosoftҎ֎ͷ৘ใ͕͋·Γʹ΋গͳ͍ TerrafornͷHashiCorp -> ΢ι΍·ͱ΋ͳߏ੒ʹͳΒͳ͍΋ͷ͕…ɻ Qiita ->

    ΄΅ͳ͍ Azureͱ͍͍ͭͭAWSͷ࿩ͱ͔… ৘ใͷ࣭΋ѱ͍(Terraformͷಈ࡞֬ೝΛQiitaهࡌͷAWSͰ΍ͬ ͯ΋ಉ͡όʔδϣϯͳͷʹಈ͔ͳ͍ɺγϯλοΫεΤϥʔ Λى͜͢ϑΝΠϧͳͲͳͲͳͲ…େਿ) Azure's Cons AzureͷσϝϦοτ Qiita http://dqmp-lite.up.n.seesaa.net/dqmp-lite/image/damasitana2028229a.jpg?d=a1 http://img.tiqav.com/U0.jpg http://cdn-ak.f.st-hatena.com/images/fotolife/o/odbc/20150924/20150924183450.jpg
  11. © 2016 Takashi Takebayashi Portal͔Βࣗ෼޷Έʹߏங͍ͨ͠ΠϯϑϥͷARM template ͕མͱͤΔ
 ↑͜Ε͕ϝνϟϝνϟ໾ʹཱͬͨʂ Azure's Pros

    AzureͷϝϦοτ http://www.hanakuro.jp/wp-content/uploads/2014/10/446px-Uncle_Sam_pointing_finger1.jpg
  12. © 2016 Takashi Takebayashi Takashi Takebayashi @changeworlds Microsoft MVP for

    Visual Studio and Development Technologies Blog : http://changesworlds.com/ Role : Scrum Master, Agile Coach, Biz&Tech cross-functional paradigm Writing : Build Insider(ALM, DevOps), mynavinews(TeamDev) Community : εΫϥϜಓ, TFSUGίΞϝϯό Speaker