1

I have developed a lambda function which hits API url and getting the data in Json Format. So need to use modules/libraries like requests which is not available in AWS online editor using Python 2.7.

So need to upload the code in Zip file, How we can do step by step to deploy Lambda function from windows local server to AWS console. What are the requirements?

4
  • Did you check this lambda-python-how-to-create-deployment-package? Commented Mar 6, 2017 at 14:55
  • Thanks It was helpful..I was trying in windows locally but to deploy the lambda packages it is easy to create the package using AWS linux instance virtual environment.docs.aws.amazon.com/lambda/latest/dg/… Commented Mar 20, 2017 at 17:33
  • Lambda uses Amazon Linux as the Operating System. Use the same to create deployment packages. Commented Mar 20, 2017 at 17:35
  • Thanks..I am able to create deployment packages successfully.Thanks a lot for quick response. Commented Mar 20, 2017 at 17:36

1 Answer 1

1

You could use code build, which will build your code on the aws linux envoirnment. Then it wont matter if the envoirnment is windows or linux. code build will put the artifacts directly on s3, from there you can directly upload it to lambda.

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.