aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.22k stars 321 forks source link

Auto Scaling Group of EKS Cluster with Custom Service Link Role (AWSServiceRoleForAutoScaling_XX) #1087

Open github4slash opened 4 years ago

github4slash commented 4 years ago

How we can use cross account CMK (attached with ami/ebs of launch template) with EKS cluster created. EKS cluster gets created with its own Auto Scaling Group & default Service Link Role (AWSServiceRoleForAutoScaling)

we have created our own Custom Service Linked role for Auto Scaling Group (AWSServiceRoleForAutoScaling_XX) & Added it to CMK policy we want to our EKS cluster get created with Auto Scaling Group & This EKS default Auto Scaling group should use our custom Service Link Role(AWSServiceRoleForAutoScaling_XX)

Is there any way to achieve it by having custom Service Link Role(AWSServiceRoleForAutoScaling_XX) added to CMK Policy?

iancward commented 2 years ago

If you're self-managing the ASG, you should be able to specify your custom service linked role when you create the ASG. However, if you want AWS to create an EKS managed node group, there does not seem to be a way to use a custom service linked role. I've opened #1698 for that.