{"API Evangelist"}

The Secret to Amazons Success Internal APIs

Last year there was an accidental post from a Google employee about Google+.  The internal rant was accidentally shared publicly and provides some insight into how Google approached APIs for their new Google + platform, as well as insight how Amazon adopted an internal service oriented architecture (SOA).

The insight about how Google approached the API for Google+ is interesting, but what is far more interesting is the insight the Google engineer who posted the rant, Steve Yegge, provides about his time working at Amazon, before he was a engineer with Google.

During 6 years at Amazon he witnessed the transformation of the company from a bookseller to the almost $1B, Infrastructure as a Service (IaaS) API, cloud computing leader.  As Yegge's recalls that one day Jeff Bezos issued a mandate, sometime back around 2002 (give or take a year):

The mandate closed with:

Anyone who doesn’t do this will be fired.  Thank you; have a nice day!

Everyone got to work and over the next couple of years, Amazon transformed itself, internally into a service-oriented architecture (SOA), learning a tremendous amount along the way.

Think about what Bezos was asking!   Every team within Amazon had to interact using web services.  If you were human resources and you needed some numbers from marketing, you had to get them using an API.  He was asking every team to decouple, define what resources they had, and make them available through an API.  Every team within your company essential becomes a partner of the other.

Some of the lessons Amazon learned along the way:

Of course this is a very small sampling from a rant of a former employee.   There are dozens, maybe hundreds of individual lessons like these that Amazon had to discover organically.

Yegge’s  points out that, “Organizing into services taught teams not to trust each other in most of the same ways they’re not supposed to trust external developers.”

This makes deploying internal APIs a great exercise for preparing your company for the coming API economy where, you will have to have expose self-service, partner and public APIs to stay competitive in your industry.

When Amazon started, it was difficult to see how the bookseller would be come the e-commerce powerhouse it is today, let alone to see that Amazon would transform culturally into a company that thinks and operates as a service oriented architecture, delivering Amazon Web Services, that not only changed how the company operates, but created an entire platform that would change how the Internet works.