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

20190505_CloudNativeMiyazaki.pdf

 20190505_CloudNativeMiyazaki.pdf

Ca1357a6e793898d30cec23068c3cb36?s=128

大塚真言

May 05, 2019
Tweet

Transcript

  1. Cloud Run Λ࢖ͬͯΈͨʂ 2019/05/05 Cloud Native Miyazaki #1 େ௩ਅݴ

  2. ຊ೔ͷྲྀΕ ɾࣗݾ঺հ ɾCloud Runͷಛ௃ ɾCloud RunΛ࢖ͬͯΈΔ

  3. ࣗݾ঺հ ɾ໊લɹɿେ௩ ਅݴʢMakoto Otsukaʣ ɾ໊͋ͩɿ͠Μ͛Μ ɾTwitterɿ@mametra ɾॴଐɹɿ߹ಉձࣾϊϚυϦ ୅ද ɾεΩϧɿLaravel, Vue.js,

    Firebase ɾझຯɹɿΩϟϯϓ, ϑΣε
  4. Cloud Run ͱ͸ Google Cloud Next 2019 in San Francisco

    ʢ2019೥4݄9~11೔ʣͰൃද Kubernetes ্ͰαʔόʔϨε؀ڥΛ࣮ݱ͢Δ Knative Λϕʔεʹͨ͠ɺ৽͍͠αʔόʔϨε ͷαʔϏε
  5. ΋͏গ͠Θ͔Γ΍͘͢ʂ

  6. Cloud Run ͱ͸ HTTPϦΫΤετ Dockerίϯςφ αʔόʔϨε

  7. Cloud Run ͱ͸ HTTPϦΫΤετΛհͯ͠ݺͼग़ͤΔ Dockerίϯςφͷߏங/؅ཧ͕Ͱ͖Δ αʔόʔϨεϓϥοτϑΥʔϜ

  8. Cloud Run ͷಛ௃ IUUQTXXXZPVUVCFDPNXBUDI WO+-;GN6"

  9. ͭ·Γʂ

  10. None
  11. Cloud Run ͸͍͍ͱ͜ͲΓ ίϯςφͷϝϦοτ ɾߏங͕؆୯Ͱࣗ༝౓͕ߴ͍ ɾ೚ҙͷݴޠ/ϑϨʔϜϫʔΫ/ϥΠϒϥϦΛ࢖͑Δ αʔόʔϨεͷϝϦοτ ɾΠϯϑϥͷ؅ཧ޻਺͕ܰݮͰ͖Δ ɾैྔ՝ۚͰ͓ࡒ෍ʹ༏͍͠৔߹͕ଟ͍

  12. Cloud Run Λ࢖ͬͯΈΔ 1. ࣄલ४උ 2. ࣮૷ 3. Ϗϧυ 4.

    σϓϩΠ
  13. ᶃ ࣄલ४උ 1. GCP ϓϩδΣΫτͷ࡞੒ 2. ੥ٻઌొ࿥ ※৽نొ࿥ʹݶΓ$300 ແྉ࿮͋Γ 3.

    Cloud SDKͷΠϯετʔϧ 4. betaίϯϙʔωϯτͷΠϯετʔϧͳͲ HDMPVEDPNQPOFOUTJOTUBMMCFUB HDMPVEDPNQPOFOUTVQEBUF HDMPVEDPOpHTFUSVOSFHJPOVTDFOUSBM
  14. ᶄ ࣮૷ ඞཁͳϑΝΠϧ • index.php • Dockerfile \QSPKFDUEJS^JOEFYQIQ FDIP)FMMP$MPVE/BUJWF`

  15. ᶄ ࣮૷ \QSPKFDUEJS^%PDLFSpMF 6TFUIFP⒏DJBM1)1JNBHF '30.QIQBQBDIF $PQZMPDBMDPEFUPUIFDPOUBJOFSJNBHF $01:JOEFYQIQWBSXXXIUNM 6TFUIF1035FOWJSPONFOUWBSJBCMFJO"QBDIFDPOpHVSBUJPOpMFT 36/TFEJT\1035^HFUDBQBDIFTJUFTBWBJMBCMF EFGBVMUDPOGFUDBQBDIFQPSUTDPOG

    $POpHVSF1)1GPSEFWFMPQNFOU 36/NW1)1@*/*@%*3QIQJOJEFWFMPQNFOU1)1@*/*@%*3QIQJOJ
  16. ᶅ Ϗϧυ&σϓϩΠ <Ϗϧυ> HDMPVECVJMETTVCNJUUBHHDSJP<130+&$5*%>IFMMPXPSME <σϓϩΠ> HDMPVECFUBSVOEFQMPZJNBHFHDSJP<130+&$5*%>IFMMPXPSME σϓϩΠ͕׬ྃ͢ΔͱURL͕ൃߦ https://helloworld-cvzj7irgya-uc.a.run.app/

  17. ଞαʔϏεͱͷൺֱ Cloud Functions͸Node.jsɺGolangɺPython ͔͠࢖͑ͳ͍͕Cloud Run ͸͋ΒΏΔݴޠΛ ࢖͑Δ GKE΍AWSͷECS͸αʔό؅ཧ͕ඞཁͩ ͚ͲɺCloud Run͸ෆཁ

  18. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ