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?
DevOps Stack Exchange is a question and answer site for software engineers working on automated testing, continuous delivery, service integration and monitoring, and building SDLC infrastructure. It only takes a minute to sign up.
Sign up to join this communitySo 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?
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.
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
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.