aws configure and use the Access and Secret Access Keys from above step.node --version from CLI to check the version.npm install -g serverlessserverless -v from CLI to check the versionMyLambdaFunction (or any other name that you feel suitable for this project).MyLambdaFunction folder.serverless.yml in MyLambdaFunction folderregion and image.image was copied from point 4 above. Make sure to add “:latest” at the end of image URI.region, use the region where you would like to deploy the Lambda function.MyLambdaFunction folder from CLI (if you are not already in it).aws configure command and use below command.docker build, docker tag and docker push.docker buildx build --platform linux/amd64 -f ./Dockerfile -t <repo-Name> .
MyLambdaFunction folder from CLI (if you are not already in it) and run below command serverless deploy --region <region>MyLambdaFunction directory.Posted Jan 29, 2024
Run Scrapy command from AWS Lambda function using Serverless Framework
0
2