Skip to content

Instantly share code, notes, and snippets.

@scarnecchia
Created September 15, 2015 19:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save scarnecchia/b9b2a8052595330641de to your computer and use it in GitHub Desktop.
Save scarnecchia/b9b2a8052595330641de to your computer and use it in GitHub Desktop.
#!/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