Create WeBWorK Amazon Machine Image (AMI) File: Difference between revisions
(7 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
Locate the current Ubuntu LTS AMI in http://cloud-images.ubuntu.com/locator/ec2/ and search us-east-2 and click on link | 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 | Choose an Instance Type e.g. T4g small or T3a small | ||
ADD Storage | ADD Storage | ||
30 GB storage | |||
Line 18: | Line 17: | ||
Follow direction in | Follow direction in | ||
https://webwork.maa.org/wiki/WeBWorK_2. | https://webwork.maa.org/wiki/WeBWorK_2.17_Ubuntu_Server_22.04_LTS_Amazon_Machine_Image | ||
about adding security groups, etc | about adding security groups, etc | ||
Security groups have to be setup from the | Security groups have to be setup from the AWS dashboard | ||
add the wwadmin user | add the wwadmin user | ||
Line 29: | Line 28: | ||
Install WW following | Install WW following | ||
# [[Installation_Manual_for_2. | # [[Installation_Manual_for_2.17_on_Ubuntu]] | ||
and | and | ||
# [[Create WeBWorK Virtual Machine (.OVA) File]] | # [[Create WeBWorK Virtual Machine (.OVA) File]] | ||
Line 37: | Line 36: | ||
sudo timedatectl set-timezone America/New_York | sudo timedatectl set-timezone America/New_York | ||
Configure WeBWorK, set URL to ip address in site.conf | Configure WeBWorK, set URL to ip address in site.conf. Use Google domains to forward aws.apizer.org to ip address for testing. | ||
Note using aws.apizer.org in site.conf caused errors in the Library Browser. | |||
Set up HW sets with due dates, class lists, etc the same way as in current AMI's or the current virtual machine image | Set up HW sets with due dates, class lists, etc the same way as in current AMI's or the current virtual machine image | ||
Latest revision as of 16:28, 12 August 2024
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 or T3a small
ADD Storage
30 GB storage
Launch
Follow direction in https://webwork.maa.org/wiki/WeBWorK_2.17_Ubuntu_Server_22.04_LTS_Amazon_Machine_Image about adding security groups, etc
Security groups have to be setup from the AWS dashboard
add the wwadmin user
sudo adduser 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. Use Google domains to forward aws.apizer.org to ip address for testing. Note using aws.apizer.org in site.conf caused errors in the Library Browser.
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