Skip to content
Rob Nagler edited this page Nov 17, 2019 · 35 revisions

Amazon Web Services (AWS)

Setup Instance

From console:

  • CentOS 7 Official AMI with HVM
  • Use public-ssh security group
  • Use existing key
  • Encrypt all disks
  • 10g root partion

Once booted, get public and private IPs:

  • Add IPs to named
  • ssh centos@<public-ip>
  • sudo su -
  • cat > /root/.ssh/authorized_keys -- add key
  • Do not logout yet, verify first
  • ssh root@<public-ip>
  • userdel -r centos
  • Logout of original session
  • yum install -y lvm2
  • fdisk -l -- determine local volume
  • pvcreate <disk>
  • vgcreate centos <disk>

Proceed with post installation instructions.

GPU Driver install

curl -O https://s3.amazonaws.com/nvidia-gaming/NVIDIA-Linux-x86_64-435.22-grid.run
sh NVIDIA*run
echo vGamingMarketplace=2 > /etc/nvidia/gridd.conf
curl -o /etc/nvidia/GridSwCert.txt https://s3.amazonaws.com/nvidia-gaming/GridSwCert-Linux.cert

Verify ssh key fingerprint

You have to convert the ssh private key to PEM format then DER format, and finally compute md5:

ssh-keygen -e -m PEM -f ~/.ssh/id_rsa | openssl rsa -RSAPublicKey_in -outform DER | openssl md5 -c

Clone this wiki locally