Category : amazon-ecs

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

I am deploying a java app on aws ecs fargate in an aws account(aws-dev) and it is working perfectly fine. My app makes call to get the local host and able to resolve it. InetAddress.getLocalHost() On app startup, i printed contents of /etc/hosts and it looks like this: 127.0.0.1 localhost 10.111.11.111 ip-10-111-11-111.ec2.internal Everything works fine ..

Read more

So I’m trying to use Docker contexts to deploy stuff in ECS seamlessly. Yet the commands that are described here and here (docker context create ecs contextname) don’t work. The version of docker I’ve got installed is the latest and the manual clearly doesn’t include anything regarding "context types" or ECS. Are such articles outdated ..

Read more

I have been building a backend for the last few days that I am launching with docker-compose. I use docker secrets to not have to store passwords – for example for the database – in an environment variable. Since I want to use AWS ECS to run the docker containers online, and unfortunately docker compose ..

Read more

mouthful title but the point is this, I have some data science pipelines with these requirements (python based): are orchestrated with an "internal" orchestrator based off on a server are run across a number of users/products /etc where N could be relatively high the "load" of this jobs I want to distribute and not be ..

Read more

I am deploying a multi container Flask python app (with gunicorn) to ECS with Docker to my ECS cluster that uses a single t2.small EC2 instance. My app runs on port 8000 and runs fine, I can use my app perfectly when using my EC2 DNS: http://ec2-xx-xxx-xxx-xx.us-east-2.compute.amazonaws.com:8000 I now want to use my own custom ..

Read more