In this step by step tutorial I take you through how to set up Envoy as an API Gateway and run it in Docker Compose with two .NET Core APIs. Specifically, the 2 API Gateway use cases we’ll cover are:
• HTTP Routing
• TLS / HTTPS Termination

Level: Intermediate

💻 GitHub Repo: https://github.com/binarythistle/S03E06---Envoy-API-Gateway-with-.NET-Core
💻 Microsoft eShopOnContainers Project: https://github.com/dotnet-architecture/eShopOnContainers

⏲️ Time Codes ⏲️

PART 1 - INTRODUCTION

  • 2:25 Course Overview
  • 6:00 Architecture
  • 8:02 Demo

PART 2 - THEORY

  • 11:00 Ingredients
  • 11:47 What is an API Gateway?
  • 18:10 What is Envoy?
  • 19:47 How Envoy works?

PART 3 - API / SERVICE SETUP

  • 20:47 API Set Up
  • 27:54 Dockerize our APIs
  • 30:35 Configure for HTTPS - Certificates
  • 35:30 Configure for HTTPS - User Secrets
  • 42:07 Docker Compose Setup

PART 4 - ENVOY HTTP ROUTING

  • 53:38 Get started with Envoy (Default Config)
  • 1:06:48 Run Envoy in Docker Compose
  • 1:11:37 HTTP Routing & Envoy.yaml
  • 1:16:12 Docker Compose Networking

PART 5 - ENVOY & HTTPS/TLS TERMINATION

  • 1:23:27 HTTPS/TLS Termination Overview
  • 1:26:25 Remove HTTPS Redirection (from 1 API)
  • 1:27:14 Generate Certificates for Envoy using OpenSSL
  • 1:33:34 Configure HTTPS/TLS Terminaiton in Envoy
  • 1:41:06 Configure end to end HTTPS in Envoy

PART 6 - WRAP UP

  • 1:47:05 Final Thoughts
  • 1:48:47 Supporter Credits

#api #dotnet

Build an API Gateway with Envoy and use with .NET Core APIs
24.40 GEEK