Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/bin/sh
#call with sudo ./ec2_deploy.sh
apt-get update -y
apt-get upgrade -y
apt-get install -y xfce4 xrdp chromium-browser xfce-terminal git
service xrdp start
passwd ubuntu
#enter password at prompt
#Assign a security group with the following inbound rule to the EC2 instance to enable remote access:
#Protocol: TCP
#Port Range: 3389 // configuration can be found in /etc/xrdp/xrdp.ini
#Source:
#Assign an elastic IP to your EC2 instance. You should now be able to remote access to it from your Windows box using your ubuntu username and the password you just set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment