title: How to move files from S3 bucket to EC2 on creation of instance
body: <p>I am creating Flash Media Servers using an AMI that Adobe provides. I need to load some config.xml files into particular directories of the server so that when FMS starts up it will have the security configs that I want and a few other things that I want to do.</p>
  
  <p>I have a basic understanding that you can pass user-data in the form of a bash file to an instance. Would that be the best option?</p>
  
  <p>Could someone provide me with a good example as to what a bash file would look like if I would like to copy an xml file from S3 into a DIR on the FMS / CentOS instance?</p>