@Frez put together a tutorial on how to set up Discourse on EC2 in a supported way that actually works:
I’d highly recommend that you follow these instructions.