Docker instance error in windows

We have a docker environment and deployed image in a aws repo. And also we have created a fully ECS optimized EC2 instance also. For this we have created a seperate security group for Ec2 and another for ALB in aws . After we deploy the pckage by using the image from the repo, we can able to see the below error .


The EC2 instance is registered in the target group getting draining and restarting automatically . Due to this reason the service is continusly showing up and down . Is there any support i will get to rectify this .

Hi,
can you provide us the complete log for the task that is going up and down?

We can not see the error from the image, because is just an aws ecs log.

Maybe it is just a misleading config yml.

> _ We have a docker environment and deployed image in a aws repo.  _

Whether your resource repository is hosted on GitHub, or on AWS CodeCommit?

If it’s hosted on GiHub, are you using the GitHub Actions feature to setup a workflow to build and deploy your Docker image? If so, please share your repository with us, so that we can check the cofigurations of the workflow and the debug logs of the workflow run to analyze the root cause of the problem which you are facing.

We are using AWS cluster and repo for hosting the image

“eventVersion”: “1.05”, “userIdentity”: { “type”: “AssumedRole”, “principalId”: “AROA2OSVEMOTXNCQUR3WA:ecs-service-scheduler”, “arn”: “arn:aws:sts::718511825831:assumed-role/ecsServiceRole/ecs-service-scheduler”, “accountId”: “718511825831”, “accessKeyId”: “ASIA2OSVEMOT6S3JVF6G”, “sessionContext”: { “sessionIssuer”: { “type”: “Role”, “principalId”: “AROA2OSVEMOTXNCQUR3WA”, “arn”: “arn:aws:iam::718511825831:role/ecsServiceRole”, “accountId”: “718511825831”, “userName”: “ecsServiceRole” }, “webIdFederationData”: {}, “attributes”: { “mfaAuthenticated”: “false”, “creationDate”: “2020-02-19T11:57:38Z” } }, “invokedBy”: “ecs.amazonaws.com” }, “eventTime”: “2020-02-19T12:06:05Z”, “eventSource”: “elasticloadbalancing.amazonaws.com”, “eventName”: “DeregisterTargets”, “awsRegion”: “us-east-2”, “sourceIPAddress”: “ecs.amazonaws.com”, “userAgent”: “ecs.amazonaws.com”, “requestParameters”: { “targetGroupArn”: “arn:aws:elasticloadbalancing:us-east-2:718511825831:targetgroup/906TG/107871cf594ce23e”, “targets”: [{ “id”: “i-0ddb70adb5aeb8f44”, “port”: 8000 }] }, “responseElements”: null, “requestID”: “ea1d0f9f-a349-4122-8d62-e134d4b6c1db”, “eventID”: “f8693f6f-b366-47d5-9b94-2a67b1adb84a”, “eventType”: “AwsApiCall”, “apiVersion”: “2015-12-01”, “recipientAccountId”: “718511825831”

this is the event log i got from the trail

@sandeepkomath ,

From your latest reply, we can’t confirm whether has any operation is related to GitHub repository and GitHub Actions when you build and deploy your Docker images.

If all the operations are executed on AWS, and no any operation is related to GitHub, I recommend you directly contact support from AWS.

If you are using GitHub Actions to do these jobs, please share your repository with us, so that we can check the cofigurations of the workflow and the debug logs of the workflow run to analyze the root cause of the problem which you are facing.