From the course: Cloud Native Projects: AWS Serverless

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Deploying and running a Go Lambda function

Deploying and running a Go Lambda function - Amazon Web Services (AWS) Tutorial

From the course: Cloud Native Projects: AWS Serverless

Deploying and running a Go Lambda function

- [Instructor] So now that we've written our simple Lambda function using Go, it's time to compile it, package it, deploy it and run it. We're also going to take a look at how CloudWatch manifests the logs that we have created throughout this course. So after we get done doing all the work, we're going to jump back into the console and just take a look at CloudWatch so you can get a picture of why we've been doing all of this logging. All right, I want you to jump into your command line. Now, these commands that I am going to deal with, especially around compilation are very specific to my operating system. Go is a language that targets operating systems specifically as native files. That being said, if you are not on a Mac or a Linux machine, you're going to have slightly different Go commands in order to target a Linux deployment. AWS has some very good documentation around this in their building and deploying Go…

Contents