Amazon API Gateway | S3 Bucket | AWS Lambda | API Endpoint for File Upload to Amazon S3 Bucket | AWS

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

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

  • @pravinkamane7633
    @pravinkamane7633 17 วันที่ผ่านมา +1

    How can we work with the Load Balancer instead of Api Gateway? will the payload remain the same for the ALB as it is for API Gateway?

    • @cloudquicklabs
      @cloudquicklabs  16 วันที่ผ่านมา

      Thank you for watching my videos.
      Yes it would remain same but there will problem of authentication.
      It would done with long mile work.

  • @sravanduggi4840
    @sravanduggi4840 3 หลายเดือนก่อน +2

    What payload are you receiving from aws s3 when documents are upload?

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

      Thank you for watching my videos.
      It's would be default https success code 200/201

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

    Hi,
    thanks for you video.
    What would you recommend if I want to upload files larger than 5 MB? Maybe *.zip Files up to several GB?
    thanks

    • @cloudquicklabs
      @cloudquicklabs  ปีที่แล้ว

      Thank you for watching my videos.
      To upload file size > 5MB through API gateway is bit difficult, I shall create a new video on it once I found it. But mean time you can rely with boto3 APIs of AWS S3 Services.

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

    Can you do this with lambda proxy integration?

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

      Thank you for watching my videos.
      Indeed I shall create new version of this lab soon.

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

    is it possible to upload csv file as well?

    • @cloudquicklabs
      @cloudquicklabs  ปีที่แล้ว

      Thank you for watching my video.
      In this video I shown for image files. For csv I should experiment it (there would be need of configuration changes). But should be supported.

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

    is this an old video? the aws ui seems old and you uploaded this 1 month ago

    • @cloudquicklabs
      @cloudquicklabs  ปีที่แล้ว

      Thanks you for watching my video.
      API gateway UI does provide both option legacy UI and Latest UI as well , I recorded in Old but new UI has the same functionalities , only look and feel are different.

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

    Does this require to pass any aws credentials or is this api public ?

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

      Thank you for watching my videos.
      Here you are not passing the AWS credentials but AWS API Gateway - api tokens to authentication.

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

    what if i want to use form data to pass the image

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

      Thank you for watching my videos.
      You can still do that via an interface (app interface) and convert the image back to binary and call the api here.

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

      @@cloudquicklabs thing is that i am doing some image processing and when i send image through binary its taking extremely long time. but when i do with multipart/form-data which usual way to send files its taking nominal time. also with python conversion from multipart to normal data is giving errors i tried that too. whats your suggestion on this.

  • @-Altera-
    @-Altera- 2 หลายเดือนก่อน +1

    Can you do this for json objects, sending the payload in POST request and then converting it to .json file to store in s3 bucket?

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

      Thank you for watching my videos.
      Indeed I shall create a video on this.

    • @-Altera-
      @-Altera- 2 หลายเดือนก่อน

      @@cloudquicklabs One thing that is a challenge at the moment is that when I run my app (in development, non production) in the browser, the CORS fails ("CORS preflight response did not succceed, CORS request did not succeed") even though I've enabled API gateway CORS for the resource and return the backend Lambda function returns the applicable CORS headers following the AWS documentation.

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

      Thank you for letting me know about this challenge. I shall work on this.

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

      Please check new video here th-cam.com/video/OXvRCY6Pbu0/w-d-xo.html

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

      @@cloudquicklabs Thanks!

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

    even my file is 75kb it is showing response as internal server error in postman and file not getting uploaded

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

      Thank you for watching my videos.
      Error might not be related to file size. Did you check if API is invoking lambda here.

  • @sshikarw
    @sshikarw 6 หลายเดือนก่อน +2

    Getting {
    "message": "Forbidden"
    }
    How can we fix it?

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

      Able to upload text file via lambda but getting error with postman :( Please suggest

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

      Thank you for watching my videos.
      Check if your API url is correct and API keys are correct.

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

      Invoking via postman is about selecting right options.
      docs.aws.amazon.com/apigateway/latest/developerguide/call-api-with-api-gateway-lambda-authorization.html

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

      @@cloudquicklabs Thanks! But i have checked everything multiple time from your video still facing the issue though I can upload the file using Lambda itself using Test option for Lambda. Any suggestion?

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

      I too facing this same error

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

    bro the ui is now been updated, i am not able to locate the content type, can you give insights on this

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

      Thank you for watching my videos.
      Indeed UI is updated now.
      I shall create version of this video soon.

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

    what if i send the file through multipart/form-data how to configure api gateway

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

      Thank you for watching my videos here.
      Here you are binary encoding image file and passing that value to API via parameters. We need to make sure that multipart/form-data is intact.

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

    Its giving me
    {
    "message": "Forbidden"
    }
    What to do?

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

      Thank you for watching my videos.
      It looks to wrongly invoking APIs. Please look at the video again.

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

    Thanks man

    • @cloudquicklabs
      @cloudquicklabs  ปีที่แล้ว

      Thank you for watching my videos.
      Glad that it helped you.

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

    Thankyou

    • @cloudquicklabs
      @cloudquicklabs  ปีที่แล้ว

      Thank you for watching my videos.
      Glad that it helped you.

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

    confuse content

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

      Apologies, I am above create a refined version of this video soon.