Installing MediaWiki and XenForo on Amazon AWS


I am trying to find a cheap way to host both of these. AWS seems to fit the bill, but I'm afraid of finding a $50, $100 or some other ridiculous charge within my bank account because I did something wrong. What's the easiest way to go about doing this? I signed up for the free tier and don't have any active pages or instances of XenForo anywhere.