Questions tagged [aws-copilot]

33 questions
0
votes
0 answers

AWS CoPilot pass on the environment variables/secrets defined in service manifest to the build environment

Is it possible to pass on environment variables/secrets defined in service manifest to the build environment (CodeBuild in the pipeline)? variables: DBNAME: my_database secrets: GITHUB_TOKEN: GITHUB_TOKEN DB_SECRET: secretsmanager:…
0
votes
0 answers

Is there a way to configure AWS CoPilot Pipeline to source from ECR repository?

Is there a way to config Pipeline to source from ECR repository rather than selecting one of GitHub, Bitbucket, CodeCommit since my repo is in Gitlab. What are my options to create a CoPilot pipeline? It would be ideal if something like below is…
0
votes
0 answers

ECS Fargate task throws 504 Gateway Time-out after some inactive time

i have a dockerized application that i have deployed on ECS using aws copilot. Everything was working perfectly until I realized that after a while without requesting the service (something like 10 minutes) the next request throws 504 Gateway…
Mickael Zana
  • 261
  • 2
  • 6
  • 22
0
votes
1 answer

Template format error: YAML not well-formed when customizing parameters

I have a environments/addons/template.yml Parameters: App: Type: String Description: Your application's name. Env: Type: String Description: The environment name your service, job, or workflow is being deployed to. VpcId: …
fade2black
  • 546
  • 1
  • 10
  • 26
0
votes
0 answers

Unable to send bundle from aws app deployed using aws copilot via github actions

I have deployed my application using copilot deploy which works. It creates a load balancer and when I go to the designated url I can view my react app. However, I'm trying to create a CI workflow using github actions. My github actions appear to…
0
votes
1 answer

When to use AWS copilot Worker Service?

I've read the docs about Services and in particular Worker Service. I am confused about when to use the Worker Service. Say my worker consumes messages from an SNS+SQS which arrive once in three days, but once arrived it may take 15-20 minutes to…
fade2black
  • 546
  • 1
  • 10
  • 26
0
votes
1 answer

when to use AWS Copilot or AWS SAM

In my organisation there are deployments using both SAM and Copilot. I am unable to work out what is the criteria or best use cases to use one or the other, and can't find any direct comparisons online? So my question is are they comparable, if so…
0
votes
1 answer

Nest Js Microservices deployment on ECS with aws Copilot

Hey everyone i am trying to deploy to production a basic nestjs microservice stack : One application is a basic nestjs application that will be used as Api Gateway and will communicate to services with TCP transport The second application is a…
Mickael Zana
  • 261
  • 2
  • 6
  • 22
0
votes
1 answer

Created a pipeline using AWS copilot, original push worked but when I make changes to code and push them to github they don't show up

would appreciate any help with this: I've followed the guide for AWS copilot here: https://aws.github.io/copilot-cli/docs/getting-started/first-app-tutorial/ and then the guide for creating a pipeline and connecting it to github here:…
0
votes
0 answers

is there any time limit for the selenium to be page crash?

the main question is that is there any time limit in docker for the page to be crashed on selenium? My main code is running correctly on the local machine but it is not running correctly on the aws services or docker machine. It downs after running…
0
votes
1 answer

Why does AWS Copilot Task Run always return exit code 0 without --follow option?

I have a Docker image setup to run a simple script that I am running via copilot task run. FROM node:12-alpine RUN apk update RUN apk add curl RUN apk add jq RUN apk add --no-cache aws-cli COPY deploy-permissions.sh…
Adam
  • 1,202
  • 11
  • 25
0
votes
1 answer

Is it possible to make the build stage parallel?

Is it possible to make the build stage parallel? today the build stage builds and deploys all the images in a sequence, which takes quite a lot of time. it would save a lot of time if each image will be built in parallel to the others (same as the…
Nir Oren
  • 111
  • 1
  • 7
0
votes
1 answer

AWS Copilot pipeline fails, why cant CodeBuild find buildspec.yml?

I created an aws Copilot pipeline but it fails because CodeBuild says it can't find buildspec.yml. I'm not sure where the beginning of the path comes from /codebuild/output/src1#####3/src/ however the second part of the path is exactly correct…
Olgo
  • 35
  • 1
  • 6
0
votes
1 answer

Use aws copilot with a configuration in a different directory

I want to avoid having a copilot directory in the top-level of my project. Is there a way to put it in .aws/copilot or similar and then specify it with a command-line flag? The --help text is not very illuminating.
tekknolagi
  • 10,663
  • 24
  • 75
  • 119
0
votes
1 answer

how to integrate with already authenticated by using aws cognito service with aws copilot cli

how to integrate with already authenticated by using aws cognito service with aws copilot cli if there is possible to integrate with aws cognito services(already authenticate with application load balance to aws copilot cli