Create account
Click EC2
Launch instance
Select Ubuntu 14.04
Select first tier
Configure network
Add storage
Name the instance
Create a security group with only your IP (for now)
Download security key
chmod 400 [name of .pem file]
ssh -i [name of .pem file] ubuntu@[name of AWS instance]
Installing Node and testing
sudo apt-get install git
git clone https://github.com/heroku/node-js-sample.git
cd node-js-sample/
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
npm install
npm start
Edit index.js to use port 8080 instead of 5000
app.set('port', (process.env.PORT || 5000))
app.set('port', (process.env.PORT || 8080))
sudo vim /etc/sysctl.conf" and uncomment "net.ipv4.ip_forward
sudo sysctl -p /etc/sysctl.conf
cat /proc/sys/net/ipv4/ip_forward
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
sudo iptables -A INPUT -p tcp -m tcp --sport 80 -j ACCEPT
sudo iptables -A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT
npm start
Click on the security group you created that is listed in the instance
Click on the "inbound" tab
Click "edit"
Click "Add Rule"
Type: HTTP and Source: Anywhere
Save
Navigate to Xamarin's webpage (http://developer.xamarin.com/ )
Under the "pricing" tab, scroll down to the FAQ and click the link for student pricing
Fill in the required info and await an email where you will need to show proof of your student status
Download and install Xamarin when confirmation email is received
Linking Xamarin and Visual Studio
refer to documentation at the following URL:
http://developer.xamarin.com/guides/cross-platform/getting_started/visual_studio_with_xamarin/cross_platform_visual_studio_project_setup_walkthrough/