Simplify Cloud Run development with Visual Studio Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2024
  • Deploying a Cloud Run service with Visual Studio Code → goo.gle/31zSJgD
    Google Cloud blog → goo.gle/3dfzpuk
    Building a Cloud Run web application and using Visual Studio Code? In this episode of Serverless Toolbox Extended, Martin and Abby show you how to run, debug, and easily deploy a Cloud Run service locally with Visual Studio Code. Watch to learn how the VS extension in Cloud Code simplifies Cloud Run development!
    Timestamps:
    0:00​ - Intro
    1:12 - Installing Cloud Code in Visual Studio Code
    1:50 - Download the sample app
    2:40 - Run the sample app locally
    6:20 - Hot reload after code changes
    7:30 - Adding a Datastore database
    12:45 - Local debugging
    16:05 - Deploying the service to the cloud
    17:25 - Viewing the server logs in Visual Studio Code
    Checkout more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
    Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech
    #ServerlessExpeditions​ #CloudRun
    Product: Cloud Run; fullname: Martin Omander, Abby Carey;
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 33

  • @SebBel-ee9ws
    @SebBel-ee9ws ปีที่แล้ว +3

    I was stuggling to piece together everything needed to put my server on Cloud Run.. but then I discovered this video! Excellent thank you so much for all of the information, the VS code extension is super useful.

    • @TheMomander
      @TheMomander ปีที่แล้ว +2

      Happy to hear it helped!

  • @youngmacdonaldsfarm8136
    @youngmacdonaldsfarm8136 ปีที่แล้ว +6

    I love how dumbed down it is. Very helpful. Perfect for me!

    • @TheMomander
      @TheMomander ปีที่แล้ว +2

      We are all beginners at first. Good to hear you found the video helpful!

  • @NazarRud
    @NazarRud ปีที่แล้ว +1

    First two minutes is enaugh to set up my VSCode. Thanks a lot guys

  • @sanjayt1018
    @sanjayt1018 3 ปีที่แล้ว

    Found the video that I was searching for :) Thanks for the cool content!!

  • @PrimephotoStudio
    @PrimephotoStudio 3 ปีที่แล้ว +2

    Thank you for sharing this video with us, very helpful.

  • @Blocktelligence
    @Blocktelligence 3 ปีที่แล้ว

    What tools are used to create these recordings? I like the spherical video for the talent.

  • @awanderingcat365
    @awanderingcat365 3 ปีที่แล้ว +2

    How does it work with firestore? Can you make a video of Cloud Run + Firestore? Thanks 🙏

  • @greg22autograf63
    @greg22autograf63 2 ปีที่แล้ว

    This is awesome!

  • @yoeldelanoval4555
    @yoeldelanoval4555 2 ปีที่แล้ว

    Thanks!!

  • @kristofgilicze
    @kristofgilicze 3 ปีที่แล้ว +11

    Feature looks very cool 😎. Though I don't understand why this much acting was needed, seemed a bit forced. It's not like hobby devs will fiddle around in GCP anytime soon.

    • @kristofgilicze
      @kristofgilicze 3 ปีที่แล้ว +1

      th-cam.com/video/0xzyrtzEs50/w-d-xo.html This kind of explains it, then again I find this rather optimistic at best. Yes maybe you can walk someone through step-by-step on setting this up.
      The issue is that when all hell breaks loose, they are kind of left in the dark. Though GCP still a lot more user-friendly than AWS so props for that.

    • @martinralfreindl
      @martinralfreindl 2 ปีที่แล้ว +1

      Hobby developre here and this was super useful :-).

  • @chaitanyadamarsingu9925
    @chaitanyadamarsingu9925 3 ปีที่แล้ว

    what if the same thing in python ? is it comparatively slower.?

  • @nawabahmadhzb
    @nawabahmadhzb 2 ปีที่แล้ว

    Can you create a sample .Net web api project and deploy , i tried ...but not able to run ....

  • @yosepmys7605
    @yosepmys7605 ปีที่แล้ว

    I followed this tutorial and succeed to build locally via Cloud Run Emulator on my Mac M1. But when I build with my own code (nestjs), always getting the same error result: “The image was built but failed to start on the cluster. Because you are on an ARM64 machine, it is likely that you built an ARM64 image for an x86_64 cluster.
    Update failed with error code STATUSCHECK_CONTAINER_TERMINATED”
    I did tried some solutions, but still no luck. Anyone have tutorial nestjs combined with this great cloudrun tutorial?

  • @aimnblbol
    @aimnblbol 2 ปีที่แล้ว +1

    What if you have 10 services, do you create 10 projects for those 10 services or do you create one project with 10 services? Could someone answer this. Thanks

    • @TheMomander
      @TheMomander 2 ปีที่แล้ว +1

      I would put the 10 services in a single project. The services will probably share some things, like database, network config and so on. Having them in a single project makes this easier.

  • @itsdavidalonso
    @itsdavidalonso 10 หลายเดือนก่อน

    Anyone know why App Engine is not supported in Cloud Code?

  • @prites100
    @prites100 3 ปีที่แล้ว

    Cool feature

  • @AlbinKC96
    @AlbinKC96 3 ปีที่แล้ว +5

    0:39 story of my life

  • @moosegoose1282
    @moosegoose1282 3 ปีที่แล้ว +1

    how to test with postgres sql?

  • @sergiocamargo8515
    @sergiocamargo8515 ปีที่แล้ว

    Is there a way to delete a deployed service from Code Cloud?

  • @3rdtwirl494
    @3rdtwirl494 ปีที่แล้ว

    cloud code was found to be invalid or corrupted what can I do
    what does that mean

    • @TheMomander
      @TheMomander ปีที่แล้ว

      Sounds like something went wrong in the installation process. I would uninstall the extension, restart your computer, and try installing it again.

  • @pdougall1
    @pdougall1 ปีที่แล้ว +1

    This is nifty. I don't think this is a reasonable representation of working for a production application. Also if I were training someone new to systems like this I'd rather them learn the cloud console and how to operate independent of tools like this (emulator, docker, servers, deployment). This might be a nice tool to improve dev experience for a senior dev that already understands how to troubleshoot everything and can keep an understanding of what's going on under the covers.

  • @aussieraver7182
    @aussieraver7182 6 หลายเดือนก่อน

    I love it when software companies change their UI.
    I can't follow tutorials anymore, im looking at a completely different screen.
    If it ain't broke, don't fix it.

  • @ankitlakum1
    @ankitlakum1 3 ปีที่แล้ว

    Nice flag logo

  • @coffaschannel2021
    @coffaschannel2021 3 ปีที่แล้ว

    keren

  • @brandonbarr2784
    @brandonbarr2784 3 ปีที่แล้ว

    She has a good mic but sounds like it’s not working and using mic in computer