AWS Lambda Function to Unzip Files in S3

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 มิ.ย. 2023
  • Please access the code files from here: github.com/maheshpeiris0/aws-...

ความคิดเห็น • 14

  • @Wolf00739
    @Wolf00739 หลายเดือนก่อน

    thanks for this video i cleared my some doubt from this video

  • @edmundobrown5604
    @edmundobrown5604 หลายเดือนก่อน +1

    thank you so much for the video ! very usefull

  • @prakashpatil2691
    @prakashpatil2691 ปีที่แล้ว +1

    could you crate a video for two different buckets means source bucket(Zip file) and destination bucket(Unzip file) will be different.

  • @KevinOrkis
    @KevinOrkis 10 หลายเดือนก่อน

    I keep getting the error [Errno 21] Is a directory not sure what that means any ideas?

  • @Nashcasts
    @Nashcasts 3 หลายเดือนก่อน

    i see it triggering on monitor but nothing happens. im wondering if the role is wrong, it would be good to show or link to how to setup role, i used the basic role

  • @user-uc7xi4vb7z
    @user-uc7xi4vb7z 10 หลายเดือนก่อน

    i have a huge data and zipped inside subfolders, not able to use you method.. I dont see nay breakdown files

  • @sonthai8604
    @sonthai8604 4 หลายเดือนก่อน

    Hi, I getting the error 403 when calling the head object, Do you know what happened?

  • @peki37
    @peki37 9 หลายเดือนก่อน +1

    Thanks for the clear explanation.
    I got the following error, Do you know what happened?
    {
    "errorMessage": "'Records'",
    "errorType": "KeyError",
    "requestId": "bbe41722-aba6-4dcc-aadf-fb4b1aa28cf3",
    "stackTrace": [
    " File \"/var/task/lambda_function.py\", line 9, in lambda_handler
    bucket_name = event['Records'][0]['s3']['bucket']['name']
    "
    ]
    }

    • @learncloudcomputing_mp
      @learncloudcomputing_mp  9 หลายเดือนก่อน

      Check the bucket name

    • @peki37
      @peki37 9 หลายเดือนก่อน

      ​@@learncloudcomputing_mpI'm not sure what you mean. I didn't notice the bucket name in the lambda code? Let me know if I missed anything.
      PS: I'm a beginner aws user

  • @richardcarvalho9996
    @richardcarvalho9996 10 หลายเดือนก่อน

    I would like to ZIP a folder in S3 buckect, is it possible?

    • @learncloudcomputing_mp
      @learncloudcomputing_mp  10 หลายเดือนก่อน

      yes: Try this code github.com/maheshpeiris0/aws-lambda-auto-unzip-files-in-s3/blob/main/zip_folder_lambda.py and make sure lambda has access to s3

  • @AtilaIglesias
    @AtilaIglesias 10 หลายเดือนก่อน

    is there a size limit to the zip file?

    • @learncloudcomputing_mp
      @learncloudcomputing_mp  10 หลายเดือนก่อน

      No, but functions can be timed out due to resource availability in the function setup. Please configure the Lambda function resources accordingly. Visit here for more information. docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html