Create WeBWorK Amazon Machine Image (AMI) File: Difference between revisions
No edit summary |
|||
Line 28: | Line 28: | ||
Install WW following https://webwork.maa.org/wiki/Installation_Manual_for_2.16_on_Ubuntu | Install WW following | ||
# https://webwork.maa.org/wiki/Installation_Manual_for_2.16_on_Ubuntu | |||
and | |||
# | |||
Before configuring WeBWork, set the server time zone | Before configuring WeBWork, set the server time zone | ||
Line 39: | Line 42: | ||
Create the AMI see https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/tkv-create-ami-from-instance.html | Create the AMI see https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/tkv-create-ami-from-instance.html | ||
[[Category:Developers]] | [[Category:Developers]] | ||
[[Category:Administrators]] | [[Category:Administrators]] |
Revision as of 15:37, 9 August 2021
Instructions for creating a WeBWorK Amazon Machine Image (AMI)
Log into EC2 Dashboard
Locate the current Ubuntu LTS AMI in http://cloud-images.ubuntu.com/locator/ec2/ and search us-east-2 and click on link
Choose an Instance Type e.g. T4g small
ADD Storage
15 GM storage
Also make sure that Delete on Termination is unchecked.
Launch
Follow direction in https://webwork.maa.org/wiki/WeBWorK_2.16_Ubuntu_Server_20.04_LTS_Amazon_Machine_Image about adding security groups, etc
Security groups have to be setup from the AMS dashboard
add the wwadmin user
sudo aduser wwadmin
Install WW following
and
Before configuring WeBWork, set the server time zone
sudo timedatectl set-timezone America/New_York
Configure WeBWorK, set URL to ip address in site.conf for testing. Set to aws.apizer.org and use Google domains to forward to ip address. Set up HW sets with due dates, class lists, etc the same way as in current AMI's or the current virtual machine image
Create the AMI see https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/tkv-create-ami-from-instance.html