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

what is Cloud Run?

what is Cloud Run?

shogomuranushi

July 05, 2019
Tweet

More Decks by shogomuranushi

Other Decks in Programming

Transcript

  1. Ͳ͕ͬͪྑ͍ͷʁʢྫʣ • ࠓޙͷ։ൃείʔϓͰ੍໿ͷதͰ໰୊ແ͍ͳΒ FaaS • ੍໿ͷதͰे෼ॲཧͰ͖Δ • FaaSͷࢥ૝ʹϚον͢ΔਓࡐΛ֬อͰ͖Δ • ͱΓ͋͑ͣϓϩτλΠϓ͔ͩΒ

    • KubernetesγϯυΠ • ࠓޙͷ։ൃείʔϓͰ੍໿͕ݫ͘͠ͳΓͦ͏ͳΒ Knative • ίϯςφͳͷͰ੍໿͸গͳ͍ • ίϯςφͳͷͰɺΞϓϦͷมߋͳ͘ޙͰ೗Կ༷ʹͰ΋ߏ੒Λม͑ΒΕΔ
  2. ͭ·ΓɺCloud Run ʹ Full Managed Knative • Πϯϑϥͷ؅ཧෆཁͳίϯςφͷͨΊͷαʔόϨεج൫ • ՝ۚମܥ΋FaaSͱಉ͡

    • FaaSͱίϯςφͷ͍͍ͱ͜औΓ • ͨͩ͠ൃల్্ͷͨΊ·ͩػೳ͸গͳ͍ ʴ =
  3. Cloud Runͷಛ௃ • Serverless Container • Request driven workload •

    Scale to zero • Event driven workload • Scale to zero • Full Managed / Multi-zone • Container • Any Language • Any Library • Any Binary • Ecosystem of base images
  4. Cloud Run͕ࠓͰ͖ͳ͍͜ͱ • Max: 1vCPU / 2GB RAM • GPUඇରԠ

    • CloudSQLඇରԠʢComming Soonʣ • VPCඇରԠʢComming Soonʣ • άϩʔόϧϩʔυόϥϯαʔඇରԠ • Knativaͷyamlఆٛ͸ඇରԠʢ2019೥தରԠ༧ఆʣ • gRPCඇରԠ • άϩʔόϧαʔϏεͰ͸ͳ͍ɻϦʔδϣφϧαʔϏε • gVisorΛར༻͍ͯ͠ΔͨΊະ࣮૷ͷγεςϜίʔϧ͕͋Δ͔΋
  5. • AWS Lambda, GCP Cloud FunctionͳͲɺ࣮૷͕όϥόϥʹͳ͍ͬͯΔ ͨΊ։ൃऀͷख͕ؒ૿͍͑ͯΔ • ͦͷͨΊCNCFΛத৺ͱͯ͠CloudEventsͱ͍͏αʔόϨεͷEventॲཧ ͷΠϯλʔϑΣΠεΛඪ४ن֨Խ࢝͠Ίͨ

    • CNCF͸ͦΕҎ֎΋ίϯςφΛத৺ʹଟ਺ͷඪ४ԽΛਐΊ͍ͯΔɻ
 αʔόϨεͱίϯςφͷϫʔΫϩʔυͷڥ໨ͷKnativeͳͲʹΑͬͯແ ͘ͳΔͷͰ͸