AWS Academy - Ubuntu Images

Fall 2021 AWS Academy Workarounds (AMI Source)

Only Amazon-provided images are supported in AWS Academy, and there's a trick in locating these. To launch your Ubuntu Linux instance:

  1. Go to the EC2 Console -
  2. Choose the "AMI" section on the left-hand menu (under "Images")
  3. Change the dropdown next to the search bar from "Owned by Me" to "Public Images"
  4. Click in the search bar and choose "Owner", and then choose "Amazon images".
  5. Choose "Add filter" in the search bar again and choose "Source", then type in amazon/ubuntu.
  6. Sort by AMI Name to bring the latest version (with the latest security updates, etc) to the top of the list.
  7. Look for an image like this if you want Ubuntu 20.04: Ubuntu_20.04-x86_64-SQL_2019_Express-2021.09.20
  8. Click the checkbox next to the one you want, and select Launch.

Connect to your new instance via SSH.

After launching, you can see what version of Ubuntu Amazon is using:

$ cat /etc/issue
Ubuntu 20.04.2 LTS
# (As-of Fall 2021)

Finally, remove some cruft that comes with the Amazon-provided "Ubuntu_20.04-x86_64-SQL_2019_Express-2021.09.20" image that would not be present on a standard generic Ubuntu image.

$ sudo apt -y purge mssql* msodbc*