I’m following the docs for an AWS deployment of OpenVidu CE, but the deployment always fails at “CloudFormationLambdaInvoke” with a “CREATE FAILED” status.
Unfortunately, I can’t figure out how to see any relevant logs in CloudWatch, so I don’t know how to debug this any further. The referenced log stream doesn’t show up in any log group.
I adjusted the official CF-OpenVidu-2.29.0.yaml file so the CloudformationLambdaRole policy allows the lambda function to log to CloudWatch. I am getting logs in CloudWatch now, though the error logs don’t look helpful to me:
The lambda makes a copy of the original AMI in the region where it is being deployed. Check if you have any new AMI in your region. If there is, remove it and try to deploy again.
I was trying to deploy in us-east-2. There is no 2.29 AMI in that region showing up for me. I think this is where things failed in the cloud-formation script.
I went back one version and used the 2.28 cloud-formation file and that actually worked. (And I now have an 2.28 AMI in my region.)