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

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024
  • ===================================================================
    1. SUBSCRIBE FOR MORE LEARNING :
    / @cloudquicklabs
    ===================================================================
    2. CLOUD QUICK LABS - CHANNEL MEMBERSHIP FOR MORE BENEFITS :
    / @cloudquicklabs
    ===================================================================
    3. BUY ME A COFFEE AS A TOKEN OF APPRECIATION :
    www.buymeacoff...
    ===================================================================
    Hands on demo of API Endpoint for File Upload to Amazon S3 Bucket using Amazon API Gateway and AWS Lambda. Code written in Python
    Source Code : github.com/Rek...
    #apigateway #s3 #awslambda #api #endpoint #aws

Комментарии • 31

  • @aadityas6805
    @aadityas6805 3 месяца назад +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  3 месяца назад

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

  • @vvmanikantakantipudi9919
    @vvmanikantakantipudi9919 4 месяца назад +1

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

    • @cloudquicklabs
      @cloudquicklabs  4 месяца назад

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

  • @michaelkinne7243
    @michaelkinne7243 9 месяцев назад +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  9 месяцев назад

      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.

  • @princy8640
    @princy8640 Месяц назад +1

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

    • @cloudquicklabs
      @cloudquicklabs  Месяц назад

      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.

  • @sshikarw
    @sshikarw Месяц назад +2

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

    • @sshikarw
      @sshikarw Месяц назад +1

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

    • @cloudquicklabs
      @cloudquicklabs  Месяц назад

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

    • @cloudquicklabs
      @cloudquicklabs  Месяц назад

      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 Месяц назад

      @@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 Месяц назад +1

      I too facing this same error

  • @gouralmishra
    @gouralmishra 5 месяцев назад +1

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

    • @cloudquicklabs
      @cloudquicklabs  5 месяцев назад

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

  • @genos2719
    @genos2719 10 месяцев назад +1

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

    • @cloudquicklabs
      @cloudquicklabs  10 месяцев назад

      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.

  • @ivandimitrov253
    @ivandimitrov253 10 месяцев назад +1

    Thanks man

    • @cloudquicklabs
      @cloudquicklabs  10 месяцев назад

      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.

  • @MMGuy123
    @MMGuy123 Месяц назад +1

    Can you do this with lambda proxy integration?

    • @cloudquicklabs
      @cloudquicklabs  Месяц назад

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

  • @masteradvisor594
    @masteradvisor594 Месяц назад +1

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

    • @cloudquicklabs
      @cloudquicklabs  Месяц назад

      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 Месяц назад

      @@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.

  • @aswinmallesshns8753
    @aswinmallesshns8753 9 месяцев назад +1

    is it possible to upload csv file as well?

    • @cloudquicklabs
      @cloudquicklabs  9 месяцев назад

      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.

  • @SUNGWONG5
    @SUNGWONG5 Месяц назад +1

    confuse content

    • @cloudquicklabs
      @cloudquicklabs  Месяц назад

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