amazon web services - Can I run a bat file from aws lambda? -


i have bat file on aws windows 2012 server instance. possible run aws lambda function (python or node) execute bat file?

thanks

if understand question correctly, you're asking if it's possible have lambda function connect ec2 instance , execute .bat file?

if that's question, answer "no" unless (i think) ec2 instance publicly available. currently, lambda functions not have access behind vpc.

https://aws.amazon.com/lambda/faqs/

q: can access resources behind amazon vpc aws lambda function?

aws lambda functions cannot access resources behind vpc.

https://aws.amazon.com/blogs/aws/aws-lambda-update-python-vpc-increased-function-duration-scheduling-and-more/

the above blog post said available late 2015 (though written in oct 2015), it's still not available.

as suggested, try using ec2 run command instead.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -