Category : aws-fargate

After migration a Docker based microservice from ECS to Fargate, Tomcat fails to startup with this error messsage: Caused by: java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: 465783671c88491ea3b03911da783c1a-2873631676: 465783671c88491ea3b03911da783c1a-2873631676: System error Tried: echo "$(ip a | grep -A2 eth1 | grep inet | awk ‘{print $2}’ | sed ‘s#/.*##g’ ) $(hostname)" >> /etc/hosts as suggested in ..

Read more

On AWS ECS, I’m seeing stopped tasks, and failures in the logs that show that some DI registrations have failed for a .NET core app. While it is correct that the DI registration failures are missing, what is unexpected is that the application behaves differently under AWS ECS (Fargate). These issues DO NOT prevent the ..

Read more

We are facing strange issue with EKS Fargate Pods. We want to push logs to cloudwatch with sidecar fluent-bit container and for that we are mounting the separately created /logs/boot and /logs/access folders on both the containers with emptyDir: {} type. But somehow the access folder is getting deleted. When we tested this setup in ..

Read more

I want to deploy a Dotnet app via ECS CLI. Got the below error after running command: $ ecs-cli compose –project-name testproject service up –cluster-config testconfig –ecs-profile testprofile Error time="2021-09-30T14:37:18+10:00" level=warning msg="Skipping unsupported YAML option for service…" option name=build service name=application.api.gateway time="2021-09-30T14:37:18+10:00" level=warning msg="Skipping unsupported YAML option for service…" option name=build service name=application.webapi time="2021-09-30T14:37:18+10:00" level=error ..

Read more

I have an ECS Cluster that is using an image hosted in AWS ECR. The dockerfile is executing a script in it’s entrypoint attribute. My cluster is able to spin up instances but then goes into a stopped state. The only error it is giving me is as follows: Exit Code 0 Entry point ["/tmp/init.sh"] ..

Read more

I am building and deploying an application via Docker and ECS Fargate. I have my entrypoint command defined in the ECS Task definition. Upon pushing the image into a private ECR repository, I am getting this error when ECS Fargate attempts to deploy the docker image. Any advice would be helpful. Below is the dockerfile, ..

Read more