Это видео недоступно.
Сожалеем об этом.

How to upload files to AWS S3 with FastAPI ?

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2022
  • #fastapi #python #aws #awss3 #s3 #webdevelopment #fileupload
    Hello guys!!
    This is a demo on how you can use FastAPI to upload files to your AWS S3 bucket.
    I have covered very basic file checks and strongly recommend you to do some research on file-upload exploits to build a more secure API.
    Happy coding!!

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

  • @jr.developer
    @jr.developer  Год назад

    Source code: github.com/jrdeveloper124/file-transfer/blob/main/main.py

  • @gadamsettiakhil
    @gadamsettiakhil Год назад +6

    good explanation, interesting choice of subject

  • @po6577
    @po6577 Год назад +1

    great video, this include all the basics i need, cheers mate

    • @jr.developer
      @jr.developer  Год назад

      I'm glad that it helped you 👍🏻

  • @eluented
    @eluented Год назад

    thank you man amazing video keep it up! new sub

  • @apraveena
    @apraveena Год назад +1

    Thank you so much for the video, exactly what I needed.. How and where do we provide authentication details?

    • @jr.developer
      @jr.developer  Год назад

      For JWT based authentication you can follow these nice tutorials in their documentation
      1. Generate tokens - fastapi.tiangolo.com/tutorial/security/first-steps/
      2. Get user details - fastapi.tiangolo.com/tutorial/security/get-current-user/

  • @buiduc2412
    @buiduc2412 Год назад

    can i ask what extension you use in vs code that can warn like "s3_upload" not defined like min 8:24

    • @jr.developer
      @jr.developer  Год назад +1

      It's called Error Lens. VS Code extension id: usernamehw.errorlens

  • @ikeecode3410
    @ikeecode3410 Год назад

    Hello thank you for the video, can you explain how you set up your bucket first ?

    • @jr.developer
      @jr.developer  Год назад +1

      Creating an S3 bucket is quite simple just head over to the s3 console: s3.console.aws.amazon.com and click on the create button. If you still need more details checkout their guide here: docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html
      I realized that I didn't cover this after I have uploaded the video. So, I gave a brief on how to configure the credentials to access AWS in the next video: ruclips.net/video/mNwO_z6faAw/видео.html . Please, check that out if you haven't already.
      I'm planning to make another video which includes JWT authorization while downloading/uploading files. I'll make sure that I cover the basics in that.
      I hope this helps. Thank you for the comment.

    • @ikeecode3410
      @ikeecode3410 Год назад

      @@jr.developer Thank you for the videos

  • @mr.deep.
    @mr.deep. Год назад

    Thanks

    • @mr.deep.
      @mr.deep. Год назад

      Please upload more video on aws

  • @sardarjagpreetsingh190
    @sardarjagpreetsingh190 Год назад

    Is this working in aws lambda function?

    • @jr.developer
      @jr.developer  Год назад

      No. This wouldn't work on AWS lambda.

  • @RajveerSingh-vf7pr
    @RajveerSingh-vf7pr 9 месяцев назад

    Great Video,
    but video starts at 10:00

  • @yonyoon19
    @yonyoon19 Год назад +1

    /-> nfactorial incubator 2023

  • @nagrajankola1323
    @nagrajankola1323 Год назад

    source code?

    • @jr.developer
      @jr.developer  Год назад

      Sorry for the delay. Checkout the pinned comment. Thanks.