Deploying an Amazon EKS cluster with Windows nodes using Terraform
In Chapter 7, Amazon EKS – Overview, we learned about the fundamentals of an Amazon EKS cluster, then in Chapter 8, Preparing the Cluster for OS Interoperability, we learned how to prepare a heterogeneous Amazon EKS cluster with Windows nodes, and we explored core infrastructure concepts of Windows nodes in this chapter.
Now, we will be diving deep into how to deploy a heterogeneous Amazon EKS cluster with Windows a node group using Terraform.
Important note
You will see code snippets for the remaining part of this chapter. The full Terraform code for this chapter can be found at https://github.com/PacktPublishing/Running-Windows-Containers-on-AWS/tree/main/eks-windows.
Creating security groups
We will first create the security group that will allow inbound/outbound TLS traffic between the Amazon EKS cluster and Windows nodes:
Name ... |