DEV Community

Cover image for AzureFunBytes Reminder -  Getting Started with @Azure and WebAssembly with @StevenMurawski - 12/2/2021
Jay Gordon for Microsoft Azure

Posted on

AzureFunBytes Reminder - Getting Started with @Azure and WebAssembly with @StevenMurawski - 12/2/2021

AzureFunBytes is a weekly opportunity to learn more about the fundamentals and foundations that make up Azure. It's a chance for me to understand more about what people across the Azure organization do and how they do it. Every week we get together at 11 AM Pacific on Microsoft LearnTV and learn more about Azure.

When: December 2, 2021 11 AM Pacific / 2 PM Eastern
Where: Microsoft LearnTV

AzureFunBytes animation

WebAssembly (or WASM) was introduced as a runtime for more highly performant in-browser applications. WASM workloads offer another exciting use case outside of the browser. WebAssembly's sandbox, the ability to target multiple languages to a common runtime, and a very low overhead execution runtime provide an interesting option for true cloud native workloads. We'll look at an experimental PaaS platform for running WebAssembly workloads - with a fully automated environment setup in Azure, use the yo wasm tool to get started quickly, and look at an existing preview feature in Azure Kubernetes Service where WASM workloads can be run today!

From the Microsoft docs website, WASM is described as: "...a binary format that is optimized for fast download and maximum execution speed in a WASM runtime. A WASM runtime is designed to run on a target architecture and execute WebAssemblies in a sandbox, isolated from the host computer, at near-native performance. By default, WebAssemblies can't access resources on the host outside of the sandbox unless it is explicitly allowed, and they can't communicate over sockets to access things environment variables or HTTP traffic."

The goals of WebAssembly include:

  • Speed and portability
  • Human readable and debuggable
  • Secured by using sanboxed environments
  • Plays well with other web technologies and provides backward compatibility

To talk more about WebAssembly, I've asked Steven Murawski, a Principal Cloud Advocate Microsoft to come back on the show. We'll learn about what changes to web applications are provided by WebAssembly, look at how we can integrate it with your Azure environment, and show how to get started.

Agenda:

  • What is WebAssembly?
  • Why would I use WebAssembly?
  • Where can I use WebAssembly outside the browser?
  • - Wasmtime
    • Hippo
    • WASM Node Pools in AKS
  • Getting started with yo wasm
  • Publishing an app into Hippo
  • Publishing an app via Azure Container Registry into AKS

About Steven Murawski:

Steven Murawski is a Principal Cloud Advocate focusing on Cloud Native technologies - most specifically, the use of WebAssembly as a cloud native runtime. Steven comes to this role with a background in DevOps, Site Reliability Engineering, and software development.

So be part on Thursday, December 2nd at 11 AM PT / 2 PM ET on LearnTV with your questions!


Learn about Azure fundamentals with me!

Live stream is normally found on Twitch, YouTube, and LearnTV at 11 AM PT / 2 PM ET Thursday. You can also find the recordings here as well:

AzureFunBytes on Twitch
AzureFunBytes on YouTube
Azure DevOps YouTube Channel
Follow AzureFunBytes on Twitter

Useful Docs:
Get $200 in free Azure Credit
Microsoft Learn: Introduction to Azure fundamentals
WebAssembly overview
WebAssembly Use Cases
WebAssembly MDN Web Docs
Public preview: AKS support for WebAssembly System Interface (WASI) workloads
Krustlet Project
Steven's three part series, Getting Started with Hippo
Host and deploy ASP.NET Core Blazor WebAssembly
Microsoft Learn: Publish a Blazor WebAssembly app and .NET API with Azure Static Web Apps
Create WebAssembly System Interface (WASI) node pools in Azure Kubernetes Service (AKS) to run your WebAssembly (WASM) workload (preview)

Discussion (0)