Backend Master Class [Go + Postgres + Kubernetes + AWS]
Tags: go, postgres, kubernetes, aws
Published: 2022-01-30 10:41:14

Finally, Tech School's [Backend Master Class](https://bit.ly/3T5mf75) course is completed and published on **Udemy**. Here's a [discount coupon link](https://bit.ly/3T5mf75) if you want to learn it on Udemy and earn a certificate of completion.

In this course, you will learn step-by-step how to **design**, **develop** and **deploy** a backend web service from scratch. I believe the best way to learn programming is to build a real application. Therefore, throughout the course, you will learn how to build a backend web service for a **simple bank**. It will provide APIs for the frontend to do the following things:

- Create and manage bank accounts.
- Record all balance changes to each of the accounts.
- Perform a money transfer between 2 accounts.

The programming language we will use to develop the service is **Golang**, but the course is not just about coding in Go. The course is divided into 4 main parts: 

1. In the first part, you will learn deeply about how to design the **database**, generate codes to talk to the DB in a consistent and reliable way using transactions, understand the DB isolation levels, and how to use it correctly in production. Besides the database, you will also learn how to use **Docker** for local development, how to use **Git** to manage your codes, and how to use **Github Action** to run unit tests automatically.

2. In the second part, you will learn how to build a set of RESTful HTTP APIs using **Gin** - one of the most famous **Golang** frameworks for building web services. This includes everything from loading app configs, mocking DB for more robust unit tests, handling errors, authenticating users, and securing the APIs with **JWT** and **PASETO** access tokens.  

3. In the third part, you will learn how to build your app with **Docker** and deploy it to a production **Kubernetes** cluster on **AWS**. The lectures are very detailed with a step-by-step guide, from how to build a minimal docker image, set up a free-tier AWS account, create a production database, store and retrieve production secrets, create a Kubernetes cluster with **EKS**, use **Github Action** to automatically build and deploy the image to the EKS cluster, buy a domain name and route the traffics to the service, secure the connection with **HTTPs** and auto-renew **SSL/TLS** certificate from **Let's Encrypt**.

4. The last part is a work-in-progress, where we discuss more advanced backend topics such as managing user sessions, building gRPC APIs, using gRPC gateway to serve both gRPC and HTTP with 1 single implementation of the handler, and embedding Swagger documentation as part of the backend service, etc. We will keep making and uploading new videos over time, so please come back here to check them out from time to time.

This course is designed with a lot of details, so that everyone, even with very little programming experience can understand and do it by themselves. I strongly believe that after the course, you would be able to work much more confidently and effectively in your projects.

If you like the course, please give me some meaningful feedback on Udemy, and feel free to share it with your friends and colleagues. And don't forget to check out my channel for more videos & courses: [http://techschool.guru/](https://youtube.com/c/TECHSCHOOLGURU)