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

Ottoについて調べてみた

08f1ea0292e0229e5d0415d1e9b5c9ee?s=47 sue738
October 19, 2015

 Ottoについて調べてみた

Framgia x LOUPE Study
HashiCorpが出した新プロダクトOttoについて

08f1ea0292e0229e5d0415d1e9b5c9ee?s=128

sue738

October 19, 2015
Tweet

Transcript

  1. Otto ʹ͍ͭͯௐ΂ͯΈͨ 'SBNHJBY-061&4UVEZ

  2. None
  3. Otto is the successor to Vagrant.

  4. otto compile otto dev otto infra otto build otto deploy

  5. otto compile otto dev otto infra otto build otto deploy

    ΞϓϦέʔγϣϯΛݕग़ͯ͠ ඞཁͳઃఆϑΝΠϧͷ࡞੒ ։ൃ؀ڥΛߏஙʢ7BHSBOUʣ Πϯϑϥߏஙʢ5FSSBGPSNʣ ϚγϯΠϝʔδͷ࡞੒ "84ͳΒ".*Λ࡞੒ʢ1BDLFSʣ σϓϩΠʂ
  6. otto deploy destroy otto infra destroy otto dev destroy ΧδϡΞϧʹյ͢

  7. Կ΋ઃఆ͠ͳͯ͘΋େৎ෉ $ cd root/to/app $ otto compile $ otto dev

    $ otto dev ssh
  8. Կ΋ઃఆ͠ͳͯ͘΋େৎ෉ $ cd root/to/app $ otto compile $ otto dev

    $ otto dev ssh ։ൃ؀ڥ্ཱ͕͕ͪΔ BQQͷλΠϓΛ൑ఆͯ͠ PUUPσΟϨΫτϦੜ੒ ։ൃ؀ڥʹTTIϩάΠϯ
  9. Կ͔ઃఆ͔ͨͬͨ͠Β"QQpMF

  10. Կ͔ઃఆ͔ͨͬͨ͠Β"QQpMF SVCZͷόʔδϣϯࢦఆͳΜ͔΋ qBWPSlWQDQVCMJDQSJWBUFz͚ͩͰQVCMJDQSJWBUFߏ੒͕࣮ݱ

  11. 5FSSBGPSNςϯϓϨʔτ .otto └─compiled └─infra-appname ├─main.tf └─output.tf

  12. 5FSSBGPSNςϯϓϨʔτ .otto └─compiled └─infra-appname ├─main.tf └─output.tf "84༻ͷUFSSBGPSNςϯϓϨʔτ͕ ࣗಈͰੜ੒͞Ε͍ͯΔ

  13. 1BDLFSςϯϓϨʔτ .otto └─compiled └─app └─build ├─build-ruby.sh └─template.json

  14. 1BDLFSςϯϓϨʔτ .otto └─compiled └─app └─build ├─build-ruby.sh └─template.json ".*Λ࡞੒͢ΔͨΊͷQBDLFSςϯϓϨʔτ͕ ͱSVCZͷCVJMEεΫϦϓτ͕ࣗಈͰੜ੒͞Ε͍ͯΔ

  15. ͨͩͷVagrantޙܧʁ

  16. Otto and Atlas as that of Git and GitHub. ͨͩͷVagrantޙܧʁ

  17. "UMBTVOJUFT)BTIJ$PSQEFWFMPQNFOUBOE JOGSBTUSVDUVSFNBOBHFNFOUUPPMTUPDSFBUFB WFSTJPODPOUSPMTZTUFNGPSJOGSBTUSVDUVSF

  18. OttoͳΒ؆୯ʹ։ൃ؀ڥͷߏங͕Ͱ͖Δ ։ൃ؀ڥΛͦͷ··Deploy Infrastructure as a code