1 Answer
- Newest
- Most votes
- Most comments
0
One way I can think to do this is simply to make the lambda function place a message into an SQS Queue. Then from the Windows instance, consume messages from the queue using one of our SDKs (such as the .NET SDK - https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/ReceiveMessage.html).
On receiving the appropriate message, invoke the Python script on your Windows machine. You can use the Boto3 SDK to send the output logs to CloudWatch logs.
Relevant content
- asked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Please see this and give me suggestion
https://repost.aws/questions/QUxfKX5PFsRgmeiZMDhEz--w/having-error-when-i-am-trying-to-execute-the-python-file-in-ec2-windows-instance-using-lambda-trigger