Skip to content

Commit b54531e

Browse files
architectural visuals for migrate_to_eks content #1408 (#1440)
* architectural visuals for migrate_to_eks content #1408 * incorporated PR comments 1408
1 parent d157f25 commit b54531e

9 files changed

+14
-4
lines changed

content/intermediate/200_migrate_to_eks/configure-eks-cluster.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ If the Postgres pod moves availability zones data will still be available.
99
If you'd like to do it manually you can follow the [EFS workshop here](https://www.eksworkshop.com/beginner/190_efs/).
1010

1111

12-
To let traffic cross between EKS and Cloud9 we need to create a VPC peer between our Cloud9 instance and our EKS cluster.
12+
To let traffic cross between EKS and Cloud9 we need to create a VPC peering between our Cloud9 instance and our EKS cluster as shown.
13+
![configure eks cluster vpc-peering](/images/migrate_to_eks/configure-eks-cluster-vpc-peering.png)
14+
1315

1416
```bash
1517
export EKS_VPC=$(aws eks describe-cluster \

content/intermediate/200_migrate_to_eks/create-kind-cluster.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ title: "Create kind cluster"
33
weight: 10
44
---
55

6-
While our EKS cluster is being created we can create a kind cluster locally.
6+
While our EKS cluster is being created we can create a kind cluster locally on the cloud9 instance.
7+
8+
![kind cluster](/images/migrate_to_eks/create-kind-cluster.png)
9+
710
Before we create one lets make sure our network rules are set up
811

912
{{% notice note %}}

content/intermediate/200_migrate_to_eks/deploy-counter-app-eks.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ weight: 50
66
Now it's time to migrate our app to EKS.
77
We're going to do this in two stages.
88

9-
First we'll move the frontend component but have it talk to the database in our old cluster.
10-
Then we'll set up the database in EKS, migrate the data, and configure the frontend to use it instead.
9+
Stage 1: First we'll move the frontend component but have it talk to the database in our old cluster.
10+
![front-end moved to eks](/images/migrate_to_eks/front-end-moved-to-eks.png)
1111

12+
Stage 2: Then we'll set up the database in EKS, migrate the data, and configure the frontend to use it instead.
13+
![database moved to eks](/images/migrate_to_eks/database-moved-to-eks.png)
1214
The counter app deployment and service is the same as it was in kind except we added two environment varibles for the `DB_HOST` and `DB_PORT` and the service type is LoadBalancer instead of NodePort.
1315

1416
```bash

content/intermediate/200_migrate_to_eks/deploy-counter-app-kind.md

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Once the kind cluster is ready we can check it with
88
```bash
99
kubectl --context kind-kind get nodes
1010
```
11+
Let us deploy the counter app in the kind cluster as shown here.
12+
13+
![counter app recording](/images/migrate_to_eks/counter-application-from-kind-cluster.png)
1114

1215
Deploy our postgres database to the cluster.
1316
First create a ConfigMap to initialize an empty database and then create a PersistentVolume on hostPath to store the data.
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)