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.
answered 15 days ago
Relevant content
- asked 2 years ago
- Accepted Answerasked 5 months ago
- AWS OFFICIALUpdated 8 days ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months 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