iamjiban
Active member
Anyone know how I can set up Amazon AWS with Learndash to stream my course videos securely. Thanks in advance.
Thank you so muchHello,
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.
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.)
- Install Learndash and ignore the license warning.
- Go to the menu on the left and you should see LearnDash LMS as an option.
- 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.)
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.
- Now once you login into your AWS account, search for IAM in the services section.
- Click on Users in the left column and click Add User button at the top which is in blue color.
- Create a username for eg. learndash-s3-yourwebstiename. This will let you know that this is your S3 user for your website.
- Choose Programmatic access.
- Click on next and click on Attach existing policies directly. Search for S3 and select the AmazonS3FullAccess option.
- 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.
- Now go to S3 service and you will have a screen showing all your buckets. Click on Create a bucket.
- Set a name, select the bucket location, click on next.
- Select the option to encrypt data with AES 256 on the next page.
- Now remove the block public access tick for all. Otherwise, your videos cannot be seen by the public.
- Create your bucket now.
- Now go to the bucket and select create a folder.
- Organize your content in the folder neatly, so you are not confused later on.
- 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.
- 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.
- Save the lesson and it should display the video on the frontend in the course you have added the lesson too.
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.