AWS Lambda With GO - A Simple Example, Code & Deploy

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 32

  • @VinayShetty-qs1xq
    @VinayShetty-qs1xq 9 місяців тому

    Best Tutor!!

  • @roberto_camp
    @roberto_camp 2 роки тому +1

    Great stuff Akhil, learned alot because you explain things so well, and you have a compelling, fast pace to your speaking.

  • @SuryaPrakashbabul
    @SuryaPrakashbabul Рік тому

    Wao, its awesome

  • @freivincampbell
    @freivincampbell 7 місяців тому

    Thank you 😊

  • @georgelza
    @georgelza Рік тому

    Can I request... would really appreciate it if you can do a video how to build a lambda package, for go, using the confluent_kafka package. Confluent it seems uses external C based routines, requiring you to gave a gcc compiler on your build machine, which also requires GCP = 1 set, and then when you deploy it seems to require some libraries on the Lambda container also. being stuck with this for the last.

  • @ashutoshpanda4336
    @ashutoshpanda4336 3 роки тому +1

    please make this a series with Authorizer cloudformation deployment from cli itself. multiple Serverless function with different routes development on local and deployment to AWS. no has done it I'm really struggling to do that. please

    • @AkhilSharmaTech
      @AkhilSharmaTech  3 роки тому +3

      Hi bro, in 2 days, coming up with a serverless stack series
      With api gateway, lambda and dynamo
      But authorizer cloudformation not there.
      Let me plan that also in some future video

  • @johnt2491
    @johnt2491 2 роки тому

    Thank you Akhil! 😃I'm buying your Udemy course as a "thank you" plus I'm excited to build some projects in go. You're awesome!! 😃

  • @lukaszbe5674
    @lukaszbe5674 2 роки тому

    Hey Akhil,
    like you mentioned, not much on YT about deploying Go on AWS lambda, especially without GUI console. Appreciated a lot!
    I can not find your github repo mentioned on the beginning, is it public?

    • @AkhilSharmaTech
      @AkhilSharmaTech  2 роки тому

      Yeah bro it's public, you're on my.github profile right ?

    • @lukaszbe5674
      @lukaszbe5674 2 роки тому

      @@AkhilSharmaTech I have also check section "about" on YT channel :)

  • @devprakash5320
    @devprakash5320 2 роки тому

    Hey Akhil, I had a question. I'd really appreciate it if you could help me out . I have started working on the backend of a project which is going to be serverless. I was thinking of a good way to deploy it. My backend stack is api gateaway , lambda and Rds . Earlier I thought of using serverless framework, could u plz suggest me how should I go about it ?

    • @AkhilSharmaTech
      @AkhilSharmaTech  2 роки тому +3

      Hi bro
      Tomorrow evening new video coming out - complete serverless stack with golang
      Pls check it out, if u still have issues we can discuss on a call

  • @bavan1358
    @bavan1358 3 роки тому

    Hello sir,
    Do you have any plans of conducting online classes?
    Like it'd be really helpful and I'm ready to pay to learn from you.

    • @AkhilSharmaTech
      @AkhilSharmaTech  3 роки тому

      Hi bro
      I have courses coming up.
      Let me know what type of course you would like to see.

  • @awallaustin
    @awallaustin 2 роки тому

    Hey Akhil, when I run the create function command, I eventually get a timeout response:"Read timeout on endpoint URL:" along with a URL, upon accessing the URL I get "
    message "Missing Authentication Token""
    Is there a particular way i'm supposed to set up my access key/secret access key? Not sure why this is an issue since i've been able to create EC2s from the CLI and I was able to create the role in this same video. thanks for your help

    • @awallaustin
      @awallaustin 2 роки тому

      disregard, it still managed to work. Thanks for all you do

    • @awallaustin
      @awallaustin 2 роки тому

      BTW do you have patreon or another way to support your work?

    • @AkhilSharmaTech
      @AkhilSharmaTech  2 роки тому

      hi austin, just saw this, glad you were able to make this work :D
      the best way to support my work is by becoming a killer golang developer.
      that's all i want :)
      luckily i have my own software firm and that takes care of the finances, so no patreon here for a very long time :)

    • @awallaustin
      @awallaustin 2 роки тому

      @@AkhilSharmaTech Thanks a lot Akhil, very much enjoying learning with your channel and wish you the best

  • @rahulraparia
    @rahulraparia Рік тому

    I love you

  • @Tejas_Khode
    @Tejas_Khode 8 місяців тому

    Zip command is not working for me in windows. How do I resolve that?

  • @sanketkumar501
    @sanketkumar501 Рік тому

    If anybody is facing the issue of
    bash: zip: command not found error,
    Then manually go to the working folder and right click of main file and compress as to zip with name function.zip
    You should be now good to go.

  • @venkateshgaddam7810
    @venkateshgaddam7810 2 роки тому

    Hi Sir, I followed each and every step you have mentioned. But I am getting the below error.
    "fork/exec /var/task/main: no such file or directory: PathError"
    I am using VScode in windows machine. Can you please help me with this.

    • @sanketkumar501
      @sanketkumar501 Рік тому

      I was facing the same issue and after 2 hours of debugging and browsing i resolved it.
      1. Delete the output.txt file, 'main' binary file and function.zip folder.
      1. Restart your computer first.
      2. Now make sure you zip the main file and not the main.exe file.
      3. Instead of go build main.go, use the command env GOOS=linux GOARCH=amd64 go build -o main
      4. Rest two commands as it is(don't forget to change the account number in this command part arn:aws:iam::123456789012:role
      to your own aws account id(iam id number)
      5. Once you have executed the command, output file will be present with the right output.

  • @imteyazraja5989
    @imteyazraja5989 3 роки тому

    Hi mate... what happened to restaurant management/ monolithic to microservices projects and ...? Is there an end for those or not? No Playlist no github repo as well. Please work on pending projects first 🙏

    • @AkhilSharmaTech
      @AkhilSharmaTech  3 роки тому +2

      Hi imteyaz
      Really sorry bro, I was working on a really cool project with a complete serverless stack - api gateway + lambda + dynamodb and I got carried away because it required a lot of time from me.
      I will be launching a 2 hour video for this entire serverless project in about 2 days time, then I'm totaly free and will be continuing those pending projects.
      Thanks for following along. Am I doing a good job of explaining the monolith to microservices project? I felt that maybe that project is too complex for UA-cam audience?

    • @imteyazraja5989
      @imteyazraja5989 3 роки тому

      @@AkhilSharmaTech you are doing great..please continue 👏 following ur projects always make us feel real world experience..good luck..thanks for all your hard work

    • @AkhilSharmaTech
      @AkhilSharmaTech  3 роки тому +1

      @@imteyazraja5989 thanks for the encouraging words, i'll continue those projects, apologies again for the delay, but what's happened is that serverless has gained a lot of popularity and many people are including it in their tech stacks so i thought it's the need of the hour to build something with that quickly as many people had asked for it in the comments also

  • @snakee580
    @snakee580 2 роки тому +2

    If you are building on an OS that isn't Ubuntu, remember to do `GOARCH=amd64 GOOS=linux go build main.go` , or your lambda won't run in AWS