- 最新
- 最多得票
- 最多評論
It looks like your default runtime for your lambda function needs to be increased. Have you tried this yet? By default lambda has a timeout of 3 seconds. You may need to increase that to account for the build process. you can also check to see if the resource limits (cpu/memory) are getting maxed out in lambda. if so, you can increase those as well. Also have you considered launching in fargate rather than ECS if you are looking for a serverless approach?
You can't use the same container image for ECS and Lambda. Container images for Lambda have to implement Lambda Runtime API. There are many open source implementations for various programming languages.
Please refer document https://docs.aws.amazon.com/lambda/latest/dg/images-create.html for more information.
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前