Questions tagged [amazon-ecs]

Amazon Elastic Container Service (ECS) is a highly scalable, high performance container management service that supports Docker containers and allows you to easily run applications on a managed cluster of Amazon EC2 instances.

239 questions
1
vote
1 answer

Fixed IP address, hosting via Docker in AWS ECS

We want to host our software on AWS via Docker using ECS. However, our software must connect to an external service, and they limit our access based on IP address. Is it possible to have fixed IP addresses for the EC2 instances in the ECS cluster?
Adrian Smith
  • 276
  • 4
  • 10
1
vote
1 answer

Is it possible to use IAM roles for ECS tasks in an Elastic Beanstalk application?

I maintain a project running on Elastic Beanstalk on the Multicontainer Docker platform. To securely access the SSM Parameter Store I would like to give specific containers access to specific IAM roles. To minimize unneeded privileges some…
Sören Weber
  • 121
  • 6
1
vote
1 answer

Failed creation of IAM Autoscale role when adding autoscale to a ECS task

I am adding some auto scaling setting to a ECS task The idea is I will spawn new service when the length of the message queue increase, otherwise decrease After I put in the definition as defined above, I got the following error message: Failed…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
1
vote
1 answer

How to run multiple neo4j instances on ecs?

How to run two instances of neo4j on EC2 Container Service. I created two task definitions to run neo4j on 7474 and 7475. But both neo4j instances use same 7687 to provide data. It works fine with one instance. How to make the second instance…
sithumc
  • 199
  • 1
  • 8
1
vote
0 answers

How to autoscale a rabbitmq container in ECS

In a container based micro service application, How to autoscale rabbitmq container in ECS? Do I have to scale it up with dynamic ports and assign to a load balancer?
sithumc
  • 199
  • 1
  • 8
1
vote
1 answer

How to modify an Amazon ECS Cluster and use custom UserData to mount EFS

Need to mount EFS drive on ECS Cluster automatically on launch of container instances. Is it possible with Clusters generated with the Wizard or do I need to create an AutoScaling group?
1
vote
1 answer

Amazon ECS Load balancer set to port 9090 doesnt work

I have created classical load balancer in Amazon Web Services and I have given the listener port as 9090. And I have associated the load balancer with a cluster with 2 EC2 instances. I have given the inbound rules for the instances for 9090 as…
1
vote
1 answer

AWS ECS: Simple Apache webserver container fails

I'm getting started with AWS ECS and, as a proof of concept, I'm trying to run a simple Apache webserver. The problem is that the task fails, shutting down with the message: Essential container in task exited The container in my task pulls a Docker…
dlanced
  • 247
  • 1
  • 4
  • 13
1
vote
0 answers

Send haproxy logs to cloudwatch

We're running an haproxy container on ECS and struggling to setup logging. The ECS container definition contains the log configuration set out in the AWS docs "logConfiguration": { "logDriver": "awslogs", "options": { …
Aidan Ewen
  • 291
  • 1
  • 4
  • 11
1
vote
0 answers

How to specify an iface to map container port on AWS?

I have an EC2 instance with eth0 and eth1 interfaces that runs 2 docker containers. Now I want to map port 5000 of container0 to port 5000 on host to eth0 and port 5000 from container1 to eth1. Is it possible w/o using 3d-party tools like pipework…
1
vote
0 answers

Pinging (ICMP) Docker container on AWS ECS

I've got a script running in a Docker container that listens for ICMP packets. If you ping the container IP address, it picks them up and sends an email. However I'm having a bit of difficulty pinging this container from the outside. The server IP…
StephenC
  • 65
  • 1
  • 1
  • 7
1
vote
0 answers

Auto associate an elastic ip to a ec2 instance started by ecs task

There is a way to auto associate an elasticip to an ec2 instance that was started by an ecs task? I'm trying to create a mongodb cluster with replicaset (3 nodes) and I would like to "plug" a new ec2 instance to my cluster automatically when an ecs…
1
vote
1 answer

Efficiency difference btw AWS EC2 Instance and Container

Amazon provides services to maintain (docker i.e) container services working on EC2 instances. To my knowledge on a simple server, if you have 5 containers running the identical OSs as base, for instance docker doesnt invade separate resources for…
JSBach
  • 111
  • 3
1
vote
1 answer

Usage of swap partition in ec2 container service (AWS, Docker) really not possible?

I'm setting up a gitlab + redmine service for our startup company intern administration and code hosting using preconfigured Docker containers. Doing this was very easy using command line docker on a docker pre configured digitalocean image. It was…
1
vote
1 answer

WireGuard default route in AWS ECS container

I have a container inside an AWS ECS instance. I want to establish a connection to a WireGuard server from that container. The connection itself works but I have issues with routing all the traffic from that container through the wg0 interface. If I…