Go to aws.amazon.com and get logged into aws
At the menu at the top, type EC2 and select EC2 below:
3. Click Launch Instance
4. Specify the name and select Amazon Linux
5. Specify the instance type (avoid burstable "T" families).
6. Proceed without a key pair (not needed if using the Amazon Session Manager to connect to it)
7. Expand network, create a new security group, and clear inbound connectivity for all three types.
8. Expand storage and change it from SSD to magnetic storage
9. Expand Advanced Details and scroll down to the user data field
10. Paste the following into user data:
#!/bin/bash
sudo yum update -y
sudo dnf install dnf-plugins-core
sudo dnf config-manager --add-repo https://boinc.berkeley.edu/dl/linux/stable/fc37
sudo dnf config-manager --set-enabled boinc.berkeley.edu_dl_linux_stable_fc37
sudo rpm --import https://boinc.berkeley.edu/dl/linux/stable/fc37/boinc.gpg
sudo yum install -y boinc-client boinc-manager
boinccmd --acct_mgr attach http://bam.boincstats.com/ userid password
sudo touch /custom_install_complete.flag
11. Replace userid and password with your userid and password for boincstats.com.
12. Click Launch Instance
13. Click instances at the top of the window
13. Select the instance and click connect
14. Click Session Manager and then Connect
15. After connecting, issue the command ls / to see if the custom_install_completed.flag file is present. If it is then all the steps were completed. If it is not then wait 5 minutes and check it again.
16. Issue the command boinccmd --acct_mgr info
The name for the account and the URL for the BOINCs manager page will be listed!