0

Can we invoke an AWS Lambda function from EC2 instances?

I have tried AWS Lambda invoking another Lambda, but not sure if we do can invoke from EC2 instance.

1 Answer 1

3

Yes.

You can invoke the Lambda from EC2 instance just like from any other machine.

Just use the boto3 call invoke() or use the cli to invoke it

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.