Name: moodle-mod_appstream
Owner: AWS Samples
Description: This is a Plugin for Moodle that allows a teacher to assign an activity the student completes in AppStream
Created: 2018-02-05 01:34:44.0
Updated: 2018-02-12 20:42:49.0
Pushed: 2018-02-05 16:35:26.0
Homepage: null
Size: 84
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
mod_appstream is an Amazon AppStream 2.0 plugin for Moodle. The plugin allows a teacher to assign a virtual lab (e.g. R-Studio) to a student in Moodle. When the student clicks the assignment in their course, the plugin launches an AppStream instance.
Amazon AppStream 2.0 is a fully managed, secure application streaming service that allows you to stream desktop applications from AWS to any device running a web browser, without rewriting them. Amazon AppStream 2.0 can provide users instant-on access to the applications they need, with a responsive, fluid user experience on the device of their choice. You can read more about Amazon AppStream 2.0 by visiting https://aws.amazon.com/appstream2/.
Moodle is a Learning Platform or course management system (CMS) - a free Open Source software package designed to help educators create effective online courses based on sound pedagogical principles. You can read more about Moodle by visiting https://moodle.org/
This module can be installed as a zip file from the Moodle administration page. There are no additional steps required.
Note: If you want to package the plugin as a zip file, Moodle expects to find a single folder in the root named appstream (i.e. not the repo name moodle-mod_appstream). If you want download the soure to a Moodle server you should copy it to /path/to/moodle/mod/appstream.
mod_appstream does not depend on any other plugins. However, is does depend on the AWS SDK for PHP. It will download the SDK as a packaged phar upon installation.
The AppStream plugin is configured independently for each course. There are no settings in site administration. The image below shows a typical configuration. Details follow.
The plugin requires a Region, Fleet and Stack name configured in Amazon AppStream 2.0. In addition, you can optionally specify a Application Id and Session Context. You can read more about this in the AppStream documentation.
This plugin supports authentication using AWS Identity and Access Management (IAM). Typically you will create IAM user and and supply the Access Key and Secret Key when configuring the activity. If you are hosting Moodle on AWS, you can also use an Instance Profile. In either case, the plugin only requires permission to call CreateStreamingURL. For example:
ersion": "2012-10-17",
tatement": {
"Effect": "Allow",
"Action": "appstream:CreateStreamingURL",
"Resource": "*"
The plugin does not support Single Signon (SSO). However, AppStream supports SAML based SSO. When using SSO, there is no need to call CreateStreamingURL. You can simply use the built in URL activity and set the target to your SAML IdP (e.g. Shibboleth).
The last option is to configure automatic redirect. When you enable this option, the plugin will redirect the user without showing the activity page (i.e. view.php). If you don't enable this option, the user will need to click the link on the activity to launch AppStream. Typically fewer clicks is better and you should enable redirect. However, if you have a long description or instructions to display on the activity page you may choose to leave it disabled.
This library is licensed under the GPL 3.0 Only.