Pro Yearly is on sale from $80 to $50! »

実践 Heroku Enterprise / Unite Heroku Enterprise

実践 Heroku Enterprise / Unite Heroku Enterprise

Heroku Meetup #26 "Heroku Unite!"
https://herokujp.doorkeeper.jp/events/96641

4c8807d9a90fe91b717983647f0664f4?s=128

Hiroshi Shimoju

October 03, 2019
Tweet

Transcript

  1. 1SJWBUF4QBDFTͱ$PNNPO3VOUJNFΛ ࠞࡏͰӡ༻͍ͯ͠Δ࿩ Լॏതࢿ(.01FQBCP *OD )FSPLV.FFUVQ ࣮ફ)FSPLV&OUFSQSJTF

  2. 8FCΞϓϦέʔγϣϯΤϯδχΞ Լॏതࢿ!TIJNPKV@ (.0ϖύϘגࣜձࣾ46;63*ࣄۀ෦ TIJNPKVPSH

  3. ࢲͱ)FSPLV

  4. ࢲͱ)FSPLV wݸਓαʔϏεͰ)FSPLVΛར༻ͯͨ͠Γ w8PSE1SFTTΛ)FSPLVͰಈ͔ͨ͢ΊʹؤுͬͯͨΓ wIUUQTHJUIVCDPNTIJNPKVXPSEQSFTTIFSPLV w46;63*΁഑ଐ͞Εɺۀ຿Ͱຊ֨తʹ࢖͍࢝ΊΔ

  5. ࢲͱ)FSPLV w)FSPLVͱ'BDUPS"QQʹ͍ͭͯϒϩάΛॻ͍ͨ wIUUQTTIJNPKVPSHUXFMWFGBDUPSBQQPOIFSPLV wͦͨ͠Β8FCJOBSʹొஃ͢Δ͜ͱʹͳͬͨ wIUUQTEFWFMPQFSTBMFTGPSDFDPNFWFOUTXFCJOBSTIFSPLV@DBTF@KQ wIUUQTXXXTMJEFTIBSFOFU%FWFMPQFS'PSDF+BQBO HNPIFSPLV

  6. None
  7. ࢲͱ)FSPLV ɾ&OUFSQSJTF"DDPVOUT ΁ͷϑΟʔυόοΫίϝ ϯτ͕ܝࡌ͞Εͨ ɾIUUQTCMPHIFSPLVDPN FOUFSQSJTFBDDPVOUT

  8. None
  9. ˞ӳޠ͸ࣗ෼Ͱॻ͍͍ͯ·ͤΜʢ༁ͯ͠΋Β͍·ͨ͠ʣ

  10. )FSPLVͰՔಇ͍ͯ͠Δ (.0ϖύϘͷαʔϏε

  11. 46;63*TV[VSJKQ ɾը૾ΛΞοϓϩʔυ͢ Δ͚ͩͰ5γϟπͳͲͷΦ ϦδφϧάοζΛ࡞੒ɾ ൢചͰ͖Δ

  12. 46;63*ͱ)FSPLV w೥ͷαʔϏε։࢝౰ॳ͔Β)FSPLVͰӡ༻ w)FSPLV&OUFSQSJTFΛܖ໿͠ɺ೥݄ʹ 1SJWBUF4QBDFT΁Ҡߦ w౦ژϦʔδϣϯʹҠ͢͜ͱͰࠃ಺͔ΒͷΞΫηεͷߴ ଎ԽΛਤͬͨ

  13. $BOWBUIDBOWBUIKQ ɾΦϦδφϧάοζ࡞੒ αʔϏε ɾҰൠൢചػೳ͸ͳ͘ɺ ଞॴͰग़඼ͯ͠஫จ͕དྷ ͨΒ$BOWBUIͰൃ஫ͯ͠ ͓ಧ͚͢Δํࣜ

  14. $BOWBUIͱ)FSPLV w೥ʹଞ͔ࣾΒৡΓड͚ͨαʔϏε w"84ͰՔಇ͍͕ͯͨ͠ɺಉ೥݄ʹ)FSPLVʹҠઃ w46;63*ͱ౷Ұతͳӡ༻͕Ͱ͖ͯΠϯϑϥ؅ཧίετ Λ࡟ݮ wͪ͜Β͸$PNNPO3VOUJNFͰͷӡ༻

  15. 46;63*1FPQMFQFPQMFTV[VSJKQ ɾΫϦΤΠλʔΛ௚઀ࢧ ԉͰ͖ΔϑΝϯΫϥϒΛ ࡞ΕΔαʔϏε ɾϑϩϯτ͸/VYUɺόο Ϋ͸3BJMT ɾͪ͜Β΋$PNNPO 3VOUJNF

  16. ΧϥʔϛʔϦϐʔτDPMPSNFSFQFBUKQ ɾ৯඼ɾফ໣඼ͳͲͷఆ ظ͓ಧ͚ํࣜͷ௨ൢΛ࢝ ΊΒΕΔαʔϏε ɾͪ͜Β͸ผ෦ॺ͕ӡӦ

  17. $PNNPO3VOUJNFͱ 1SJWBUF4QBDFTʹ·͕ͨͬͯ ෳ਺ͷαʔϏεΛӡ༻͍ͯ͠Δ

  18. )FSPLV&OUFSQSJTF 1SJWBUF4QBDFT

  19. ͦ΋ͦ΋ͳͥ)FSPLV͔ wεϞʔϧνʔϜɺεϞʔϧελʔτ wϚωʔδυͳ%#ɺϩά؅ཧɺϝʔϧͳͲΛ؆୯ʹ௥ ՃͰ͖Δ๛෋ͳ"EEPO͕ἧ͍ͬͯΔ wαʔϏεͷ੒௕౓߹͍ʹԠͯ͡εέʔϧՄೳ wΞϓϦ։ൃʹूதͰ͖Δ

  20. ͳͥ)FSPLV&OUFSQSJTF͔ w)FSPLVͷੜ࢈ੑΛอͬͨ··ɺ౦ژϦʔδϣϯʹஔ ͘͜ͱʹΑΔαΠτͷߴ଎Խ΍ɺߴ౓ͳ؂ࠪػೳɺ೔ ຊޠαϙʔτͳͲ͕࢖͑Δ wΞϓϦΤϯδχΞ͚ͩͰ΋ػಈతʹ։ൃͰ͖Δମ੍

  21. 46;63*ͰͷΈར༻ w&$αΠτ͸εϐʔυ໋͕ w͓ۚΛ͔͚Ε͹଎͘Ͱ͖Δ෦෼͸଎͍ͨ͘͠ wٯʹɺΤϯυϢʔβʔ͕௚઀ΞΫηε͠ͳ͍$BOWBUI ͸ΞΫηε͕ٸܹʹ૿͑Δ͜ͱ͸͋·Γͳ͍ w·ͩن໛͕খ͔ͬͨ͞Γɺ૬ରతʹ଎౓͕ॏཁͰͳ͍ ΋ͷ͸$PNNPO3VOUJNF

  22. 1SPT w1SJWBUF4QBDFTͰ౦ژϦʔδϣϯ͕࢖͑Δ w࠷େͷར఺ wݻఆ*1΋Β͑Δ w*1੍ݶͷ͋Δ֎෦αʔϏεΛ"EEPOͳ͠Ͱ࢖͑Δ w4".-ೝূ͕࢖͑Δ

  23. $POT w%ZOPͷىಈ͕஗͍ w3PMMJOH%FQMPZʹ·ͭΘΔ໰୊ w)FSPLV௨ৗ൛ͷ5FBNΛطʹ࢖͍ͬͯΔ৔߹ɺΞΧ ΢ϯτ੾Γସ͑ͷඞཁ͕ੜ͡Δ

  24. %ZOPͷىಈ͕஗͍ w%ZOP͸ڞ༗Ͱ͸ͳ͘ಠཱ͍ͯ͠ΔͷͰɺ಺෦Ͱ͸ &$Πϯελϯε͕৽نʹ্ཱ͕͍ͪͬͯΔ w3FMFBTF1IBTF΍IFSPLVSVOͰͷ0OF0⒎%ZOPͷ ىಈ΋஗͍ͷͰͪΐͬͱετϨε

  25. 3PMMJOH%FQMPZʹ·ͭΘΔ໰୊ w1SJWBUF4QBDFTͷ%ZOP͸3PMMJOH%FQMPZ͞ΕΔ w৽چ%ZOP͕ฒߦՔಈͯ͠ঃʑʹσϓϩΠ͞ΕΔ wσϓϩΠ࣌ͷμ΢ϯλΠϜΛݮΒͤΔ w$PNNPO3VOUJNFʹ͓͚Δ1SFCPPUͱಉ͕ͩ͡ɺ 1SJWBUF4QBDFTͰ͸ΦϑʹͰ͖ͳ͍ͷͰ஫ҙ͕ඞཁ

  26. 3PMMJOH%FQMPZʹ·ͭΘΔ໰୊ w$44΍+4΁ͷΞΫηε͕چ%ZOPʹϧʔςΟϯά͞Ε ΔͱʹͳΓɺͦΕ͕$%/ʹΩϟογϡ͞Εɺσ ϓϩΠޙ਺෼ؒਅͬനͳ8FCαΠτʹͳͬͯ͠·͏ w$%/ͷΤϥʔΩϟογϡΛ͘͝୹͘͢Δͷ͸͋·Γ ͨ͘͠͸ͳ͍͠ɺͨ͠ͱͯ͠΋3PMMJOH%FQMPZ͕ऴΘ Δ·Ͱ͸࠶ൃ͠͏Δ

  27. None
  28. 3PMMJOH%FQMPZʹ·ͭΘΔ໰୊ wTUBHJOHQSPEVDUJPOͰಉ͡$%/Λ࢖ͬͯղܾ wTUBHJOHΞΫηε࣌ɺ$%/ʹΩϟογϡ͕Ͱ͖Δ wBTTFUͷpOHFSQSJOUΛ྆ऀͰಉ͡ʹ͢Δඞཁ͕͋Δ wTUBHJOHͱຊ൪Ͱ಺༰Λม͑ͳ͍Α͏ʹ஫ҙ͢Δ wྫʣ4BTTͷSBOEPNؔ਺ɺ+4ͷϏϧυઃఆ

  29. &OUFSQSJTF"DDPVOUT

  30. &OUFSQSJTF"DDPVOUT wෳ਺ͷ&OUFSQSJTF5FBN͓Αͼ)FSPLV௨ৗ൛ͷ 5FBNʹ·͕ͨͬͯॴଐͰ͖Δ wΞΧ΢ϯτͷ੾Γସ͕͑ෆཁʹͳΔ w&OUFSQSJTFͷΞΧ΢ϯτ͚ͩͰ͢΂ͯΛ؅ཧͰ͖Δ wݖݶ؅ཧɺ؂ࠪػೳ͕ڧԽ͞Ε͍ͯΔʢΒ͍͠ʣ wIUUQTEFWDFOUFSIFSPLVDPNDBUFHPSJFTFOUFSQSJTFBDDPVOUT

  31. ΞΧ΢ϯτ੾Γସ͑ w͜Ε·Ͱ͸)FSPLV$-*ͷϓϥάΠϯΛ࢖͍ͬͯͨ wIUUQTHJUIVCDPNIFSPLVIFSPLVBDDPVOUT w&OUFSQSJTF"DDPVOUTͰෆཁʹͳͬͨʂ

  32. )FSPLVͰͰ͖Δ ηΩϡϦςΟରࡦ

  33. ηΩϡϦςΟରࡦ wϓϥοτϑΥʔϜʹؔͯ͠͸)FSPLV͕୲౰͍ͯ͠Δ w4UBDLJNBHFͷηΩϡϦςΟΞοϓσʔτͳͲ wͳͷͰͪ͜Β͕΍Δͷ͸ΞϓϦέʔγϣϯͷηΩϡϦ ςΟରࡦ

  34. 8FC"QQMJDBUJPO'JSFXBMM w"EEPOͷ4RSFFOΛ࢖͍ͬͯΔ wIUUQTFMFNFOUTIFSPLVDPNBEEPOTTRSFFO w߈ܸͷࢼߦΛݕ஌ͯ͠ϒϩοΫ w੬ऑੑ͕ൃݟ͞Εͨґଘύοέʔδͷ௨஌ wϩάΠϯτϥοΩϯάͳͲͷػೳ͕͋Δ

  35. %#ͷΫΤϦϩάऔಘ w%#ͷΫΤϦϩάΛऔಘ͠ɺ߈ܸ͞ΕͨࡍͷӨڹൣғ Λಛఆ͠΍͘͢͢Δ w)FSPLV1PTUHSFTͰ͋Ε͹ίϚϯυͰઃఆՄೳ w IUUQTEFWDFOUFSIFSPLVDPNBSUJDMFTIFSPLVQPTUHSFTTFUUJOHTMPHTUBUFNFOU wΞϓϦέʔγϣϯϩάͱҰॹʹग़ͯ͘ΔͷͰɺ 1BQFSUSBJMͳͲΛ༻͍ͯ4ʹอଘ͢Ε͹Α͍

  36. )FSPLV&OUFSQSJTF؂ࠪػೳ w·ͩ׆༻Ͱ͖ͯ͸͍ͳ͍͕ͪΐͬͱࢼͨ͠ wheroku plugins:install @heroku-cli/plugin- enterpriseͰΠϯετʔϧ wheroku enterprise:audits:export 2019-09ͳͲͱ ΍ΔͱΞΫςΟϏςΟϩά͕+40/Ͱग़ྗ͞ΕΔ

  37. ·ͱΊ

  38. ·ͱΊ wαʔϏεͷن໛ɺಛੑʹԠͯ͡$PNNPO3VOUJNFͱ 1SJWBUF4QBDFTͷ྆ํΛ׆༻͍ͯ͠Δ w)FSPLVҎ֎΋࢖͍෼͚͓ͯΓɺ46;63*ͷը૾߹੒ αʔόͰ͸ϓϥΠϕʔτΫϥ΢υ͓Αͼ(,&Λར༻ w&OUFSQSJTF"DDPVOUTศརͰ͢Ͷ