7 ways to delete objects from AWS S3 | How and when to use them | Hands-On Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มิ.ย. 2024
  • 7 ways to delete objects from AWS S3 | How and when to use them | Hands-On Tutorials for Amazon Web Services (AWS).
    Do you know 7 ways to delete data from S3?
    In my video tutorial I'll start with the basics and move on to the more difficult ones such as deletion via lifecyclerules, lambda function or API.
    Of course, this is a tutorial so you will see all the methods how they work in practice, not just in theory.
    You will be able to successfully try them yourself on your AWS account.
    TIMESTAMPS
    ---------------------------------------------------
    0:00 ⏩ Introduction
    0:23 ⏩ Method 01
    0:43 ⏩ Method 02
    0:58 ⏩ Method 03
    1:53 ⏩ Method 04
    2:05 ⏩ Method 05
    2:23 ⏩ Method 06
    2:48 ⏩ Method 07
    If you want to know more about lifecycle rules, you can see my other video:
    • AWS S3 Lifecycle Rule ...
    You can learn more about the method with the lambda function in my article
    lepczynski.it/en/aws_en/how-t...
    You can find more tips on my TH-cam channel and on my blog lepczynski.it/en.
    Don't miss the next video:
    🔔 SUBSCRIBE: www.youtube.com/@WojciechLepc...
    FOLLOW ME :
    ---------------------------------------------------
    📓 Blog: lepczynski.it/en
    🚀 Facebook: / lepczynski.it
    ⭐️ Twitter: / wlepczynski
    💰Amazon affiliate links💰 to the gear I use:
    ---------------------------------------------------
    📷 samsung galaxy s20 FE: amzn.to/3pR773K
    UK amzn.to/3YcmrF7
    🎙️ microphone neewer NW-7000: amzn.to/3pVEi6s
    UK amzn.to/3Ojskgc
    🎙️ microphone comica CVM-VM10II with Shock Mount, Deadcat: amzn.to/3PWuQKB
    UK amzn.to/457ZTYn
    💡 LED light yongnuo yn600 air: US amzn.to/3pVNvvt
    UK amzn.to/43y7dei
    💡 LED RGB light yongnuo yn300 air: amzn.to/3XWseOG
    UK amzn.to/3XYiLq1
    🦾 gimbal dji om4: amzn.to/3Q0Zcvi
    UK amzn.to/46UOT1Z
    ☂️ cheapest white photo umbrella: amzn.to/3K4VYDg
    UK amzn.to/3Oj9G84
    🔭 camera tripod 74": amzn.to/3DkPLzA
    UK amzn.to/46W3UAw
    🔭 cheap light tripod 82": amzn.to/3rCpNoi
    UK amzn.to/44P527f
    #aws #s3 #tutorial #api #lambda
    🎵 Do you want to make videos on TH-cam? I know a great place where you can download music for free after creating a free account. Referral link:
    uppbeat.io/?referral=wojciech...
    Music from #Uppbeat (free for Creators!):
    uppbeat.io/t/pryces/music-is
    License code: KFJPGMPU4XYMOFO1

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

  • @miroslav.radojevic
    @miroslav.radojevic 4 หลายเดือนก่อน +1

    Hi Wojciech, thanks for the useful tutorial. I have a question: if I want to delete files (objects) from a particular folder, should I also tick the option "Permanently delete noncurrent versions of objects"? I noticed you selected "Expire current versions of objects". What would be the difference between the two and are files completely deleted after ticking "Expire current versions of objects"? Thanks a lot.

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

      Hi, using versioning in S3 you can have several versions of the same file.
      So if you don't use versioning then you can only delete the current version like I did. If you want to remove all versions, you must also select remove noncurrent versions.
      You can find more about versioning in docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html

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

    Hi Wojciech, Thanks for the video.
    I have an Amazon S3 bucket which has a few million objects in the root, and a production folder also located in the root. I would like to delete all of the objects from the root of the S3 bucket, except for the the production folder. These objects are a few years old.
    Could you please advise on the best and fastest approach to complete this task? I want to ensure that only the files in the S3 bucket root are deleted, and that the production folder is not affected.

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

      it will be safest to move the production folder to another S3 bucket and clean this one.

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

    hi please i want to set files into s3 with laravel 9 but not working , well everything setup correctly but i cant find files in s3 its sounds like doesnt store in s3 while everything setup correctly please can u help me ?

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

      You should probably ask the creators of Laravel 9 about it, or look in the documentation :)

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

    it is good ..but why are you explain this much fast ....if he is new to aws ..how he can understand this much fast

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

      Thank you for your feedback. I usually speed up videos when I watch them. Someone already wrote about this.
      I don't want to waste your time, but I try to record each new video at a slower speed and add more content to it. The difficult balance is between giving short advice and adding enough background.
      Thanks again for the feedback, I hope it gets better with each video, if not please let me know.