\
0:00 Introduction
9:23 About me
10:24 Installing Go,Visual Studio Code,Make,
15:04 Asking for help
16:18 Mistakes. We all make them.
a simple front end and one Micros
17:25 What we’ll cover in this section
18:07 Setting up the front end
19:44 Reviewing the front end code
23:20 Our first service the Broker
38:16 Building a docker image for the Broker
47:15 Adding a button and JavaScript to the
55:54 Creating some helper functions to deal
1:04:58 Simplifying things with a Makefile (
an Authentication Service\
1:12:43 What we’ll cover in this section
1:14:35 Setting up a stub Authentication ser
1:25:49 Creating and connecting to Postgres
1:34:45 Updating our for
1:48:58 Populating the Postgres database
1:51:26 Adding a route and handler to accept
2:00:06 Update the Broker for a standard JSO
2:15:13 Updating the front end to authentica
a Logger Service\
2:22:23 What we’ll cover in this section
2:23:23 Getting started with the Logger serv
2:33:30 Setting up the Logger data models
2:48:35 Finishing up the Logger data models
2:56:37 Setting up routes, handlers, helpers
3:05:19 Adding MongoDB to our docker-compose
3:11:52 Add the logger-service to docker-com
3:16:15 Adding a route and handler on the Br
3:22:46 Update the front end to post to the
3:26:59 Add basic logging to the Authenticat
3:31:24 Trying things out
a Mail Service\
3:35:47 What we’ll cover in this section
3:36:58 Adding Mailhog to our docker-compose
3:39:05 Setting up a stub Mail microservice
3:44:14 Building the logic to send email
4:07:32 Building the routes, handlers, and e
4:20:03 Challenge Adding the Mail service to
4:20:48 Solution to challenge
4:24:36 Modifying the Broker service to hand
4:32:36 Updating the front end to send mail
4:42:26 A note about mail and security
a Listener service AMQP with Rabb
4:43:45 What we’ll cover in this section
4:46:14 Creating a stub Listener service
4:49:35 Adding RabbitMQ to our docker-compos
4:53:57 Connecting to RabbitMQ
5:01:48 Writing functions to interact with R
5:23:04 Adding a logEvent function to our Li
5:25:45 Updating to start the Listen
5:28:29 Change the RabbitMQ server URL to th
5:29:10 Creating a Docker image and updating
5:35:50 Updating the broker to interact with
5:40:19 Writing logic to Emit events to Rabb
5:46:17 Adding a new function in the Broker
5:52:55 Trying things out
between services using Remot
5:56:51 What we’ll cover in this section
5:59:05 Setting up an RPC server in the Logg
6:04:44 Listening for RPC calls in the Logge
6:09:29 Calling the Logger from the Broker u
6:15:11 Trying things out
things up (potentially) with gRPC
6:17:58 What we’ll cover in this section
6:20:26 Installing the necessary tools for g
6:23:13 Defining a Protocol for gRPC the .pr
6:27:36 Generating the gRPC code from the co
6:33:54 Getting started with the gRPC server
6:40:54 Listening for gRPC connections in th
6:45:02 Writing the client code
6:55:50 Updating the front end code
6:58:01 Trying things out
our Distributed App using Docker
7:00:44 What we’ll cover in this section
7:04:02 Building images for our microservice
7:07:55 Creating a Docker swarm deployment f
7:19:45 Initalizing and starting Docker Swar
7:24:24 Starting the front end and hitting o
7:26:37 Scaling services
7:29:56 Updating services
7:34:27 Stopping Docker swarm
7:36:18 Updating the Broker service, and cre
7:42:12 Solution to the Challenge
7:44:39 Adding the Front end to our
7:46:05 Adding Caddy to the mix as a Proxy t
7:56:20 Modifying our hosts file to add a ba
8:02:52 Challenge correcting the URL to the
8:09:35 Solution to challenge
8:11:56 Updating Postgres to 14.2 - why moni
8:13:49 Spinning up two new servers on Linod
8:18:27 Setting up a non-root account and pu
8:24:00 Installing Docker on the servers
8:27:19 Setting the hostname for our server
8:30:52 Adding DNS entries for our servers
8:36:36 Adding a DNS entry for the Broker se
8:37:55 Initializing a manager, and adding a
8:40:21 Updating our and Caddy doc
8:47:26 Trying things out, and correcting so
8:58:15 Populating the remote database using
9:00:48 Enabling SSL certificates on the Cad
our Distributed App to Kubernet
9:12:01 What we’ll cover in this section
9:13:59 Installing minikube
9:15:54 Installing kubectl
9:18:33 Initializing a cluster
9:21:39 Bringing up the k8s dashboard
9:24:26 Creating a deployment file for Mongo
9:46:47 When things go wrong...
9:54:40 Creating a deployment file for MailH
10:07:49 Running Postgres on the host machin
10:10:36 Creating a deployment file for the
10:14:27 Trying things out by adding a LoadB
10:20:55 Creating a deployment file for the
10:25:37 Adding an nginx Ingress to our clus
10:29:57 Trying out our Ingress
10:34:21 Scaling services
10:37:54 Updating services
10:39:57 Deploying to cloud services