Profile

Scrapbook photo 1
Scrapbook photo 2
Scrapbook photo 3
Hugues Malphettes
147 followers|41,721 views
AboutPostsPhotosVideos

Stream

Hugues Malphettes

Shared publicly  - 
 
9 months 5 teeth and her first pair of shoes.
2
François BEAUFILS's profile photo
 
So cute!!
Add a comment...

Hugues Malphettes

Shared publicly  - 
 
Docker.io: PaaS is getting upgraded to IaaS.

Virtualisation of your processes without the weight of a full Virtual Machine. Root access to the OS where your apps are running without a IaaS.

The Platform as a Service fundamental brick - the container for the app execution - is getting mainstream with an opensource implementation:

    http://www.docker.io/

"hello world" with this container is as fast as executing 'console.log("hello world");' in your browser.
It runs in an isolated linux of your choice with its own packages, network interface, mix of volatile and persistent file-system: you have root access.

The 5 minutes video on the homepage of docker.io left me awestruck.

No more distinction between apps, services, one-time tasks:
node.js, python, ruby, ssh-server, redis, postgres, couchdb are the first 5 examples documented:
http://docs.docker.io/en/latest/

The reluctance of the Cloud Foundry team to make it easy to run Elasticsearch on Cloudfoundry is disappointing:
http://support.cloudfoundry.com/entries/24469701--ulimit-n-how-to-increase-the-limit-of-files-opened-above-16k

I am convinced that there is room for more flexibility.
I don't want to run my own infrastructure.

Elasticsearch is consumed as a database but it runs as an application.

Say we find a PaaS or a IaaS that happily runs Docker's images.
We would run:
- an ssh daemon for debugging
- our nodejs apps with all the native libs we want: it is our OS after all.
- our Elasticsearch can run as a cluster because opening multiple ports is trivial; we can attach a persistent file system too: Amazon's EBS is right there.

And we would run that very same Docker image on an linux VM for development purpose on our laptop.

docker.io is standing on the shoulders of giants. Thanks to them we get 90% of a IaaS at the price of running an isolated unix process.

Kudos to dotcloud for brilliantly decoupling this component out of their PaaS and open-sourcing it.

So next time I need to run something on a IaaS, I'll most likely run it through Docker.io.
Those days are counted though: as soon as a PaaS hosts Docker images for us we will jump there and never look back.
1
Add a comment...

Hugues Malphettes

Shared publicly  - 
 
Elasticsearch indexes backup and clones with S3.

At Stoic we are currently using Elasticsearch as our primary datastore.
It is either amazing or good enough.

In the area of good-enough; here is how we tackle durability:
- Setup the S3 Gateway: it will periodically send the indexes and cluster state into an S3 bucket.
- Copy the S3 bucket somewhere else.

Here is a short recipe to clone the data from S3 to a local setup of Elasticsearch
- Setup the same version of Elasticsearch that then one we use: https://github.com/hmalphettes/elasticsearch-cloudfoundry-packager
- Download the content of the backup: ${bucket-name}/${elasticsearch-cluster-name}
- Copy this folder into elasticsearch/works/${elasticsearch-cluster-name}
- Start Elasticsearch with the same clustername and with the Shared Filesystem Gateway: ES_CLUSTER_NAME=${elasticsearch-cluster-name} GATEWAY_TYPE=fs

Enjoy debugging on your local machine.
1
Add a comment...

Hugues Malphettes

Shared publicly  - 
 
Golang applications on Cloud Foundry v2.

CFv2 supports pushing an app with a custom runtime thanks to Heroku's buildpacks.

I got to play with this today: took a fork of Heroku's buildpack for golang and tweaked it.

Pushing a golang app is as simple as:

    go list >_godir
    cf push --buildpack=git://github.com/hmalphettes/heroku-buildpack-go.git

Here is the example app: https://github.com/hmalphettes/go-cloudfoundry-example
2
Add a comment...

Hugues Malphettes

Shared publicly  - 
 
Cloud Foundry opentour in Bangalore full venue
1
Add a comment...
Have him in circles
147 people
Ravinderjit Jassal's profile photo
David Carver's profile photo
Verjin Karaoglu's profile photo
Aki Enomoto's profile photo
Philippe Debaty's profile photo
Maxime Mouton's profile photo
Nicolas Lidzborski's profile photo
Mike Mallete's profile photo
Joakim Erdfelt's profile photo
 
I am presenting a short oboe recital this Wednesday at Orchard Road Presbyterian Church at 12:30.

Please join me at "Sanctuary at Orchard" for a peaceful break in the middle of your busy Singaporean day.

The multi talented Jens Kludge will accompany me on the organ for a Fantasy in F minor by J.L. Krebs and on the piano for an Italian Dance by M. Dring.

Veda Lim is my awesome coach.
4
Add a comment...

Hugues Malphettes

Shared publicly  - 
 
Good morning latte
Thanks Stanly!
2
Add a comment...

Hugues Malphettes

Shared publicly  - 
 
Migrating Stoic to Cloud Foundry V2

Cloud Foundry's Beta on cloudfoundry.com will disappear the 30th of June. Time to move on to the new version of Cloud Foundry; on run.pivotal.io

At Stoic we are using Cloud Foundry for all our deployments.
It works wonderfully and so we eagerly started to deploy on the new generation yesterday:
I was number 28 to install the client tool 'cf' 2 hours after it was released :-)

Let's cut to the goodies:
- Nodejs-0.10.x support: just say what engine you favor in your package.json
- Npm install: run as is. No more uploading previously built node-modules or extra steps.
- Elasticsearch: we can use the file-system for storage. We use to have to store the indexes in memory or it would run out of file descriptors.

Migration was really smooth:
- Follow the doc: http://docs.cloudfoundry.com/docs/dotcom/getting-started.html
- Tweak the manifest
- Tweak the code that reads the database connections from the env variables.

One stumbler: only a single account is working.
I tried accounts on @gmail.com, @stoic.cc, @sutoiku.com...
So far the only account that works is @comware.au.com
Please help ! http://stackoverflow.com/questions/17056241/unable-to-select-a-space-or-join-an-organization-on-run-pivotal-io
1
1
Hugues Malphettes's profile photoAndy Piper's profile photo
 
It turns out I needed to create an organisation first via the web console: https://console.run.pivotal.io
Thanks for the help from Pivotal here: https://support.run.pivotal.io/entries/24126377-Unable-to-join-an-organisation-on-run-pivotal-io
Add a comment...

Hugues Malphettes

Shared publicly  - 
1
Add a comment...
People
Have him in circles
147 people
Ravinderjit Jassal's profile photo
David Carver's profile photo
Verjin Karaoglu's profile photo
Aki Enomoto's profile photo
Philippe Debaty's profile photo
Maxime Mouton's profile photo
Nicolas Lidzborski's profile photo
Mike Mallete's profile photo
Joakim Erdfelt's profile photo
Basic Information
Gender
Male
Work
Occupation
Senior Software Architect