Jeremy Likness
Jeremy Likness
Empowering developers to be their best.
📅 Oct 8, 2018 🕘 3 min read 💬 457 words

Enterprise Serverless

The ghost isn’t in the machine, it is the machine!

You are viewing a limited version of this blog. To enable experiences like comments, opt-in to our privacy and cookie policy.

I delivered a session at TechBash 2018 about serverless. It covers:

  • What is serverless?
  • Why is serverless useful?
  • How is serverless implemented (with Azure examples)

Image of first slide in deck

You can download the full presentation ⬇ here.

Twitter capabilities are limited without consent. For the full experience:   

I delivered several demos during the presentation that I pre-recorded to avoid Internet hiccups and edited to zoom to the right information. These are all “live” in the sense the only editing is cutting out some of the delays. The videos are designed to be self-explanatory and contain no audio.

Azure Functions

The first demo illustrates creating a serverless Azure Function from the portal. In addition, it shows how auto-scale works. After creating the function, I run a load-balancing tool called artillery to hit the endpoint 10,000 times and then show live metrics as it’s happening.

Create an Azure Function and watch it scale

The next demo uses my open source serverless ShortLink project to illustrate how to publish it to the cloud.

Publish an Azure Function to Azure

Logic Apps

I demonstrated a simple workflow to introduce Logic Apps. The scenario is that I have “the world’s loneliest Slack channel” and need a way to get things going. I create a Logic App that triggers on a file upload. The workflow grabs the stream of bytes for an image, passes it over to the Cognitive Services Computer Vision API and applies some machine learning to create an automated caption. It then sends the results into the Slack channel. This is all built and demoed live.

Visual Workflows with Azure Logic Apps

Event Grid

I concluded the presentation with my favorite topic and what I believe is an underappreciated and underused service in Azure: Event Grid. The first demo shows how easy it is to connect different Azure services together with Event Grid by subscribing to a storage event from an Azure Function.

Event Grid inside Azure

The next demo illustrates how to create a custom event that you can publish to from any language or platform and subscribe to from any platform that supports WebHooks.

Event Grid outside Azure (REST API and WebHooks)

I hope you find this presentation and related demos informative and valuable. As always, comments, feedbacks, and suggestions are welcome. For a comprehensive look at the content from this session, be sure to view/download the free eBook “Serverless apps: Architecture, patterns, and Azure implementation.”

Regards,

Jeremy Likness

Do you have an idea or suggestion for a blog post? Submit it here!
comments powered by Disqus

Related articles: