News

AWS Lambda Serverless Computing Service Gets Go Support

After recently releasing a preview of its SDK for Go 2.0, Amazon Web Services Inc. (AWS) is continuing to infuse support for the Go programming language on its cloud computing platform.

Last week, the cloud giant announced the addition of a Go runtime to its AWS Lambda serverless computing service.

"You simply upload your Go executable artifact as a ZIP file through the AWS CLI or Lambda console and select the go1.x runtime," AWS said in a blog post last week announcing the new Go support. "With Lambda, you can use Go's native tools to build and package your code."

While Lambda is part of the so-called serverless movemement, it obviously depends on servers running in the cloud. The serverless part just means developers don't have to worry about hand-coding all the nitty-gritty details of provisioning and managing servers for specific projects. Instead, Lambda hosts code that's triggered externally, typically in response to events, and users pay only for the compute time consumed.

The Go support on the AWS cloud keeps coming even though the programming language (often referred to as Golang because of its generic name) originated some nine years ago at Google, which is a major cloud computing platform rival of AWS. It was subsequently open sourced.

Last week, AWS provided further details on Lambda's new support for Go.

"You can also use the AWS Serverless Application Model (SAM) to deploy and manage your serverless application authored in Go," the post said. "In addition, AWS CodeStar's Go templates let you easily set up an entire development and continuous delivery toolchain for your serverless application. Once the application has been deployed, you can use AWS X-Ray and its Go SDK to troubleshoot and analyze the performance of your application. Support for testing Go functions locally with SAM Local is coming soon.

AWS said the Go runtime is available in all regions where Lambda is available.

About the Author

David Ramel is an editor and writer for Converge360.