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

Minimum Number of Tasks, ECS

I want to know if it is possible in any way to update this field "Minimum Number of Tasks" (no matter the language, if is available in lambda) Why ? Because I have problems with the balancer that I have linked to the service. From the NodeJS SDK, I…
2
votes
3 answers

Does CloudFoundry support multiple containers per app?

A Kubernetes Pod and an AWS ECS Task Definition both support multiple different container images: each instance of the pod / task will run all images as containers together. Does CloudFoundry support a similar concept to allow apps that consist of…
B M
  • 3,893
  • 3
  • 33
  • 47
2
votes
1 answer

Run docker image on amazon ecs

I have a docker image which runs with this command docker run -it -p 8118:8118 -p 9050:9050 -d dperson/torproxy It requires a port as an argument. What I tried? I pushed this image to ECR repo, created task related to this image. After I created…
Vitali Skripka
  • 562
  • 1
  • 7
  • 25
2
votes
1 answer

Expanding root partition on AWS-ECS Docker contianer

How do I expand the root partition of all containers of a certain task definition by default? If it expands all containers in an instance or cluster (including the ECS Agent), that's still fine. After reading…
Uberhumus
  • 921
  • 1
  • 13
  • 24
2
votes
1 answer

how Amazon ECS Service Discovery discovers dynamic ports

Amazon ECS Service Discovery makes it possible for an ECS service to automatically register itself with a predictable and friendly DNS name in Amazon Route 53, for example backend.corp However, assuming the use case of a web based app, host is not…
Fedor
  • 559
  • 1
  • 7
  • 19
2
votes
0 answers

How to avoid "unstyled" app during ECS deployment?

My express application is running in an amazon ECS container behind an ALB load balancer. For cachebusting webpack generates a new hash each time the app is built and released and appends it to the CSS file name (e.g.…
Bastian Voigt
  • 5,311
  • 6
  • 47
  • 65
2
votes
2 answers

How to keep ECS container alive while running long running start up script

I'm deploying an app with a start-up script that generates cache data if it does not exist, if it does exist this process will be skipped and the main app will run, this is all controled by ENTRYPOINT["/opt/entrypoint.sh"], a customs script that…
Dan
  • 2,323
  • 1
  • 21
  • 30
2
votes
1 answer

How to implement service discovery in AWS ECS?

I'm planning to use Promethus in ECS Cluster for monitoring but seems that Promethus does not support ECS service discovery in native, unlike EC2. I'm searching but not enough information. I would really appreciate if any share any information.…
db099u
  • 505
  • 1
  • 5
  • 12
2
votes
1 answer

AWS ECS: LoadBalancers property error in ECSService CloudFormation resource definition

Trying to create an ECS Service using the following Cloudformation resource definition: MyUIService: Type: AWS::ECS::Service Properties: Cluster: !ImportValue MyClusterName DesiredCount: 1 LaunchType: EC2 …
pkaramol
  • 16,451
  • 43
  • 149
  • 324
2
votes
1 answer

Cannot send "tags" via datadog in Amazon ECS, Fargate

I have configured datadog agent on Amazon ECS, Fargate. I can send all the intended metrics but I cannot send "tags". I've set Environment variables in ECS task definitions. DD_API_KEY xxxxxxxxxxxxxxxxxxxxxxx DD_TAGS env:stg ECS_FARGATE true I…
Hiromu Masuda
  • 259
  • 1
  • 3
  • 14
2
votes
1 answer

ECS service aws-cli vs. dashboard

Currently experiencing a weird behaviour of AWS ECS tool. I find 2 different behaviours when using the aws-cli and the web dashboard. The context is that I have an ECS cluster set up, I am writting a script that automates my deployment by (among…
SivolcC
  • 3,258
  • 2
  • 14
  • 32
2
votes
0 answers

Can a Shiny server app be multi-threaded to allow for app activity and health checking?

I have a shiny app with Shiny Server (open-source version), containerized with docker, deployed to AWS Fargate. The app is fairly basic, in that it does three things: Takes user input and retrieves data from Google Analytics based upon that…
Steven
  • 3,238
  • 21
  • 50
2
votes
0 answers

spring-cloud-netflix zero downtime deployments on AWS ECS

We're running spring-cloud microservices using eureka on AWS ECS. We're also doing continuous deployment, and we've run into an issue where rolling production deployments cause a short window of service unavailability. I'm focusing here on…
gadams00
  • 771
  • 1
  • 10
  • 24
2
votes
1 answer

How can I set up a Cloudwatch alarm for HTTP 4XX/5XX on an ECS service/task?

I'm trying to set up Cloudwatch alarms to monitor my application running in Amazon ECS. This web application runs in Docker containers, configured as an ECS service behind an application load balancer and inside an autoscaling group that can step…
soapergem
  • 9,263
  • 18
  • 96
  • 152
2
votes
1 answer

Verifying end to end encryption on AWS ECS FARGATE containers

How do I verify if I have secured end to end encryption on my AWS FARGATE container? Have mentioned the approach below : Application Load balancer listening on 443. Uses a certificate from AWS Certificate Manager. Target group's protocol is HTTPS…
yaja6021
  • 141
  • 2
  • 16