Software Alternatives & Reviews

Using Golang for your AWS Lambda Functions

AWS Lambda AWS CloudFormation
  1. Automatic, event-driven compute service
    Pricing:
    • Open Source
    I was sparked on a XKE to do a short experiment with using Golang for my AWS Lambda Functions. The trigger for this was something my colleague Mark van Holsteijn said. We where talking about sustainability. During this talk Mark made the comment that we should drop Python for our functions then. (He also recently wrote a blog on Golang using Golang for custom providers.).

    #Cloud Computing #Cloud Hosting #Backend As A Service 245 social mentions

  2. AWS CloudFormation gives developers and systems administrators an easy way to create and manage a...
    Pricing:
    • Open Source
    In python you have the option to do inline code in AWS CloudFormation templates. I would never recommend doing this. When you needs other dependencies than that there are available. You will need to bundle them yourself and upload them as a zipfile. When you are missing a dependency the invocation of your function will fail at runtime. When you use Golang the dependencies are all build into the binary. Especially when you set the CGO_ENABLED=0 option in your compile options. This will make sure that all the needed libraries are included.

    #DevOps Tools #Continuous Integration #Continuous Deployment 113 social mentions

Discuss: Using Golang for your AWS Lambda Functions

Log in or Post with