Endpoints.io docker meetup at twilio
-
Upload
bhasker-kode -
Category
Technology
-
view
2.052 -
download
0
description
Transcript of Endpoints.io docker meetup at twilio
endpoints.io
Demohttp://endpoints.io/sms
http://endpoints.io
endpoints.io
Goals
● paste code in a browser● click deploy● code now accessible via an http endpoint● go from code, to live api in 30 seconds● abstract all complexity● empower people who have never spawned a
vm ( mobile devs, accountant, translators ?)
endpoints.io
Goalsendpoints.io
● detect dependencies from code● create Procfile & requirements for buildpack● choose server boilerplate based on
language app.get(‘/hits’, function(req,res){
hits++;
res.send(hits);
});
● allow hundreds of containers per box
Lessons
● Make base image as complete as possible● used a base tar. Append (vs create new tar)● Small patch to buildstep to be able to write
outside /app also ● delete image right after spawning. but make
it easy to recreate an image if required later using buildstep + buildpack + custom logic
endpoints.io
@endpointsio i’m @bhaskerkode
http://endpoints.io
endpoints.io
Thank you