Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
523 views
in Technique[技术] by (71.8m points)

amazon web services - Add or remove security groups to AWS Fargate ENI for running ECS Task

I deployed an ECS Task to a cluster, using the AWS Fargate launch type. It's currently in the RUNNING state, and everything looks healthy from the CloudWatch Log stream as well.

Now that it's running, I need to add a second security group to the Task, so that a separate ECS Task can access the service that's exposed by the first task.

When I navigate to the first Task's details, I can see a link to an Elastic Network Interface (ENI). When I click on that, it takes me over to the ENI section of the AWS Management Console. When I choose Actions --> Change Security Groups, add a security group, and click the Save button, I get the following error message.

Failed to change security groups for network interface .
You do not have permission to access the specified resource.

AWS Fargate ENI error message

Question ?

Is it possible to modify the associated security groups with an AWS Fargate Task's ENI?

question from:https://stackoverflow.com/questions/65927236/add-or-remove-security-groups-to-aws-fargate-eni-for-running-ecs-task

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...