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

ベースマキナとデータソースを安全に接続する

 ベースマキナとデータソースを安全に接続する

吉祥寺.pm29【オンライン】で登壇しました
https://kichijojipm.connpass.com/event/244184/

ベースマキナについて
https://about.basemachina.com/

ドキュメント
https://docs.basemachina.com/what_is_basemachina/

bridge
https://github.com/basemachina/bridge

Kei Kamikawa

April 12, 2022
Tweet

More Decks by Kei Kamikawa

Other Decks in Technology

Transcript

  1. ϕʔεϚΩφͱσʔλιʔε

    Λ҆શʹ઀ଓ͢Δ
    LJDIJKPKJQN

    View full-size slide

  2. 8)0".*
    +645461&326*$,

    View full-size slide

  3. !DPEFIFY !$PEF)FY
    w (P 1FSM🥰
    w &OHJOFFS!#BTFNBDIJOB *OD
    w 8PSLGSPN0LJOBXB
    w Ӧۀʹ͍ͭͯษڧ͍ͯ͠Δ/FX

    View full-size slide

  4. ϕʔεϚΩφʁ

    View full-size slide

  5. IUUQTBCPVUCBTFNBDIJOBDPN

    View full-size slide

  6. ϕʔεϚΩφʁ
    w "1*΍%#Λܨ͗ࠐΉ͜ͱͰαʔϏεͷ؅ཧը໘Λ
    ؆୯ʹ࡞ΕΔϩʔίʔυαʔϏε
    w ࣗࣾαʔϏεͷӡ༻ʹඞཁͳૢ࡞ʹୈࡾऀͷϨ
    Ϗϡʔ΋ೖΕΒΕΔʂ
    w ͍ͭ୭͕Ͳ͔͜ΒͲΜͳૢ࡞Λͨ͠ͷ͔෼͔Δ؂ࠪ
    ϩάػೳ΋උΘ͍ͬͯΔʂ

    View full-size slide

  7. αʔϏεͷӡ༻ʹඞཁͳػೳ͕
    ര଎ͰҰ௨Γἧ͍·͢ʂ
    IUUQTEPDTCBTFNBDIJOBDPNXIBU@JT@CBTFNBDIJOB

    View full-size slide

  8. Ͱ΋ͦΕͬͯ҆શͳͷʁ🤔

    View full-size slide

  9. ϕʔεϚΩφʁ
    w "1*΍%#Λܨ͗ࠐΉ͜ͱͰαʔϏεͷ؅ཧը໘Λ
    ؆୯ʹ࡞ΕΔαʔϏε
    w ࣗࣾαʔϏεͷӡ༻ʹඞཁͳૢ࡞ʹୈࡾऀͷϨ
    Ϗϡʔ΋ೖΕΒΕΔʂ
    w ͍ͭ୭͕Ͳ͔͜ΒͲΜͳૢ࡞Λͨ͠ͷ͔෼͔Δ؂ࠪ
    ϩάػೳ΋උΘ͍ͬͯΔʂ

    View full-size slide

  10. ͭ·Γ͜͏͍͏͜ͱͰ͠ΐʁ
    0WFSUIF*OUFSOFU

    View full-size slide

  11. ઀ଓ͢ΔͨΊʹ*1ΞυϨεΛ
    ެ։͠ͳ͖Ό͍͚ͳ͍ΑͶʁ

    View full-size slide

  12. 🔥ઈରةͳ͍͡ΌΜ🔥

    View full-size slide

  13. ͦ͜Ͱ

    *1ΞυϨεͷ੍ݶ👍

    View full-size slide

  14. *1ΞυϨεͷ੍ݶ
    w 3FUPPMͳͲւ֎ͷྨࣅαʔϏεͰ΋ར༻͞Ε͍ͯ
    Δख๏
    w αʔϏεଆ͕*1ΞυϨεΛݻఆͯ͠઀ଓͯ͘͠Δͷ
    ͰɺͦͷΞυϨεΛϗϫΠτϦεςΟϯά͢Δ

    View full-size slide

  15. ͭ·Γ͜͏͍͏͜ͱ
    0WFSUIF*OUFSOFU

    View full-size slide

  16. Ͱ΋ͦΕͬͯ҆શͳͷʁ🤔

    View full-size slide

  17. *1ΞυϨεͷ੍ݶͷ໰୊
    w ϕʔεϚΩφͷ୭͔͕*1ΞυϨεΛܦ༝ͯ͠

    ΞΫηεͰ͖Δ
    w ϕʔεϚΩφ͕Կ͔͠ΒͷϋοΩϯάͷඃ֐ʹ

    ૺͬͨ৔߹ɺୈࡾऀʹΑΔΞΫηε͕ՄೳʹͳΔ

    View full-size slide

  18. 🔥·ͩةͳ͍͡ΌΜ🔥

    View full-size slide

  19. ͦ͜Ͱ

    *1ΞυϨεͷ੍ݶCSJEHF👍

    View full-size slide

  20. Φʔϓϯιʔεͱͯ͠։ൃ͞Εͨɺ

    ϕʔεϚΩφ͔Βσʔλιʔε΁઀ଓ͢ΔͨΊͷ

    ೝՄػೳ෇͖ͷήʔτ΢ΣΠͰ͢ʂ
    IUUQTHJUIVCDPNCBTFNBDIJOBCSJEHF

    View full-size slide

  21. CSJEHF
    CSJEHF͸)551αʔόʔͱͯ͠ৼΔ෣͏
    CSJEHFଆͰϦΫΤετ͕ϩάΠϯதͷ

    اۀΞΧ΢ϯτ͔ΒߦΘΕͨ΋ͷ͔Ͳ͏͔Λݕূ
    ݕূ੒ޭޙɺϕʔεϚΩφͱσʔλιʔεͷ௨৴Λ
    5$11SPYZͱͯ͠தܧ͢Δ

    View full-size slide

  22. ͭ·Γ͜͏͍͏͜ͱ
    0WFSUIF*OUFSOFU

    View full-size slide

  23. *1ΞυϨεͷ੍ݶCSJEHF👍
    ✅ϕʔεϚΩφܦ༝ͷΈΞΫηεͰ͖Δ
    ✅ϩάΠϯதͷϢʔβʔͷΈΞΫηεͰ͖Δ

    View full-size slide

  24. ͜͜·ͰͷಓͷΓ

    View full-size slide

  25. ͜͜·ͰͷಓͷΓ
    w Τϯϓϥܖ໿اۀʹఏڙ͢ΔΑ͏ͳϕʔεϚΩφ
    BMMJOPOFίϯςφΛ഑෍͢Δ
    w H31$αʔόʔͱͯ͠ৼΔ෣͍ɺ݁ՌΛϕʔεϚΩ
    φ΁ฦ͢
    w اۀωοτϫʔΫଆ͔Β5$1ίωΫγϣϯΛཱ֬
    ͯ͠ɺͦͷ্Ͱσʔλιʔεͱ΍ΓͱΓ͢Δ

    View full-size slide

  26. ύοέʔδ഑෍
    w ࢓༷ͷमਖ਼ͷ͠΍͢͞👎
    w ࠓ͸·ͩελʔτஈ֊ͳͷͰมߋ͕ଟ͘ݫ͍͠
    w ϝϯςφϯεੑ⏬
    w σϓϩΠࡁΈͷ؀ڥΛߟྀ͠ͳ͕Βͷ։ൃ͸

    ਓ਺΋গͳ͍ͷͰେม

    View full-size slide

  27. ͜͜·ͰͷಓͷΓ
    w Τϯϓϥܖ໿اۀʹఏڙ͢ΔΑ͏ͳϕʔεϚΩφ
    BMMJOPOFίϯςφΛ഑෍͢Δ
    w H31$αʔόʔͱͯ͠ৼΔ෣͍ɺ݁ՌΛϕʔεϚΩ
    φ΁ฦ͢
    w اۀωοτϫʔΫଆ͔Β5$1ίωΫγϣϯΛཱ֬
    ͯ͠ɺͦͷ্Ͱσʔλιʔεͱ΍ΓͱΓ͢Δ

    View full-size slide

  28. H31$αʔόʔCSJEHF
    w 42-υϥΠόΛ࢖ͬͯϋϯυϦϯά͢Δ

    "1*తͳৼΔ෣͍Λ͢Δ࢓༷
    w σʔλιʔεͷ௥Ճͷ͠΍͢͞⏬
    w اۀଆͷϦιʔεΛফඅ͢Δ👎
    w H31$Λར༻Ͱ͖Δ$MPVE؀ڥ͕গͳ͍

    View full-size slide

  29. ͜͜·ͰͷಓͷΓ
    w Τϯϓϥܖ໿اۀʹఏڙ͢ΔΑ͏ͳϕʔεϚΩφ
    BMMJOPOFίϯςφΛ഑෍͢Δ
    w H31$αʔόʔͱͯ͠ৼΔ෣͍ɺ݁ՌΛϕʔεϚΩ
    φ΁ฦ͢
    w اۀωοτϫʔΫଆ͔Β5$1ίωΫγϣϯΛཱ֬
    ͯ͠ɺͦͷ্Ͱσʔλιʔεͱ΍ΓͱΓ͢Δ

    View full-size slide

  30. اۀଆ͔ΒίωΫγϣϯཱ֬

    View full-size slide

  31. اۀଆ͔Β8FC4PDLFU CJEJSFDUJPOBM


    ίωΫγϣϯΛཱ֬͢Δ
    ϕʔεϚΩφ͸ཱ֬ࡁΈͷίωΫγϣϯΛར༻ͯ͠

    5$1Λ1SPYZ͢Δ
    اۀଆ͔ΒίωΫγϣϯཱ֬

    View full-size slide

  32. w γϯϓϧʹ೉͍͠
    w ϕʔεϚΩφ্ͰΦϖϨʔγϣϯͨ࣌͠ʹ

    ίωΫγϣϯཱ͕֬͞Εͯͳ͚Ε͹Τϥʔ
    w اۀଆͷϩʔυόϥϯγϯά΋Ұ޻෉͕ඞཁ
    w ௚ײʹ൓͢ΔʢOPUCNˠاۀʣͷͰ೉͍͠
    اۀଆ͔ΒίωΫγϣϯཱ֬

    View full-size slide

  33. ࠓͷܗ͸ચ࿅͞Εͨ΋ͷ💪

    View full-size slide

  34. 5IBOLZPV
    4FFIUUQT[FOOEFWDPEFIFYBSUJDMFTEFGBC

    View full-size slide