https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
b

broad-ice-79470

09/21/2023, 7:10 PM
Hey Everyone - I am in the process of deploying growthbook on ECS in AWS. Does anyone have a terraform ecs definition example? My container is coming up, but the API is giving a 503 error. Below are my logs:
Copy code
--2023-09-21 18:50:00--  <https://truststore.pki.rds.amazonaws.com/global/global-bundle.pem>
Resolving <http://truststore.pki.rds.amazonaws.com|truststore.pki.rds.amazonaws.com> (<http://truststore.pki.rds.amazonaws.com|truststore.pki.rds.amazonaws.com>)... 18.165.98.125, 18.165.98.60, 18.165.98.93, ...
Connecting to <http://truststore.pki.rds.amazonaws.com|truststore.pki.rds.amazonaws.com> (<http://truststore.pki.rds.amazonaws.com|truststore.pki.rds.amazonaws.com>)|18.165.98.125|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 178780 (175K) [application/octet-stream]
Saving to: 'packages/back-end/global-bundle.pem'
     0K .......... .......... .......... .......... .......... 28% 70.3M 0s
    50K .......... .......... .......... .......... .......... 57% 91.5M 0s
   100K .......... .......... .......... .......... .......... 85% 51.6M 0s
   150K .......... .......... ....                            100% 55.8M=0.003s
2023-09-21 18:50:00 (65.5 MB/s) - 'packages/back-end/global-bundle.pem' saved [178780/178780]
yarn run v1.22.19
$ wsrun -p 'back-end' -p 'front-end' --no-prefix -c start
$ next start
$ node dist/server.js
ready - started server on 0.0.0.0:3000, url: <http://localhost:3000>
(node:61) [MONGOOSE] DeprecationWarning: Mongoose: the `strictQuery` option will be switched back to `false` by default in Mongoose 7. Use `mongoose.set('strictQuery', false);` if you want to prepare for this change. Or use `mongoose.set('strictQuery', true);` to suppress this warning.
(Use `node --trace-deprecation ...` to show where the warning was created)
{
    "level": 30,
    "time": 1695322214705,
    "pid": 61,
    "hostname": "ip-XX.ec2.internal",
    "msg": "Back-end is running at <http://localhost:3100> in production mode. Press CTRL-C to stop"
}
2 Views