Forem

V-ris Jaijongrak
V-ris Jaijongrak

Posted on

1

Setup AWS EKS with Karpenter with Terraform

As a speaker at AWS Community Day Thailand 2025, I would like to share the summary of my presentation in this blog.

The trend of micro-services has driven the development process and the CI/CD to an extent that the containers and CI/CD tools have become mainstream. The container orchestration becomes a necessity, then the Kubernetes project emerged and has taken the lead in the world of container orchestration.

This presentation aims to give the audience the first glance at the EKS (Elastic Kubernetes Service) managed by AWS. Setting it up with a careful attention on architecture for security (Private Networking) and Least Privilege IAM policies, Efficiency in cost and performance are the goal. Knowing the basics and doing them right is always a good first step.

In the demo session of this presentation, I shared a terraform template in GitHub repository that can be uses on an EC2 instance to initialize the private subnets, a single NAT gateway in the VPC as its infrastucture.
Note: the handout demo is giving a detailed in constructing the VPC components for self-explanatory and thought process, but alternatively the terraform AWS VPC module is more concise and should be considered.

Then, the demo proceeds on creating the EKS cluster, and provision the managed nodegroup and Karpenter nodepools for workload provisioning.

For anyone who would like to follow along with the slide you can find it with the following link:

presentation slide

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

đź‘‹ Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay