community-content icon indicating copy to clipboard operation
community-content copied to clipboard

[Request] How to setup amazon s3 upload provider plugin - Strapi v4

Open noctufaber opened this issue 4 years ago • 7 comments

My Request The amazon s3 upload provider tutorials (https://strapi.io/tutorials) are way out of date. Can you please provide a version 4 tutorial to setup amazon s3 upload provider plugin?

Community vote 👍 Upvote if you like this topic 🚀 If you can make the article/video!

Thank you.

noctufaber avatar Feb 17 '22 22:02 noctufaber

Hi @TiaraOluwanimi I would love to work on a tutorial for this topic.

Marktawa avatar Jul 19 '22 09:07 Marktawa

@Marktawa that would be awesome. Can you provide a brief outline of the steps you will cover in your article.

PaulBratslavsky avatar Jul 21 '22 18:07 PaulBratslavsky

Hi @PaulBratslavsky

Great. I will prepare an outline for the article.

Marktawa avatar Jul 22 '22 10:07 Marktawa

Hi @PaulBratslavsky Here's a brief outline

Set up Amazon S3 Upload Provider Plugin for your Strapi App

  • Introduction
    • What is Strapi
    • What is Amazon S3
  • Prerequisites
    • Strapi v4
    • AWS Account
    • Node v12 to v16
  • Set up AWS
    • Create AWS Account
    • Create IAM policy Strapi
    • Set up permissions (AWS Policy Actions)
    • Access credentials
  • Set up Strapi
    • Create demo Strapi app
    • Install @strapi/provider-upload-aws-s3 plugin
    • Configure plugin
  • Test demo app
  • Recommendations
  • Conclusion

Marktawa avatar Jul 26 '22 09:07 Marktawa

Hey @PaulBratslavsky

Here's an updated outline. What do you think?

Title: How to setup Amazon S3 Upload Provider Plugin for your Strapi App

Description

A powerful feature of Strapi is its flexibility and extensibility. This is provided through plugins hosted on the Strapi Market. Plugins help add more functionality to your Strapi app. One such feature is uploading your media assets to a cloud provider in the Strapi dashboard.

Sometimes you may want to host your app's media files in a different location from where your Strapi app is. This is useful if you want to save on storage, memory, and compute resource usage on your Strapi app production server or leverage cloud-based solutions like Content Delivery Networks (CDN) or cloud storage buckets for faster and reliable loading of your media assets.

Amazon AWS is the biggest cloud provider. It offers Amazon S3, a cloud storage service you can use to host your media assets. Amazon S3 is scalable, reliable, secure, and performant. Fortunately, the Strapi Team built an Amazon S3 Upload Provider Plugin to help streamline uploading your media assets to your S3 storage bucket.

In this tutorial, I will show you how to set up the Amazon S3 Upload Provider Plugin for your Strapi App. You will first set up and configure an S3 storage bucket for your app. Then create a Strapi App using one of the starters provided by the Strapi Team. Next, you will install and configure the Amazon S3 Upload Provider Plugin. Finally, you will test the plugin by uploading some images to your Strapi backend. By the end of this tutorial, you should be able to use the Amazon S3 Upload Provider Plugin with any Strapi project.

Outline

  • Introduction
    • What is Strapi?
    • What is Amazon S3?
  • Prerequisites
    • Strapi v4
    • AWS Account
    • Node v12.xx to v16.xx
  • Set up AWS
    • Create Administrator IAM Admin User and Group
    • Create an IAM user for your Strapi App
    • Set up permissions for Amazon S3
    • Retrieve Credentials Access key ID and Secret access key
    • Create Amazon S3 Storage Bucket
    • Configure Storage bucket options and access
  • Set up Strapi
    • Create demo Strapi app
    • Install @strapi/provider-upload-aws-s3 plugin
    • Configure plugin
  • Test demo app
  • Recommendations
  • Conclusion

My content is

  • [x] A Strapi Tutorial / Guide / How to article
  • [ ] About Headless, CMS, javascript, open source, or Jamstack
  • [ ] Other, specify

What do you all think? 👍 Nice! ❤️ I love it! 🚀 I can help you!

Marktawa avatar Aug 01 '22 21:08 Marktawa

Hey @PaulBratslavsky

Here's my finished draft and repo

Marktawa avatar Aug 09 '22 01:08 Marktawa

@Marktawa looks great, if you are happy with your draft we can move forward @TiaraOluwanimi

PaulBratslavsky avatar Aug 09 '22 12:08 PaulBratslavsky

Hello @Marktawa 👋 Just wanted to let you know that your article will be published around the second week of September. I'll let you know when it is published!

dessireugarte avatar Aug 26 '22 09:08 dessireugarte

Noted

Marktawa avatar Aug 29 '22 07:08 Marktawa

Hello 👋  Your article is live! 🎉 Quick feedback, I have noticed in the last articles you include a screenshot of the login section in the admin panel of v3. We shouldn't include any screenshots referring to v3 since the articles are v4. I changed them, just take it into consideration for future articles.

Now you can submit your invoice here!

If you want to promote your article, here are some ideas and templates that might help you! Please feel free to reach out to me if you have any questions!

dessireugarte avatar Sep 05 '22 08:09 dessireugarte

Hi 👋 @dessireugarte

Quick feedback, I have noticed in the last articles you include a screenshot of the login section in the admin panel of v3. We shouldn't include any screenshots referring to v3 since the articles are v4. I changed them, just take it into consideration for future articles.

Thanks for the feedback. I wasn't aware of my error. I assumed the login sections for v3 and v4 were the same. Thanks for the correction once again.

Marktawa avatar Sep 05 '22 09:09 Marktawa

Hi 👋 @dessireugarte

I submitted the invoice for this article on September 5th, but I have not yet received the payment. May you kindly look into this matter?

Thank you in advance.

Marktawa avatar Oct 12 '22 08:10 Marktawa

@malgamves when you get a chance can you check the status of this invoice? Thank you.

PaulBratslavsky avatar Oct 24 '22 16:10 PaulBratslavsky

Hi @PaulBratslavsky

Thanks, I received the payment.

Marktawa avatar Oct 24 '22 19:10 Marktawa