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 distributed applications on a managed cluster of Amazon EC2 instances.

Amazon ECS eliminates the need for you to install, operate, and scale your own cluster management infrastructure. With simple API calls, you can launch and stop container-enabled applications, query the complete state of your cluster, and access many familiar features like security groups, Elastic Load Balancing, EBS volumes, and IAM roles. You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource needs and availability requirements. You can also integrate your own scheduler or third-party schedulers to meet business or application specific requirements.

There is no additional charge for Amazon EC2 Container Service. You pay for AWS resources (e.g. EC2 instances or EBS volumes) you create to store and run your application.

Infrastructure Integration

Amazon EC2 can facilitate the dynamic spin up of server clusters while Kubernetes can be used as the container orchestration management layer which works well since these two tooling stacks are largely orthogonal.

Benefits

  • Cluster Management Made Easy
  • Flexible Scheduling
  • Performance at Scale
  • Security
  • Extensible

For more details click here

5065 questions
2
votes
1 answer

Is HTTPS->HTTP behind load balancer considered secure?

I have a secure web API in the AWS cloud and I'm trying to figure out the best way to put it behind a load balancer without compromising security. Right now, all communications are conventionally encrypted end-to-end. The API server has a Let's…
Petr Mánek
  • 1,046
  • 1
  • 9
  • 24
2
votes
1 answer

Websocket Wss on on AWS Application Load Balancer or Network Load Balancer

I have spent hours trying to come up with a solution and read a lot of web socket solution with a nginx, still no luck I have a websocket application containerised with docker and running on ec2 instances using ecs. my websocket need to be able to…
2
votes
1 answer

What are ECS Image definitions files?

Right here I can read that: You can also create pipelines that build and deploy container-based applications by using Amazon ECS as the deployment provider. Before you create a pipeline that deploys container-based applications with Amazon…
Ruslan Plastun
  • 1,985
  • 3
  • 21
  • 48
2
votes
1 answer

Amazon Cognito throwing 500 internal server error on authentication

So I have an application that I am deploying through a docker container in ECS service. And I am using Amazon Cognito through application load balancer for authenticating into the application. When I configured this with internet-facing Application…
yogsma
  • 10,142
  • 31
  • 97
  • 154
2
votes
1 answer

AWS ECS starting a container is very slow after 1 day

I'm using ECS scheduled task to run my cron jobs. I have around 6 jobs running at various times. 3 of my jobs run every 2 minutes. Everything works fine for the first day when I launch a new instance in the ECS cluster. Then after a day, I see lots…
2
votes
1 answer

Ensure ECS only kills old tasks when new ones are ready

We have Docker-based ECS services where once the process is up, it needs to synchronize application state before it is ready to start serving requests. This can take some time (a number of seconds after the process starts). When using ECS Services,…
Rex M
  • 142,167
  • 33
  • 283
  • 313
2
votes
2 answers

Communication Between Microservices in Aws Ecs

I'm having troubles with the communication between microservices. I have many spring boot applications, and many requests HTTP and AMQP (RabbitMQ) between them. Locally (in dev) I use Eureka (Netflix Oss) without Docker Images. The question is: in…
2
votes
1 answer

How to set docker labels on ECS agent container?

In a AWS ECS cluster each cluster instance runs the ecs-agent [1] as a docker container. Next to that container I run datadog-agent [2] also as a container. The datadog-agent monitors all other containers and ship their logs to DataDog. In order to…
Miguel Ferreira
  • 1,282
  • 11
  • 27
2
votes
0 answers

How do I open multiple ports publicly in a ECS cluster/service/task?

I have a Docker container that has top public ports 2113 and 1113. When I created the container in AWS, I opened those ports. I am running the container in a task inside of a cluster, but I am only able to access the first port 2113. I made sure…
jhamm
  • 24,124
  • 39
  • 105
  • 179
2
votes
1 answer

How to dynamically modify the security group of a running ECS instance based on the container running in it?

I am trying to deploy different types of docker containers from my ECS cluster. Depending on the type of container, I need to allow certain inbound and outbound port to public. How do I modify the existing ECS instance security group to which the…
2
votes
1 answer

Run docker container with volume argument in AWS ECS as Task definition or Service

I am using nginx-proxy docker image to proxying my other web application. I can run this image using docker run -d -p 80:80 -e ENABLE_IPV6=true -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy command. Here -v option is mandatory if…
Nitin
  • 2,701
  • 2
  • 30
  • 60
2
votes
2 answers

ECS Service auto scaling and auto scaling group

I've decided to start playing with AWS ECS service, and created cluster and one service my issue is that I want to connect it to the AWS auto scaling group. I have followed the following guide. The guide works, my issue is that its a total waste of…
roy
  • 585
  • 5
  • 14
2
votes
1 answer

Scheduling the stopping/starting of an EC2 instance when not in use by a Beanstalk Deployment or an ECS task?

I have a Docker image containing Python code and third-party binary executables. There are only outbound network requests. The image must run hourly and each execution lasts ~3 minutes. I can: Use an EC2 instance and schedule hourly execution via…
2
votes
1 answer

How to escape JSON in YAML

Following command works on bash shell but YAML parser (bitbucket-pipelines.yaml) reports it as invalid syntax https://bitbucket-pipelines.atlassian.io/validator - export TASK_VERSION=$(aws ecs register-task-definition --family MyTask…
HirenP
  • 61
  • 1
  • 6
2
votes
2 answers

Is there an AWS / Pagerduty service that will alert me if it's NOT notified

We've got a little java scheduler running on AWS ECS. It's doing what cron used to do on our old monolith. it fires up (fargate) tasks in docker containers. We've got a task that runs every hour and it's quite important to us. I want to know if it…
Aidan Ewen
  • 13,049
  • 8
  • 63
  • 88
1 2 3
99
100