Hands-on Serverless Computing with Go

Hands-on Serverless Computing with Go

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 3h 34m | 608 MB

Save time and resources by building applications with Golang and deploying them to AWS Lambda

Our course will help you make your application serverless with Amazon Web Services (AWS). Save time, effort, and cost by removing the need to manage your own servers while still writing your code in Go. You will first be introduced to AWS, then to writing Lambda functions in Go and using them to access the various AWS services.

We will first get the Go function working on AWS by using the API-Gateway to call it. Using the AWS Command Line interface, we will build our functions on your local computer and save you having to and manage your Go code. Then we will use the AWS SDK to enable your Lambda Go functions to call into other AWS services such as the S3 Bucket. We will then connect the domain to AWS and add HTTPS/TLS security for your users.

Once we have the foundations in place, we will build a secure chat application named Logchat by maintaining sessions, where users must log in before speaking on the chat, introducing the services we need as we go.

With a hands-on approach, you will master security considerations in the AWs Suite, and how to maintain your serverless applications.

Each section in this course builds incrementally on the last—starting with AWS services, Lambda functions in Go, and then using them to access AWS services.

Once we have the foundations in place we will build a secure chat application named Logchat where users must log in before speaking on the chat, introducing the services we need as we go.

We will not focus heavily on teaching Go, only on using the libraries that are helpful to AWS Lambda.

What You Will Learn

  • What AWS (Amazon Web Services) are and how to access them
  • How to write Lambda functions in Go and run them
  • How to connect Lambda functions to the rest of your AWS services
  • How to run Golang code as Lambda functions
  • The AWS-Lambda Golang SDK and how to use it.
  • Setting up and using DynamoDB
  • Running sessions in a microservice environment.
  • How to make sure your connections are secure using TLS
  • How to attach your own domain to AWS
Table of Contents

Introduction to Amazon Web Services and Lambda
1 The Course Overview
2 What Is Amazon Web Services
3 What Is Lambda
4 Security Through AWS-IAM Permission Policies
5 AWS Regions and Architecture

Creating and Calling a Go Function
6 Writing Our First Function in Go
7 API Gateway — Let Clients Run Your Code
8 API Gateway and Errors

AWS Command Line Interface and Apex Tools
9 AWS Command Line Interface
10 AWS-CLI Uploading and Invoking Functions
11 Getting CLI Responses into Golang
12 Uploading Your Lambdas Automatically
13 Whether to Create or Update the Lambda

Maintaining Real Data by Accessing AWS Services
14 The AWS SDK
15 Setting Up to Use the SDK
16 Accessing the S3 Bucket

Using Your Own Domain and Enabling Secure Connections
17 Using Your Own Domain
18 Using HTTPS with Your Domain
19 Pointing Your Domain at Your Lambdas

Completing the Secure Chat Application
20 A Chat Application
21 Password and Timestamp Utilities
22 Users and Sessions
23 Chats
24 Setting Up the API Gateway
25 The Front End

Keep Your Serverless App Running, While Monitoring and Testing It
26 Cookies
27 Environment Variables
28 Logging