GO without SERVERS? How to Deploy Go to Lambda

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 56

  • @MelkeyDev
    @MelkeyDev  Год назад +20

    This was such a fun video to make - it is my longest video to date.
    I hope you all find it helpful and useful.
    Let me know if you would change anything or what videos you want to see in the future!

  • @SirFlak
    @SirFlak Год назад +5

    As someone that doesn´t work with AWS or Go (yet), this video is really informative and easy to follow! Great job!

  • @blakegreendev
    @blakegreendev Год назад +21

    Why not use go for CDK as well?

  • @InnocuousParadox
    @InnocuousParadox Год назад +9

    Go runtime is being migrated/deprecated.
    Maybe you can update the video to cover this?
    Awesome video to get people started with Go serverless!

    • @Phaceial
      @Phaceial Год назад

      The only thing you have to do is just containerize it and use the custom runtime option for lambdas. It's pretty trivial if you ever deployed anything to fargate.

    • @thisisreallyme3130
      @thisisreallyme3130 4 месяца назад +1

      +1 to just showing how to do it with theGo runtime (or whatever it was updated to).
      I think most of the folks watching (and asking, myself included) aren't yet at the experience level where it's "trivial" to blaze your own solution.
      (If we were at that level, would we be watching a Hello World Go Lambda tutorial? Probably not)

  • @FabulousFadz
    @FabulousFadz Год назад

    Been watching without subscribing. The algorithm just kept recommending you and I thought I was subscribed. Until I saw the crossover event with Prime earlier today (comment incoming) and saw that I wasn't subscribed. Corrected it here. Recent Go convert from C#... Funny thing is I had started to make C# content then my eyes were opened... now I'm planning content for Go that will include info for people coming from C# and other languages I've used. Been watching tons of Go content to see how others are doing it and what they're covering to find my formula. Your videos have been helpful

  • @emil_l889
    @emil_l889 Год назад

    Deploying today thanks to this vid, bless up fam

  • @emil_l889
    @emil_l889 Год назад

    Oh my goodness a long schmelkey video!!!! Friday W

  • @bumpy_lumps
    @bumpy_lumps Год назад

    love getting some time in the lab with this one, Go FTW

  • @moonsteroid
    @moonsteroid Год назад +1

    Great video, to simplify this even further you could use the serverless framework instead of cdk as it makes things way easier to deploy! I really like the combo of serverless + go

  • @chalopdev
    @chalopdev Год назад

    When I saw your tweet on this, I wished upon a star that you would make a vid about it.
    Wishes come true, thanks!

  • @doodooti-ch
    @doodooti-ch 3 месяца назад +1

    Thanks for this ❤️, can u do a complete course a bout aws serverless using Go

    • @MelkeyDev
      @MelkeyDev  3 месяца назад +2

      I have one - check it out at Frontend Masters

  • @zevo92
    @zevo92 Год назад

    Really liked the video. Looking forward to more !

  • @ilya2898
    @ilya2898 Год назад +1

    would love more cdk vids

  • @laurentcharles7179
    @laurentcharles7179 2 месяца назад

    Thanks for sharing. I would also like to know how do I run the local service as well.

  • @omarcrosby
    @omarcrosby 10 месяцев назад

    Loved it thanks.

  • @kiyov09
    @kiyov09 Год назад

    Hot stuff 🔥. Very cool

  • @JohnBrosan
    @JohnBrosan Год назад

    I’m new to the AWS CDK, but is my assumption that creating a sub folder under lambdas for specific lambdas is how that works? So, /lambdas/myuserapi ?

  • @dogfrogfog
    @dogfrogfog Год назад

    would love to hear about infra as a code

  • @alexgochenour8740
    @alexgochenour8740 10 месяцев назад

    Thank you for this fine presentation. This is a good format. Some suggestions, imho, would be to add explanations to a few things. I've used Lambdas plenty, but never with the CDK and Go together. Why did you choose to deploy with that rather than the Serverless Framework or some other tech? Why test with the curl program as opposed to Postman etc.? While these weren't new to me, I hadn't used either in a while and wonder how less experienced devs might react. You might also add a few quick troubleshooting pointers, such as making sure the AWS region is correct, and common beginner mistakes.

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад

      Love this feedback - thank you

  • @mvaldes
    @mvaldes Год назад

    This is a devops channel now. Cool

  • @3abdoB6a
    @3abdoB6a Год назад

    Great vid melky
    I use GCP they have 3 month (300$) for free

  • @EVGizmo
    @EVGizmo Год назад

    The question is now do I do all my apps in AWS Serverless or no

  • @Endurancecoach00
    @Endurancecoach00 Год назад

    Is it vercel or verchel?

  • @Muhammed-nani964
    @Muhammed-nani964 Год назад

    time to create a project for testing aws

  • @ShubhamYadav-nv5hf
    @ShubhamYadav-nv5hf Год назад

    Can this work with GCP cloud functions??

  • @KevinNaughtonJr
    @KevinNaughtonJr Год назад +2

    FIRST

  • @ivoneijr
    @ivoneijr 10 месяцев назад +1

    repoooo dude! 😅

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +2

      I truthfully believe the best way to learn is to not just copy and paste from existing repo's but next one I will

    • @ivoneijr
      @ivoneijr 10 месяцев назад

      ​@@MelkeyDev Me too, but sometimes people don't want to learn something, they are looking for a shortcut.
      PS* awesome content and explanations!

  • @jimmytango
    @jimmytango 11 месяцев назад +1

    not sure what im doing but i followed this twice so far and keep getting hit with "message": "internal server error"

    • @MelkeyDev
      @MelkeyDev  11 месяцев назад

      How are you deploying? What route are you calling? Consider joining the Discord and I can help you out better

    • @travistarp7466
      @travistarp7466 10 месяцев назад

      Had the same issue, you have to compile to proper architecture `GOOS=linux GOARCH=amd64 go build -tags lambda.norpc -o bootstrap main.go` , You can also set the arch in myFunction ` const myFunction = new lambda.Function(this, "MyLambda", {
      code: lambda.Code.fromAsset("lambdas"),
      handler: "main",
      runtime: lambda.Runtime.PROVIDED_AL2023,
      architecture: lambda.Architecture.X86_64,
      });`

    • @jimmytango
      @jimmytango 10 месяцев назад +1

      @@travistarp7466i just tried that and it didnt work. keeps return forbidden. is there user bs that needs to be configured as well?

  • @jaswdrTheDev
    @jaswdrTheDev 8 месяцев назад

    Why not define the CDK code using Go instead of Typescript? The Python, Go, Java and other interfaces are as well defined as the TS version.

    • @MelkeyDev
      @MelkeyDev  8 месяцев назад +1

      I just like the TS implementation!

  • @IvanRandomDude
    @IvanRandomDude Год назад +11

    Serverless is when you have millions of servers instead of one. Checkmate, atheists!

    • @BboyKeny
      @BboyKeny Год назад

      It's serverless not serversless

  • @fille.imgnry
    @fille.imgnry Год назад

    Waaaat? AWS console has dark mooodee?? Oohh

  • @LowkeyAbu
    @LowkeyAbu Год назад

    Server-less? Or Server-more? 👀

  • @sakelig4389
    @sakelig4389 Год назад