title: How to create ami instance programmatically?
body: <p>lately I am doing some POC's in amazon elastic cloud. I created a sample instance and I uploaded my sample web application and finally saw my hello world jsp.</p>
  
  <p>Now I am trying to create one more instance and want to send data from my first instance to second instance. I know that this can be achieved  through zookeeper. But I want to create my second instance programmatically and not through the management console. </p>
  
  <p>How to achieve this?
  I am thinking that this has something to do with the amazon s3 where we bundle our ami. But not sure about it. Can anyone give me guidelines?</p>