Reach for the Clouds: A Crawl/Walk/Run Strategy with Kong and AWS - Part 1: Crawl

Reach for the Clouds: A Crawl/Walk/Run Strategy with Kong and AWS - Part 1: Crawl

Apr 20, 2023

Reach for the Clouds: A Crawl/Walk/Run Strategy with Kong and AWS - Part 1: Crawl

Brought to you by @KongInc Senior Partner Developer Danny Freese

Follow along with this tutorial from our Partner Engineering Team with this GitHub Repo: https://github.com/Kong/cloud-migration-journey

Welcome to the "Crawl" stage of our Cloud Migration Journey! In this tutorial, we will show you how to de-risk and lift-and-shift your connections using Kong Mesh and #Konnect during a migration to the cloud.

The "Crawl" stage is the first phase of our 3-phased approach, and it aims to deploy the monolith and Konnect runtime instance, and onboard the monolith to Konnect.

To do this, we will use AWS for cloud infrastructure, #Terraform to deploy the #AWS infrastructure, #Ansible to deploy the Kong services to the environments, and Docker to package up the code and any tooling required to simplify running this demo.

Before we get started, make sure you have the following prerequisites: Linux or MacOS, an AWS account with permissions to create VPCs, Subnets, EC2 instances, EKS Clusters, Keys, etc., a Kong Konnect free account and Runtime Group ID, credentials for Personal Access Token, Control Plane Instance ID (this is described in more detail in the Kong Konnect documentation Set up a Runtime), AWS CLI, #Docker or Docker Desktop, Insomnia Desktop App, and Make.

Once you have everything set up, clone the demo repository and navigate to the cloud-migration-journey sub-directory. Then, run the "build" and "prep" targets to build the utility containers needed to run the demo and create a.kmj directory in your $HOME.

Next, deploy the AWS infrastructure by running the "infra.deploy" target. This will generate any dynamic files for the demo in the ~/.kmj directory, the kubeconfig, and EC2 keys.

With the infrastructure successfully deployed, you are ready to start the "Crawl" stage. Execute the "kong.phase1" target to install any Konnect and Kong Mesh services in the AWS infrastructure, and proceed to the tutorial to learn how to deploy the monolith and onboard it to Konnect.

Subscribe to our channel for more.