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
2 answers

How to scale down/up containers in aws ecs cluster by command line, should I use aws cli or ecs-cli?

I'm running AWS ECS cluster with EC2 instances and I want a command to scale up the tasks to 1 running instance and then after some time when I do not need it I want to scale it down to 0. This should destroy the underlying EC2 instance to avoid…
2
votes
2 answers

Microservices doesnt register in Eureka with AWS fargate

I am trying to deploy my spring boot microservices in AWS ECS. I was able to run Eureka container as a task and it is working fine. But when I run any other micoservice with AWS Fargate, it's log shows [ main]…
sugeesh
  • 506
  • 1
  • 5
  • 21
2
votes
2 answers

Multicontainer docker (AWS) link is one-way?

I'm getting asymmetrical container discoverability with multicontainer docker on AWS. Namely, the first container can find the second, but the second cannot find the first. I have a multicontainer docker deployment on AWS Elastic Beanstalk. Both…
2
votes
0 answers

Bind EIP to an ECS cluster

I want all outbound traffic coming from my ECS cluster to using a single EIP. I know I could setup a nat gateway. BUT is there an ECS feature that makes this easier or more built in? Or could I use like a VPC endpoint on the ECS cluster or…
red888
  • 27,709
  • 55
  • 204
  • 392
2
votes
0 answers

Error starting userland proxy: 0.0.0.0:25 inside Amazon ECS EC2 Task

I have Amazon ECS cluster with EC2 Launch type. I try to run docker (Linux) container with 25 and 587 port mapping. Dockerfile is very simple: FROM microsoft/dotnet:2.0-runtime AS base WORKDIR /app FROM microsoft/dotnet:2.0-sdk AS build WORKDIR…
Alexander I.
  • 2,380
  • 3
  • 17
  • 42
2
votes
1 answer

Attach security group to NAT Gateway network interface in Amazon ECS

I'm trying to attach a security group that I created to the network interface of my NAT Gateway. This gives me the following error: you do not have permission to access the specified resource I don't know why, since I've created the security group…
Quinten Scheppermans
  • 954
  • 1
  • 10
  • 29
2
votes
1 answer

AWS Cloudformation and ECS with docker app

Im looking for help because I failed to find any kind of solution to my problem. I am a beginner with the use of AWS and the documentation and examples are tooo way overheating my brain to get starting with something. I simply look at the docs and…
Mugetsu
  • 1,739
  • 2
  • 20
  • 41
2
votes
1 answer

Connect to MongoDB in separate docker container (AWS ECS)

I am using AWS ECS and have a container for my frontend (Node app) and for my backend (mongo database). The mongo container is exposing port 27017, but I cannot figure out how to connect to it from my frontend container. If I try to connect to the…
connorvo
  • 761
  • 2
  • 7
  • 21
2
votes
1 answer

Notification in AWS when a new target becomes healthy ECS

I'm looking to do something that seems like a common use case, however I have not been able to find any information anywhere that leads to a solution for what I want. I'm using ECS in AWS for various services. When a new build occurs in my CI a new…
user1686402
  • 83
  • 1
  • 8
2
votes
2 answers

Getting Access Denied for pulling object from S3 bucket from ECS using IAM Role

I am trying to get some encrypted connection parameter from s3 bucket in my sample Spring application. Here is the method I am using to run inside a container: public void encryptionOnly_KmsManagedKey() throws NoSuchAlgorithmException { …
2
votes
3 answers

file integrity checksum failed for "usr/lib/x86_64-linux-gnu/libfftw3.so.3.4.4"

I am pushing my docker image to AWS ECS. And, I am getting following error: file integrity checksum failed for "usr/lib/x86_64-linux-gnu/libfftw3.so.3.4.4" Here is the full output: The push refers to repository…
Marvania Mehul
  • 145
  • 2
  • 10
2
votes
1 answer

"elb name longer than 32" but only 8

I am trying to use AWS cloudformation to create a stack with an ALB and an ECS service, but i get a CREATE_FAILED on the AWS::ECS::Service, which is elb name longer than 32. I don’t get why the ECS Service is complaining about the ELB name while the…
Ludo
  • 5,060
  • 15
  • 53
  • 85
2
votes
2 answers

cannot deploy docker image form AWS private registry

I am trying to push an app from a docker image hosted in the AWS Elastic Container Registry and am getting 500 error codes from the cloudfoundry API when trying to push. Am i doing something wrong or is there just an issue with the API currently?…
Patrick Suter
  • 275
  • 3
  • 12
2
votes
2 answers

Debugging docker-compose build that freezes on building first service

I have been following a tutorial on how to deploy docker containers to AWS, which I have managed to do successfully. However now that I have modified a flask web app with my own code/logic, it never completes building the first service. My last…
Dmitry Rastorguev
  • 3,473
  • 4
  • 13
  • 14
2
votes
1 answer

ECS instance scaling to/from 0

I have a service which runs 1 task. The task takes 2 hours to run and runs daily. My ideal scenario would be this: I update my service to from 0 desired tasks to 1 desired task ECS sees that in order to run the service I need an EC2 Instance. It…
rix
  • 10,104
  • 14
  • 65
  • 92
1 2 3
99
100