Course Overview
If you are working in the Cloud or DevOps space, then this course is for you. Golang has been gaining massively in popularity in the recent years. Forget the small shell scripts you'd write to glue things together. You can create real programs with a great programming language created by Google. It compiles fast, it runs fast, it has static typing, and it has been used to write popular applications like Docker and Kubernetes. It's the best choice to write your next applications in!
I'll show you how to write applications to integrate with any third party that has a REST API. While I'm explaining you our first program that will make API calls, you'll learn step by step how to use Go. Next, I'll show you how to integrate with the AWS API to launch a new instance using Go. Not launching instances anymore because you're workload is completely containerized? The next section shows you how to use the Kubernetes API using the Kubernetes go-client.
Once you went on to integrate with those technologies, you should be able to write your own Go code to integrate with the APIs that you're using within your organization. Happy learning!
I also answer all questions in the Q&A section and you can reach out to me by direct message. I run weekly office hours if you want to talk to me!
Note: this course has Closed Captions available in English (not auto-generated)
Update 04/2024:
* Added how to write a Kubernetes Operator Controller in Go
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 2 bài · 3 phút
Chương 2 Visual Studio Code Setup 1 bài · 7 phút
Chương 3 Our First Golang Application 21 bài · 3 giờ 56 phút
-
Introduction 2:39
-
Hello world 10:20
-
Hello world with command arguments 13:13
- Command Arguments With Conditionals Học thử 8:08
-
Go Cheatsheet 11:50
-
HTTP Get from an API 18:55
- Quiz 1 Học thử
- Parse HTTP JSON Response Học thử 15:23
-
Io.Reader Interface explained 24:39
-
Parsing different JSON schemas including switch, for and maps 11:36
-
Using Functions 14:23
- Custom Errors Học thử 8:41
-
Quiz 2
-
The flag package 8:20
-
Post requests (Introduction) 2:47
-
Requests with a JWT Token 29:41
-
Putting our code in a package 21:54
-
Correction: missing pointer in MyJWTTransport 3:29
-
Testing code 16:35
-
Testing our http.RoundTripper 13:03
-
Assignment 1 (JSON Parsing)
Chương 4 More Go Concepts 9 bài · 1 giờ 20 phút
-
Pointers 7:58
-
Arrays and Slices 6:05
-
Arrays and Slices (Example) 9:36
-
The Type Switch 10:13
-
Generics in Go 10:10
-
Types Example (Custom JSON Parsing) 13:57
-
Channels and the Go Keyword 9:53
-
Mutex (Mutual Exclusion) 12:32
-
Assignment 2 (Rate Limiting)
Chương 5 Building and Packaging 2 bài · 22 phút
-
Cross Compiling and cgo 10:28
-
Docker build Go Apps 11:16
Chương 6 Amazon Web Services (AWS) 7 bài · 1 giờ 28 phút
-
Introduction on how to use Go with AWS 2:24
-
Configure AWS credentials 5:31
-
Launching an EC2 with Go introduction 1:33
-
Launching an EC2 with Go 35:42
-
Uploading a file to s3 with the go-aws-sdk 21:56
-
Downloading a file from s3 with the go-aws-sdk 6:46
-
AWS SDK Testing 13:48
Chương 7 Microsoft Azure 8 bài · 1 giờ 18 phút
-
Introduction to Go with Azure 2:26
-
Setting up the Azure CLI 1:57
-
Retrieving Credentials and Creating ResourceGroup 19:36
-
VNet and Subnet Resources 9:09
-
Public IP Address Resource and Network Security Groups 14:13
-
Network Interface (NIC) Resource 7:32
-
Checking whether a VNet exists 11:26
-
Launching the Virtual Machine 11:35
Chương 8 Kubernetes with Go 6 bài · 1 giờ 45 phút
-
Introduction to kubernetes with Go 4:18
-
Kubernetes deployment with go-client 23:09
-
Updating deployments 4:15
-
Waiting for a pod to become active 15:04
-
Incluster Deployment of the GitHub Webhooks example 20:49
-
GitHub Webhooks with Kubernetes Integration 37:37
Chương 9 The SSH Package 6 bài · 1 giờ 13 phút
-
Using Go to generate SSH Keys 10:53
-
Introduction to SSH Client / Server 2:54
-
An SSH Server in Go 39:11
-
Implementing the "exec" request in our SSH Server 10:39
-
SSH Client Connections in Go 9:44
-
SCP Challenge
Chương 10 Challenge: Identity Providers (IdP) 28 bài · 3 giờ 29 phút
-
Introduction to Identity Providers and OpenID Connect 3:58
-
What is OpenID Connect (OIDC) 14:04
-
The oidc-start package 15:04
-
Task: write config parsing
-
Parse the config explained 8:07
-
Task: authorization endpoint
-
Authorization endpoint explained 16:08
-
Task: login endpoint
-
Login endpoint explained 21:27
-
Task: discovery endpoint
-
Discovery endpoint explained 6:13
-
Task: app server authorization
-
App server authorization explained 9:31
-
Task: token endpoint
-
Token endpoint explained 23:14
-
Task: appserver code exchange
-
Appserver code exchange explained 12:49
-
Task: parsing and validating the token
-
Parsing and validating the token 7:07
-
The jwks endpoint 6:37
-
JWT validation with jwks 13:12
-
Task: implement userinfo endpoint
-
Userinfo endpoint explained 10:36
-
Appserver userinfo request 8:41
-
OIDC Implementations 1:21
-
Enable OIDC on Jenkins 9:48
-
Improving our Discovery endpoint for AWS IAM OIDC 4:35
-
AWS IAM OIDC Federation 16:10
Chương 11 TLS in Go 12 bài · 2 giờ 8 phút
-
Introduction to TLS 6:03
-
TLS Strategies 9:48
-
Creating a TLS command-line utility with Cobra 11:08
-
Introduction to Cobra 6:01
-
Parse our config with Cobra 10:09
-
Cobra (sub)commands 10:30
-
Create a CA (Certificate Authority) with Go 24:08
-
Create and Sign an X.509 certificate with Go 13:26
-
Running a TLS enabled web server 4:31
-
Let's Encrypt enabled web server 8:26
-
MTLS Server 11:14
-
MTLS Client 12:58
Chương 12 A DNS Resolver in Go 12 bài · 2 giờ 1 phút
-
Introduction to DNS 8:45
-
DNS Packets Explained 14:26
-
DNS Resolver Logical Flow Diagram 8:30
-
DNS Resolver Demo: Project Start 4:06
-
Task: outgoing DNS query
-
Outgoing DNS queries 24:56
-
Task: Building a DNS server
-
DNS Resolver (Part I) 25:14
-
Task: Making queries and parsing responses
-
DNS Resolver (Part II) 23:54
-
Task: Nameserver lookups
-
DNS Resolver (Part III) 10:43
Requirment
-
Some scripting or programming experience will be a plus, as not every foundational concept will be explained
-
If you're planning to use AWS or Kubernetes with Go, you'll need some basic AWS/Kubernetes experience
Outcomes
-
Learn Golang basics by example
-
Learn how to use Golang as a DevOps or Cloud Engineer with industry specific use-cases
-
Learn how to use the AWS Go SDK
-
Learn how to use the Azure Go SDK
-
Learn how to use the Kubernetes API and Go SDK
-
Integrate with GitHub Webhooks in Go
-
Write your own Identity Provider (IdP) with OpenID Connect (OIDC)
-
Write your own SSH Server and Client in Go
-
Create an openssl-alike command line utility to create X.509 Certificates to run an https-secured webserver
-
Integrate Let's Encrypt certificates and use mutual TLS (mTLS) between services
-
Write your own DNS Server (Resolver) in Go, using only official Golang libraries
0 Student
2 Courses
0 review