Using the Lambda console
Open the Functions page on the Lambda console.
Select a function.
In the Code Source pane, choose Upload from and then . zip file.
Choose Upload to select your local . zip file.
Choose Save.
aws lambda update-function-code --function-name my-function --zip-file fileb://my-function.zip