Endpoints.io docker meetup at twilio

  • 1,928 views
Uploaded on

the goals behind building endpoints, and some lessons from working in docker.

the goals behind building endpoints, and some lessons from working in docker.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,928
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. endpoints.io
  • 2. endpoints.io Demo http://endpoints.io/sms http://endpoints.io
  • 3. 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 ?)
  • 4. endpoints.io Goals ● 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); });
  • 5. endpoints.io 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
  • 6. endpoints.io Thank you http://endpoints.io @endpointsio i’m @bhaskerkode