Open BI is dedicated to Dataprocessing, Datawarehousing and Open Source Business Intelligence.

Thursday, 10 December 2009

Scripts for the EC2 !

Hi all,

I’m currently deep into EC2, mixing cloud computing and BI. Very interesting, awesome. As you know, Amazon released two interesting features a few days ago :

you can store an instance image in EBS, not in S3. You will only pay for EBS.

you run and stop an instance, instead of just launching it and terminate it. The stop feature halts the instance and stops the money counter. Once you decide to run it, you will find your machine back with all the customization you did before. Note : you have to suscribe to Elastic IP in order to have your external ip adress unchanged.

As I said, I’m now deep into EC2, making prototypes around open source BI. That’s why I started to build my own tool box. Today I want to share two scripts with you. These scripts were written to start and stop instances from EBS backed AMIs :

stop instance script : use it to stop a specific instance (previously started). I added some extra infos about the instance to be stopped. Look at the command output below.

start instance script : use it to start specific instance (previously stopped). I added some extra infos about the instance to be stopped. Look at the command output below.

Who am I ?

Datawarehousing & BI / Cloud Computing and Data processing.
I work for several clients from banking/insurance to call centers, entertainment and tourism.
Regularly CTO or CDO for startups or marketing companies dealing with data. Technical consulting for startups around Big Data, Analytics and Cloud Computing. Currently working for public / gov organization.