Hi Team,
To give an overview of the issue, we have Jenkins controller & Agents setup as EC2 instances in one of our AWS Account. We have containerized the Agent and migrated it to another AWS account and running them on ECS Fargate. We have installed the Amazon Elastic Container Service (ECS) / Fargate plugin (1.49). We are using Jenkins version 2.440.3
We have created the necessary IAM roles to allow cross account connectivity. Configured the Security Groups with relevant CIDRs & Ports. Raised Firewall requests to allow connectivity from Jenkins controller to Agent & vice-versa.
We have created Task Definitions and using it as an override in the plugin.
When we run a Test Job, we can see the task is spinning up and the cloudwatch logs show we are able to establish a connectivity, but the connection does not complete in the end.
What could possibly be the reason? Would you please provide some guidance that can help us in fixing this issue?