8

So I've read through the docs at: https://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html

I've created the zip file, how / where do I actually upload / publish this zip file into AWS?

9

It's kind of hidden away and not very intuitive.

Within the AWS Lamba admin: Create Function > Author from Scratch. Within the Code entry type dropdown there is a Upload a .ZIP file option.

enter image description here

| improve this answer | |
2

You can upload using aws-cli.

aws configure

aws lambda list-functions

aws lambda update-function-code \
    --function-name MyLambdaFunction \
    --zip-file fileb://index.zip

See https://developer.amazon.com/blogs/post/Tx1UE9W1NQ0GYII/Publishing-Your-Skill-Code-to-Lambda-via-the-Command-Line-Interface

| improve this answer | |
1

Upload to AWS from the Lambda console, by creating a new function here: https://console.aws.amazon.com/lambda/home. You can also build your functions and upload to AWS using a tool like Serverless framework.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.