How to host Wordpress Images on Amazon S3

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024

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

  • @victorianodejesus
    @victorianodejesus  7 месяцев назад

    Hey guys, sorry I let my web hosting expire so my website has been taken offline.
    I have updated the video description to include the steps and a copy of the policy. I hope it helps.

  • @australiansportingphotos2053
    @australiansportingphotos2053 4 года назад +1

    Thank you I’m a large volume sports photographer who could never find the easiest way to have 1000s of images online. This did it

    • @victorianodejesus
      @victorianodejesus  4 года назад

      Excellent! I am happy to hear that this was useful for you!

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

    Hi Victor, amazing tutorial and it worked the first time for me. One question though. with your method, all Woocommerce files are loaded to the "uploads/2022..." folders instead of the uploads/woocommerce_uploads/2022/11" folder which is by default not public. So if you are selling images, you need the woocommerce_uploads folder so people cannot access it. Is there a workaround for this without using the 'WooCommerce Amazon S3 Storage' plugin which is extremely cumbersome.

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

      Hi, this is an interesting question. Unfortunately, I do not have a solution for this since I have never done any paid digital downloads through Woocommerce. I can't really give any advice since I pretty much haven't used the digital download feature for Woocommerce.
      I suppose what you can do is upload the paid photos via the S3 method. Then use your browser in Private Mode and see if you can try to download your own paid images for free. I have a feeling that if you are offering a digital download via Woocommerce, that there is a built-in mechanism to restrict access to your full-resolution photos even though you have uploaded them to a public S3 bucket.
      As an additional check, you can also try to see if your Public S3 bucket can be accessed and your photos downloaded directly if someone types in the URL of your S3 bucket. The likelihood of someone doing this is probably very low however it is possible for someone who is highly motivated.
      Sorry I couldn't really give any concrete steps here. But keep me updated with the solution that you find. I'm sure other people in the same boat will find your comment helpful.

  • @gibransanchez5753
    @gibransanchez5753 4 года назад +1

    GREAT VIDEO VICTORIANO! THANKS!

  • @easywebcoder4789
    @easywebcoder4789 2 года назад

    how can move my existing images to aws?

  • @tedspens
    @tedspens 3 года назад +2

    I wish everybody explained things as well as you do. I'm expecting my uploads directory to explode at any time. Thank you!

  • @worldofnissanka9222
    @worldofnissanka9222 11 месяцев назад

    thank you very much and its clear.. but how to configure with a Custom URL for photos under Domain name? if domain provider DNS with Cloudflare how to configure it. please make an video

    • @victorianodejesus
      @victorianodejesus  11 месяцев назад +1

      Unfortunately, I don't know how to do this. This is a bit beyond my technical knowledge and ability.

  • @mkirby2000
    @mkirby2000 3 года назад

    Victor, great tutorial. Do you have an ETA when your website is going to be back up in order to download the policies? Additional S3 tutorials would be great. For instance, how do you restrict your bucket to a specific domain(s). Also, how to use Offload Media if you are pulling from multiple bucks (example: public bucket & private bucket).

    • @victorianodejesus
      @victorianodejesus  3 года назад +1

      Sorry about that, I've used the same instructions here: www.codeinwp.com/blog/wordpress-s3-guide/
      Still working on the website

  • @MuhammadKashif-pp7sq
    @MuhammadKashif-pp7sq 2 года назад

    granting public access to buckets is harmful?

    • @victorianodejesus
      @victorianodejesus  2 года назад

      No I don't think it is harmful. The public can view the photos, which is what you want. But the public cannot upload or change things in the bucket.

  • @thepracticalaudiophile
    @thepracticalaudiophile 2 года назад

    Nice video but I get access denied error. For some reason I'm not allowed to write to bucket.

  • @priyankamaske5267
    @priyankamaske5267 3 года назад

    please explain "Once a file has been copied to the bucket, remove it from the local server. More info »
    " By enabling this feature the file will be saved in hosting server as well as aws also. so in order to save hosting storage can I disable it and what are risk if I disble it. can you pls clear mu doubt

    • @victorianodejesus
      @victorianodejesus  3 года назад

      Leave this checked. This will help you save on web hosting space by removing the file there once it is uploaded and hosted through Amazon S3.

  • @idan89able
    @idan89able 2 года назад

    Thank you very much! it is so usefull!

  • @swordgg
    @swordgg 2 года назад

    *I think this is better media cloud plugin* ;)

  • @produecr
    @produecr 4 года назад

    (same question)Can we upload video files with this process?

    • @victorianodejesus
      @victorianodejesus  4 года назад

      I have not tried videos. It should be possible since your Amazon S3 server will host whatever file you upload to it. I don't know how much bandwidth videos will consume when being served on S3, so be careful. You don't want to all of a sudden receive a massive bill from Amazon.

  • @yogeshsharma7524
    @yogeshsharma7524 4 года назад

    Perfect. Is there a way we can upload videos to Amazon S3 bucket from Wordpress backend?
    I am creating a membership website for trainers to create their own courses, so want to give them graphical interface in Wordpress to upload their course videos. Not sure if that is possible. Any help would be appreciated. :) Thanks again.

    • @victorianodejesus
      @victorianodejesus  4 года назад

      This tutorial is using the default Media Uploader in the Wordpress Dashboard. This is the only way I know how to do it. If they can use the Media Uploader, then it should be fine. Otherwise, unfortunately I wouldn't know how.

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

    Great job Bros!
    Very clear and easy to follow!
    You got my Sub + All bell + my Respect!
    -----------------------------------------------------------------------
    Thanks take care and be safe always!

  • @patrickwillmott
    @patrickwillmott 4 года назад +1

    Thanks for the video - great step-by-step tutorial of how to upload and host images to amazon. Much appreciated!!!

  • @anthonybucci9248
    @anthonybucci9248 7 месяцев назад

    the website is down for the policy code.

  • @amanuelyohannes7151
    @amanuelyohannes7151 2 года назад +1

    Good job man! You have no idea how much this helps.

  • @gotAngstVlog
    @gotAngstVlog 3 года назад +1

    This was exceptional. Thank you.

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

    Thank you for the content. So this means that even though we see the image in the wp media, there is no space consumed there coz the image is viewed in the media while it's in the S3 bucket? Is that correct? And another question, is it possible to organize your media files in prefix (folders in S3 bucket)

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

      To answer your first question: There is no space consumed in your WP Hosting. Images are simply linked to your S3 bucket where the images are actually stored.
      Second question: Unfortunately, I don't know of a way to organise the images in the S3 bucket. I believe you can organise images with folders in the WP Media Gallery and it should not affect the S3 storage. But I have not tried this myself.

  • @DonoSanchezAlmaraMX
    @DonoSanchezAlmaraMX 3 года назад +1

    GREAT ADVICE AND TOOL!!

  • @narenderreddy4487
    @narenderreddy4487 4 года назад +1

    Can we upload videos files with this process ?

    • @victorianodejesus
      @victorianodejesus  4 года назад

      I have not tried videos. It should be possible since your Amazon S3 server will host whatever file you upload to it. I don't know how much bandwidth videos will consume when being served on S3, so be careful. You don't want to all of a sudden receive a massive bill from Amazon.

  • @prathamshrestha2504
    @prathamshrestha2504 3 года назад +1

    Is there a reverse way possible ?? I mean upload the images of amazon to WP media ?

    • @victorianodejesus
      @victorianodejesus  3 года назад

      I looked into this as well and unfortunately, you are limited to using the Wordpress Media Upload Manager. I do not know how to bulk upload to S3 first, then tell Wordpress where the files are.

    • @prathamshrestha2504
      @prathamshrestha2504 3 года назад

      @@victorianodejesus ohh ok thanks for your response 👍

  • @practical-skills-school
    @practical-skills-school 3 года назад

    Nice work, man, very clear manner of doing stuff

  • @stockwaves1390
    @stockwaves1390 2 года назад

    Great work!! Thanks for this, really well explained.

  • @rcsteam2020
    @rcsteam2020 3 года назад

    Is there any limit on the number of images upload?

  • @myownsghoststory6754
    @myownsghoststory6754 3 года назад

    Bro Thanks a ton for this video

  • @indian3960
    @indian3960 3 года назад

    most users don't really need any kind of CDN... because targetting a specific region... just set up a hosting nearest to your visitors with an s3 bucket... but I have one question if I want to change my server from one hosting to another, then do my images are also fetched to neo location?

    • @victorianodejesus
      @victorianodejesus  3 года назад

      I have not tried migrating over to a new hosting provider so I don’t really know if it would work. Conceptually, when you get the plug-in installed on the new hosting, you should be able to point it to your existing S3 bucket.
      But I haven’t tried this myself, so I don’t really know.

  • @larrypane1462
    @larrypane1462 4 года назад

    How does this help then? You said if the media gets deleted from WordPress it will still be available on Amazon S3 server but towards the end of the video that's not so...

    • @victorianodejesus
      @victorianodejesus  4 года назад +1

      The existing images in your website (before the S3 setup), will not be automatically offloaded to the S3 server. They will continue to be hosted on your Wordpress website.
      Only the new images that you upload (after the S3 setup) are offloaded to S3 Server. What you see in your Wordpress Media Library are image links. No images are actually stored on your Wordpress Hosting because the images are now on the S3 server. It helps because you are no longer taking up space on your hosting provider.
      When you delete the (offloaded) images from your Media Library, they also get deleted off the S3 server.

  • @SonnyLabaynaOnFIRE
    @SonnyLabaynaOnFIRE 4 года назад

    Once I set this up, can I hotlink other websites to those images or not?

    • @victorianodejesus
      @victorianodejesus  4 года назад +1

      I am not sure. I haven't tried it myself

    • @SonnyLabaynaOnFIRE
      @SonnyLabaynaOnFIRE 4 года назад

      @@victorianodejesus Thanks for the response! Will try it myself. 🙂

  • @bkingplusasli3817
    @bkingplusasli3817 3 года назад

    help please, i have a trouble when try connect with cloudfront

    • @victorianodejesus
      @victorianodejesus  3 года назад

      I'm sorry I cannot help. I am not very familiar with troubleshooting Cloudfront issues.

  • @urekmazino1327
    @urekmazino1327 4 года назад

    I did all that and photos are uploaded in my s3 bucket but they aren't showing in my website 😔😔
    any solution bro

    • @victorianodejesus
      @victorianodejesus  4 года назад +1

      You still have to attach the images you upload to your blog post, website or product. For example, when creating a blog post, you still need to insert the image that is already in your Media Library.
      Any images you insert into your blog post, web page, etc, is automatically offloaded to the S3 server. No need to do it again by uploading to the Media Library. I hope that helps.
      Also, you have to upload through the Wordpress Media Library. If you upload directly to your S3 bucket, Wordpress will not recognise the images as part of your website.

    • @urekmazino1327
      @urekmazino1327 4 года назад

      @@victorianodejesus thank you i problem was because my account wasn't verified yet

    • @ServantStatusMinistries
      @ServantStatusMinistries 4 года назад +1

      @@victorianodejesus ok so can we upload the images in the actual blog or do the images always have to be uploaded in the media library for it to work? BTW great video this really helped me a ton!

    • @victorianodejesus
      @victorianodejesus  4 года назад +1

      @@ServantStatusMinistries I think you should be able to upload it to the blog post.
      A good way to check this is to upload via the blog post. Then check the image in the media gallery. The File URL should be pointing to your Amazon S3 server.
      I hope this helps.

    • @ServantStatusMinistries
      @ServantStatusMinistries 4 года назад

      Victoriano de Jesus thank you so much!