Amazon SWF a Dream for Process-Driven Automators

Adam DuVander, February 22nd, 2012

Amazon SWFAmazon’s latest addition to its web services suite, the Amazon SWF API, is meant to connect many of its other services together. At first a bit generic to wrap your brain around. SWF, or Simple Workflow, can be connected to any services, including self-hosted systems and other cloud providers. Amazon has created a framework to step through complex business and development processes.

The announcement post mentions that an order placed on Amazon.com has at least 40 different steps. It also shows an example of a less complex process, uploading a photo, that still takes 13 steps:

1. Accept uploaded file.
2. Store file in Amazon S3
3. Validate file format and size.
4. Use Amazon Mechanical Turk to classify the image.
5. If the image is unacceptable, send an error message using Amazon SES and terminate the workflow.
6. If the image is acceptable, check the user's balance in the accounting system.
7. Launch an EC2 instance.
8. Wait for the EC2 instance to be ready, and then configure it (keys, packages, and so forth).
9. Convert the image to PNG format and generate a series of image thumbnails.
10. Upload the PNG image and the thumbnails to Amazon S3.
11. Adjust the user's balance in the accounting system.
12. Create an entry in the appropriate database table.
13. Send a status message to the user, again using Amazon SES.

The image above shows what Amazon’s post describes as a “nice, clean separation between the work to be done and the steps needed to do it.”

Cloud Avenue believes SWF is a major part of Amazon’s future strategy:

If anyone thinks after today’s announcement that Amazon has no clue for the future dominated by PaaS, I think they are fooling themselves. By now, it is pretty obvious how Amazon is approaching the platform game and with this announcement, they are clearly showing their cards.

SiliconAngle warned of vendor lock-in, but ReadWriteWeb praised the generic nature of the service:

Automated workflow management, across multiple environments, as a platform for innovation and value creation is a very exciting prospect. It abstracts a layer of detail in order to facilitate the expansion of a developer’s ability to create value on a higher level of abstraction. There may be no higher calling, as platforms go.

It’s hard to say whether developers are ready for creating heavy-handed processes. However, the interest in test-driven development over the last ten years has encouraged a similar process-minded thinking. Certainly Amazon SWF could see a lot of usage within enterprises and science, where processes are incumbent.

Tags: Amazon
Both comments and pings are currently closed.

5 Responses to “Amazon SWF a Dream for Process-Driven Automators”

February 23rd, 2012
at 6:12 pm
Comment by: Today in APIs: DropBox, Government and 18 New APIs

[...] Amazon SWF a Dream for Process-Driven Automators [...]

February 26th, 2012
at 8:01 am
Comment by: 91 New APIs: Amazon, Bing Maps, Getty Images and SendGrid

[...] week we had 91 new APIs added to our API directory including a business process service, geocoding service, licensed photography platform, student verification service, and a newsletter [...]

February 27th, 2012
at 11:11 am
Comment by: 91 New APIs: Amazon, Bing Maps, Getty Images and SendGrid at bingchili.searchengine.hoops227.org

[...] week we had 91 new APIs added to our API directory including a business process service, geocoding service, licensed photography platform, student verification service, and a newsletter [...]

February 27th, 2012
at 11:40 am
Comment by: 91 New APIs: Amazon, Bing Maps, Getty Images and SendGrid at yahoochili.searchengine.hoops227.org

[...] week we had 91 new APIs added to our API directory including a business process service, geocoding service, licensed photography platform, student verification service, and a newsletter [...]

May 1st, 2012
at 3:30 pm
Comment by: – Amazon Kindle Books – 8 Amazon Processes Sites – (1/05/2012) | Amazon Fire Tablet

[...] Amazon SWF a Dream for Process-Driven AutomatorsFeb 22, 2012 Amazon has created a framework to step through complex business and development processes. [...]

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.