Questions tagged [aws-fargate]

AWS Fargate is a service within Amazon Web Services that allows for running containers without managing servers or clusters. Use this tag for questions about AWS Fargate. For context, also tag your question with [amazon-ecs] or [amazon-eks] to denote which managed container service you're using.

AWS Fargate is a compute engine for deploying and managing containers without having to manage any of the underlying infrastructure (servers or clusters). AWS Fargate supports Amazon ECS and Amazon EKS.

Usage guidance

Use this tag for questions about AWS Fargate. For context, also tag your question with or to denote which managed container service you're using.

Resources

1725 questions
0
votes
1 answer

Copilot Fails to Deploy Cannot Access SSM

I'm getting the follow error when I try to deploy my Load Balanced Web Service with Copilot into a new environment. I have everything running in test, created a new prod environment and tried to deploy the service into it, but the task details show…
drquinn
  • 467
  • 4
  • 16
0
votes
1 answer

Python app on EC2 deployed by terraform cannot access secrets

I have a fargate instance which uses AWS secrets to fetch database credentials but it cannot read the credentials. Fetching secrets works in Lambda as well as running it locally if I provide a key locally. I can print and log the values and the code…
0
votes
0 answers

Postgresql on AWS Fargate with an EFS volume results in a "Broken pipe" error

I am trying to run a Postgresql replica DB on Fargate. For storage I mounted an EFS volume and put the the DB on via the PGDATA environment variable. When the Fargate task starts the sync with the main DB starts and everything seem to work fine for…
SiOx
  • 478
  • 1
  • 6
  • 13
0
votes
0 answers

Can we get client ip,host name for asp.net core Web API which is deployed on AWS Fargate

I Have a ASP.net Core Web API and the end point goes something like this https://{domainname}/v1/{ControllerName} and it is hosted on AWS Fargate Conatainer and we scheduled the endpoint to be invoked at particular time of the day, but to our…
clarifier
  • 119
  • 1
  • 13
0
votes
2 answers

Selenium Grid 4 session not reflecting

I have set up the selenium grid 4 in ECS fargate POC. The setup works fine and ran a few tests but I'm facing an issue with the node sessions. I am passing the environment variable to increase the session but the changes are not reflecting in the…
0
votes
2 answers

Jenkins with AWS Fargate using ECS-Fargate plugin

I am trying to create a Jenkins/Fargate CI-CD workflow ( via the ECS-Fargate plugin). So jenkins would make use of Fargate tasks to do its work. Two of the stages that i'm trying as part of the workflow: Docker Build How can we build or create a…
0
votes
1 answer

Unable to deploy custom docker image to AWS ECS using Terraform

I am using terraform to build infrastructure on AWS provider. I am using ECR to push my local docker images using AWSCLI. Now, I have a Application load balancer which would route traffic to ECS_service. I want ECS to manage my Docker Containers…
Waseem
  • 69
  • 11
0
votes
0 answers

Can Vue Pages get updated variables value without any rebuild or redeployment?

I am working on pilot project and deploying on AWS Fargate. One of the requirement is I need to configure some variables value which I can change on the fly through aws browser console and application should use updated value of those variables…
IMParasharG
  • 1,869
  • 1
  • 15
  • 26
0
votes
0 answers

Prometheus instance cycling on AWS

Okay, someone has already solved this, so I thought I'd ask here. I am running Prometheus and Grafana inside an AWS Fargate container. In order to achieve persistence of the collected data across upgrades, I use an EFS file system (it's just an NFS…
Joseph Larson
  • 8,530
  • 1
  • 19
  • 36
0
votes
1 answer

Calling AWS services [s3, DynamoDB, kinsesis] from ECS-fargate task which is created inside a VPC

I have an ECS-Fargate cluster created inside VPC. If I want to access above mentioned AWS services from fargate task, what needs to be done? I see following options from different documentations I read: Create private link to each AWS…
0
votes
1 answer

Why am I getting a unauthorized error message when running Grafana in Fargate?

I am trying to get Grafana stood up in a ECS Fargate stack. The stack is comprise of the following: An Application Load Balancer with an ACM cert applied listening on port 443 The ALB's target group is forwarding traffic port 3000 on my Grafana…
KSS
  • 821
  • 3
  • 10
  • 26
0
votes
1 answer

aws fargate task doesn't work when launched programmatically

I'm experimenting with AWS ECS and fargate, and for starters I wrote a very simple "hello world" application that just puts a file with date and time marked into an S3 bucket, packed it into a docker image and turned the whole into an ECS task. When…
UncleBob
  • 1,233
  • 3
  • 15
  • 33
0
votes
1 answer

AWS ECS Fargate: How to create a service with auto scaling with the service API

I do not understand how I can create auto scaling for a ecs fargate service with the API. I create my service with code like this with the ecs create service api: { "serviceName": "my-service", "cluster": "my-cluster", …
user1383029
  • 1,685
  • 2
  • 19
  • 37
0
votes
1 answer

deploy ecs-cli fargate cluster with load balancer

I am trying to create a Fargate cluster with ecs-cli using a load balancer I came up so far with a script to deploy it without, so far my script is building image pushing it to ECR echo "" echo "creating task execution role" aws iam wait…
bruvio
  • 853
  • 1
  • 9
  • 30
0
votes
1 answer

Unable to create a fargate profile for the AWS EKS cluster

I have an AWS EKS cluster named xyz-cicd in the regios Ohio(us-east-2) which I had created using the eksctl command like below:- eksctl create cluster --name xyz-cicd --region us-east-2 --fargate It took some time to create a cluster with a default…
vinod827
  • 1,123
  • 1
  • 21
  • 45
1 2 3
99
100