Folks sorry for confusing terminology. I meant user-data scripts that can be passed to ec2 instances while firing up. more details here http://www.turnkeylinux.org/blog/ec2-userdata
They can essentially help you do some stuff on the instance like attaching EBS etc. I am not sure if beforeBootstrap() function to achieve this. Just looking at a way of achieving the same functionality. On Mon, Mar 5, 2012 at 11:01 PM, Ashwanth Kumar <[email protected]> wrote: > You can try also S3 and then copy it after your instances are up. If it > might help. > > > On Mon, Mar 5, 2012 at 10:54 PM, Marco Didonna <[email protected]> > wrote: >> >> On 5 March 2012 18:10, Ashish <[email protected]> wrote: >> > Hi, >> > >> > Is there a way through which we can pass user data to ec2 instances, >> > while firing up hadoop or other clusters? >> > >> > -- >> > thanks >> > ashish >> >> Well speaking of hadoop you can't pass anything until the full cluster >> has been initialized. After that just use the simple hadoop fs >> -copyfromlocal command, I'm sure you're familiar with it. >> >> Regards, >> MD > > > > > -- > > Ashwanth Kumar /Â ashwanthkumar.in > > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
