For questions about Amazon Elastic Container Service (Amazon ECS), a highly scalable, high-performance container orchestration service that supports Docker containers
Questions tagged [amazon-ecs]
59 questions
15
votes
3 answers
Simple CI/CD Containers in AWS
I am using AWS Code Pipeline, Code Build to create a new Docker container and push it to ECR.
My application is a simple straight-forward single-container based. What would be less friction approach to pull down current running Container and…
Naveen Vijay
- 259
- 2
- 11
9
votes
3 answers
How to deploy multiple dependent micro services
We want to deploy multiple microservices on AWS ECS.
The issue that we need to solve is how to deploy them in an atomic way:
Let says we have the front-end services which requires the user service version 2.0.
How to make sure the user service is…
Kaymaz
- 355
- 2
- 8
8
votes
2 answers
Best way to launch 100 identical Docker machines on AWS?
I need to do some large scale testing on a system. The system consists of 2 main parts: Manager and Nodes. There will be only one manager server, but 100 nodes. Both the manager and nodes are Docker images.
I want to be able to spin up a setup on…
Trolley
- 183
- 3
8
votes
1 answer
How to get environment variables in ECS container?
What AWS CLI command should I be using to access the environment variables in an AWS ECS cluster's task's container?
I've seen describe-cluster, list-tasks, describe-tasks, describe-container-instances, etc... I can't seem to find one that lets me…
Alex
- 4,612
- 6
- 29
- 49
7
votes
1 answer
AWS ECS/EKS: EC2 vs Fargate mode
Amazon offers the option of launching their container management services ECS and EKS in two modes: EC2 and Fargate.
In the former, normal VMs (EC2 instances) are used and ECS or EKS (depending on the selection) clusters are created.
In the later,…
pkaramol
- 1,007
- 2
- 8
- 13
6
votes
1 answer
What's the benefit of using Nginx to serve a Flask API on AWS?
I want to deploy a Flask API on AWS using Docker. A common way seems to be using a combination of Nginx + app server (e.g Gunicorn) + Flask app.
The reason to use app server seems obvious to me. However, since I plan to use AWS ALB I'm not sure if…
Domen P
- 61
- 1
6
votes
2 answers
Update ECS task definition with new image from ECR
I have an ECS cluster/service/task definition using an image from my ECR repository.
Let's say I update the image with a new version, will ECS pick the changes automatically?
Do I need to modify the task definition?
Do I need to somehow…
aromero
- 211
- 1
- 2
- 8
6
votes
3 answers
Is AWS Fargate suitable for web applications?
I'm making a web-app, I've tried both ECS and EKS at AWS. It's been very comfortable to use Fargate instances instead of EC2. But I'm not sure I understand how to use them since when I count at it, it's so much more expensive. Prices
In the prices…
Felix Eklöf
- 239
- 2
- 9
6
votes
2 answers
Amazon ECS Basic Definitions and Terms
I'm a beginner starting to learn about Amazon EC2 and I want to get clear on the following terms, if anyone can supply a basic definition and perhaps an example to tie them together that would be…
Joy Heart
- 69
- 3
5
votes
1 answer
Using volumes on AWS fargate
I'm new to fargate and even dockers. But I have used dockers for a couple of months. Only now, I am using fargate.
I create a particular docker instance as follows:
docker run -v localHostFolder/configFile:dockerFolder/configFile -v my-vol:/app…
Omi
- 151
- 1
- 1
- 3
4
votes
1 answer
How to use ecs service dicovery
I'm trying to use amazon service discovery to register a Redis server in order to be reachable by other ECS services in the same cluster.
I'm using EC2 to deploy my services not Fargate, so service discovery create a simple SRV DNS record, that's…
Mohamed
- 61
- 5
4
votes
2 answers
Is containerized deployment of jenkins on ECS better than running jenkins inside EC2 instance to secure pipeline information?
I am new to AWS, docker and jenkins. I want to run a jenkins build pipeline and I have tried using following two ways on AWS:
Running jenkins inside the EC2 instance following the steps at this AWS link. I created a new EC2 instance and installed…
bot
- 141
- 4
4
votes
1 answer
How do you instruct AWS FARGATE to provision a t2.small via ECS CLI instead of the default micro?
I am trialling AWS ECS for the first time. I've run through the tutorials and now I'm trying to deploy an existing Docker Compose suite which I've been using on Digital Ocean for some time.
I have four containers in my composition, an ExpressJS app,…
scipilot
- 249
- 3
- 8
4
votes
1 answer
How can I push multiple containers, created with docker-compose, to a registry
I am using Jenkins pipeline and run a shell command to bring up my linked containers for testing. Once the testing is complete, I want to push the containers to a registry (I would prefer AWS ERC, but at this point I will take any working examples).…
Rick james
- 141
- 1
- 4
4
votes
2 answers
Container Image Promotion across environments in ECR/ECS
We have started doing some initial work on deploying containers on ECS Fargate service.
However we are not yet completely figured out how to manage our image promotion across different environments.
In our case, developers managed their own…
aashitvyas
- 141
- 1
- 2