Learndash and Amazon AWS help.

prasad0889

Well-known member
Trusted Seller
Trusted Uploader
Jan 18, 2019
543
312
63
India
Hello, You can use AWS S3 to host all the videos securely. You can also use Cloudfront as a CDN if you need. Learndash has added support for S3 and Wistia in 2017.
 

iamjiban

Active member
Apr 20, 2019
329
122
43
India
forexguide.us
I want to use the Amazon S3. But I couldn't find any good tutorial or blog post regarding this who have shown step by step if you know how I can create a bucket ( bucket setting ) and how to generate the link to stream the video in Learndash that will help me a lot. Thanks in advance.
 

prasad0889

Well-known member
Trusted Seller
Trusted Uploader
Jan 18, 2019
543
312
63
India
Hello,
I did try installing LearnDash yesterday and it is pretty simple. Here are the steps you should follow to start building your website. I have not used any theme for now. You might need the S3FlowShield plugin. This solution was brought to my attention by a LearnDash user. While I don’t have direct experiencing in using it, I have seen it in action on other sites. For a one-time payment of $97, S3FlowShield will protect any video that you have hosted on Amazon S3 servers.

  1. Install Learndash and ignore the license warning.
  2. Go to the menu on the left and you should see LearnDash LMS as an option.
  3. Go to the overview and you will see a list of options. These options have videos which will help you guide through the process. (I will skip this, as you should be able to easily figure it out and is pretty simple.)
IMP: I would suggest you use VimeoPro or Wistia. Wistia are better, have built-in CDN, and are very easy to use. Also, their charges are lower than S3, as they provide enough bandwidth. While on S3, you would require to pay a lot for bandwidth. VimeoPro is also a good option and is used by many people to host videos.) (If you still want to host on S3 read the below points.)
  1. Now once you login into your AWS account, search for IAM in the services section.
  2. Click on Users in the left column and click Add User button at the top which is in blue color.
  3. Create a username for eg. learndash-s3-yourwebstiename. This will let you know that this is your S3 user for your website.
  4. Choose Programmatic access.
  5. Click on next and click on Attach existing policies directly. Search for S3 and select the AmazonS3FullAccess option.
  6. Clicking next you will be shown a screen where you should be able to see your S3 Access Key and Secret. Please copy and store it in a safe place, as the secret key is not revealed again.
  7. Now go to S3 service and you will have a screen showing all your buckets. Click on Create a bucket.
  8. Set a name, select the bucket location, click on next.
  9. Select the option to encrypt data with AES 256 on the next page.
  10. Now remove the block public access tick for all. Otherwise, your videos cannot be seen by the public.
  11. Create your bucket now.
  12. Now go to the bucket and select create a folder.
  13. Organize your content in the folder neatly, so you are not confused later on.
  14. Once uploaded you will see the video on the list in that folder. Click the tick mark button, and you should see a window slide in from the right, which will show you the object URL. Copy it.
  15. Now go back to your WordPress admin panel, click on lessons, and on the lesson, add video (I see this option in the Gutenburg menu.) Click on Add URL, and paste the S3 URL.
  16. Save the lesson and it should display the video on the frontend in the course you have added the lesson too.
Note: If you skip watching the videos, you would be confused about how to add lessons. So I would suggest you watch all the videos.

Also, if you find this very tricky and confusing, I would suggest you try Wistia or Vimeo Pro.
Do note that S3 will charge you for bandwidth, uploading videos, on the get requests to videos and more. So proceed with caution, otherwise, you will have a very big bill at the end of the month.

If you need any other help, feel free to ask.
 

iamjiban

Active member
Apr 20, 2019
329
122
43
India
forexguide.us
Hello,
I did try installing LearnDash yesterday and it is pretty simple. Here are the steps you should follow to start building your website. I have not used any theme for now. You might need the S3FlowShield plugin. This solution was brought to my attention by a LearnDash user. While I don’t have direct experiencing in using it, I have seen it in action on other sites. For a one-time payment of $97, S3FlowShield will protect any video that you have hosted on Amazon S3 servers.

  1. Install Learndash and ignore the license warning.
  2. Go to the menu on the left and you should see LearnDash LMS as an option.
  3. Go to the overview and you will see a list of options. These options have videos which will help you guide through the process. (I will skip this, as you should be able to easily figure it out and is pretty simple.)
IMP: I would suggest you use VimeoPro or Wistia. Wistia are better, have built-in CDN, and are very easy to use. Also, their charges are lower than S3, as they provide enough bandwidth. While on S3, you would require to pay a lot for bandwidth. VimeoPro is also a good option and is used by many people to host videos.) (If you still want to host on S3 read the below points.)
  1. Now once you login into your AWS account, search for IAM in the services section.
  2. Click on Users in the left column and click Add User button at the top which is in blue color.
  3. Create a username for eg. learndash-s3-yourwebstiename. This will let you know that this is your S3 user for your website.
  4. Choose Programmatic access.
  5. Click on next and click on Attach existing policies directly. Search for S3 and select the AmazonS3FullAccess option.
  6. Clicking next you will be shown a screen where you should be able to see your S3 Access Key and Secret. Please copy and store it in a safe place, as the secret key is not revealed again.
  7. Now go to S3 service and you will have a screen showing all your buckets. Click on Create a bucket.
  8. Set a name, select the bucket location, click on next.
  9. Select the option to encrypt data with AES 256 on the next page.
  10. Now remove the block public access tick for all. Otherwise, your videos cannot be seen by the public.
  11. Create your bucket now.
  12. Now go to the bucket and select create a folder.
  13. Organize your content in the folder neatly, so you are not confused later on.
  14. Once uploaded you will see the video on the list in that folder. Click the tick mark button, and you should see a window slide in from the right, which will show you the object URL. Copy it.
  15. Now go back to your WordPress admin panel, click on lessons, and on the lesson, add video (I see this option in the Gutenburg menu.) Click on Add URL, and paste the S3 URL.
  16. Save the lesson and it should display the video on the frontend in the course you have added the lesson too.
Note: If you skip watching the videos, you would be confused about how to add lessons. So I would suggest you watch all the videos.

Also, if you find this very tricky and confusing, I would suggest you try Wistia or Vimeo Pro.
Do note that S3 will charge you for bandwidth, uploading videos, on the get requests to videos and more. So proceed with caution, otherwise, you will have a very big bill at the end of the month.

If you need any other help, feel free to ask.
Thank you so much
 
  • Like
Reactions: prasad0889

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu