Skip to content

Commit

Permalink
Create worker node group on prod for FDB
Browse files Browse the repository at this point in the history
Use `c6a.8xlarge` CPU optimises instanvce types in prep to run FDB on
`prod`.
  • Loading branch information
masih committed Jun 12, 2023
1 parent 6406c1e commit 04ab90a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy/infrastructure/prod/us-east-2/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,17 @@ module "eks" {
instance_types = ["r6a.2xlarge"]
subnet_ids = [data.aws_subnet.ue2c1.id, data.aws_subnet.ue2c2.id, data.aws_subnet.ue2c3.id]
}
prod-ue2-c6a-8xl = {
min_size = 0
max_size = 20
desired_size = 1
instance_types = ["c6a.8xlarge"]
subnet_ids = [
data.aws_subnet.ue2a1.id, data.aws_subnet.ue2a2.id, data.aws_subnet.ue2a3.id,
data.aws_subnet.ue2b1.id, data.aws_subnet.ue2b2.id, data.aws_subnet.ue2b3.id,
data.aws_subnet.ue2c1.id, data.aws_subnet.ue2c2.id, data.aws_subnet.ue2c3.id
]
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ data:
- system:nodes
rolearn: arn:aws:iam::407967248065:role/prod-ue2c-r6a-2xl-eks-node-group
username: system:node:{{EC2PrivateDNSName}}
- groups:
- system:bootstrappers
- system:nodes
rolearn: arn:aws:iam::407967248065:role/prod-ue2-c6a-8xl-eks-node-group
username: system:node:{{EC2PrivateDNSName}}
mapUsers: |
- userarn: arn:aws:iam::407967248065:user/masih
username: masih
Expand Down

0 comments on commit 04ab90a

Please sign in to comment.