Questions tagged [aws-copilot]

33 questions
5
votes
1 answer

Can I use AWS Copilot with docker-compose.yml file?

I'm trying to implement ECS architecture of my web application on AWS using AWS copilot. But it is asking for Dockerfile as input. My application has a complex docker-compose file with multiple services. Can i somehow use this file for creation of…
vivekpadia70
  • 1,039
  • 3
  • 10
  • 30
3
votes
1 answer

How do you deploy multiple services on AWS Copilot at once?

I'm new to AWS Copilot and containers in general (frontend focused engineer helping out with DevOps at my job) and am trying to figure out how to deploy multiple containers at once. The project includes a web container, deployed through copilot as…
2
votes
1 answer

Create an internal Network load balancer with AWS Copilot

I am trying to deploy bitnami/openldap container in ECS using AWS Copilot as a backend service with a internal NLB (Couldn't go with ALB since bitnami/openldap does not have a http healthcheck endpoint). I have the following config in Copilot…
2
votes
1 answer

How can I refer/specify VPC from AWS copilot addon file?

I am creating an (AWS Copilot) addon (inside the environments folder) which has the following piece of script creating a security group: SGPostgresDb: Type: AWS::EC2::SecurityGroup Properties: GroupName: sg-pgdb …
fade2black
  • 546
  • 1
  • 10
  • 26
2
votes
0 answers

Can I run a Neo4j container with AWS Copilot for a website?

I use Neo4j as the backend database for my web application. I'm looking at AWS Copilot to manage the services, migrating away from Docker Compose. For the last 5 years I've run Neo4j in a Docker container on an EC2 instance with the data persisted…
HieroB
  • 3,917
  • 4
  • 17
  • 22
2
votes
2 answers

ECS Health check failures AWS - copilot

Whenever I try to redeploy my load balanced service in aws (via copilot) I keep getting health check failures (502 bad gateway) here's the error message: (service my-app-my-env-my-service-Service-n6SienH8zSJt) (port 3000) is unhealthy…
1
vote
0 answers

Docker container runs different Javascript on AWS Fargate

I built a Docker container that runs locally without error. When I deploy to AWS Fargate, the container runs, but throws runtime Javascript errors that don't appear when running locally. For example: const fcl = require( '@onflow/fcl' ); const…
HieroB
  • 3,917
  • 4
  • 17
  • 22
1
vote
2 answers

Can Docker containers running a node.js service on ECS in production share a node_modules volume mounted from EFS?

Is it good practice for node.js service containers running under AWS ECS to mount a shared node_modules volume persisted on EFS? If so, what's the best way to pre-populate the EFS before the app launches? My front-end services run a node.js app,…
HieroB
  • 3,917
  • 4
  • 17
  • 22
1
vote
0 answers

aws nlb socket.io ssl via copilot

Context I'm trying to create a load balancer with AWS Copilot that runs socket.io instances. Locally and in an HTTP environment, I can successfully connect to the socket instance via the load balancer…
Dock
  • 103
  • 7
1
vote
1 answer

Redis not found using Copilot and Service Discovery

I have a Load Balanced Web service deployed: About Application my-app Name api Type Load Balanced Web Service Configurations Environment Tasks CPU (vCPU) Memory (MiB) …
Guillaume
  • 2,912
  • 3
  • 35
  • 59
0
votes
0 answers

converting docker compose to aws copilot manifest

I was trying to convert this service defined in docker-compose.yaml into a AWS Copilot manifest without any success. # backend - test-engine test-engine: image: verify:0.9 restart: always depends_on: - redis working_dir:…
0
votes
1 answer

How can AWS Copilot's manifest.image.context be set to the project repository's root directory?

How can the AWS Copilot image.context manifest file parameter be set to the project’s root directory? I’m translating a Docker Compose file to Copilot manifest files but I’ve been unable to get Copilot to honor the image.context parameter using…
0
votes
0 answers

With AWS Copilot how to configure AWS ALB to have 2 path rules to forward requests to the same target group/ Fargate service?

With AWS Copilot, is it possible to configure AWS ALB rules to have multiple rules with different paths to forward to same target group i.e. have multiple paths configured for a Copilot service? Something like following? http: - path: "path1" -…
0
votes
0 answers

With AWS Copilot how to create AWS ALB rules to redirect?

Is it possible to create ALB rules to redirect using AWS CoPilot? Something like below? http: - path: "/*" priority: 1 redirect: host: "" path: "/" port: "" protocol:…
0
votes
1 answer

Is there a tool like Github Copilot which has a (Python 3) API?

Tools like Github Copilot can generate/complete code and/or comments while typing within an IDE. It looks like they are limited to this use case. However, I actually want to something similar to the following in any Python program: import…
1
2 3