- Create cloud-workstation security group: tcp 22 0.0.0.0/0, udp 60000-61000 0.0.0.0/0
- Key Pairs: import id_rsa.pub
- Identify bionic amd64 hvm:ebs-ssd Ubuntu AMI for desired region
- Launch instance with all of the above. Check Auto-Assign Public IP, root volume size
- Create and associate Elastic IP and DNS record if desired
ssh ubuntu@hostname
sudo bash -c 'apt-get update && apt-get install git ansible -y'
sudo ansible-pull -d /etc/cloud-workstation -U https://github.com/mlin/cloud-workstation.git -i 'localhost,' -v
- Set
/etc/hostname
and/or Dynamic DNS if desired (increase crontab frequency to */2) sudo service ssh restart
Thereafter the playbook can be executed with sudo /etc/cloud-workstation/update
.
mosh mlin@hostname
- x2go