Menu

1 / 6

i built and deployed a 3-tier app on kubernetes and aws eks

DEV Community: cloud·altered·6 months ago
#Ha1QmBY5
#dev#kubernetes#database#cloud#storage
Reading 0:00
15s threshold

i recently finished building and deploying a 3-tier application, starting locally on minikube and then migrating it to aws eks. this post is about what i built, how it all connects, and a couple of things that tripped me up along the way as a beginner who recently completed the aws certified cloud practitioner (clf-c02) exam and the kubernetes and cloud native associate (kcna) certification.

what i built

a simple 3-tier app with:

a frontend — nginx serving an html page

a backend — node.js api

a database — mongodb

the full picture

browser → aws alb → ingress → frontend pod (nginx) → backend pod (node.js) → database pod (mongodb) → ebs volume (persistent storage)

nothing really fancy, just needed to do some hands on in the cloud.

how it works locally (minikube)

i started on minikube, a tool that runs kubernetes on your local machine.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.