Closed phutapong closed 5 years ago
What would be the use case for this? Scout2 is generally not designed to be run from within AWS (EC2 instances and the like).
It would allow automation. I containerized Scout2 and run it on Fargate but it requires some additional glue to schedule the runs. Lambda would be lighter weight and offer more native scheduling options. I'm actually surprised that the intention of Scout2 is not to run it within AWS. It seems like a natural fit.
I'd think creating a deployment package (https://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html) and setting the appropriate execution role should be pretty straightforward.
Closing as this is not a Scout issue.
Couple of tips:
Do we have example code to setup Scout2 automatic runs on AWS Lambda ??