{"id":63156,"date":"2022-01-03T08:27:57","date_gmt":"2022-01-03T16:27:57","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/devops\/?p=63156"},"modified":"2022-01-03T08:27:57","modified_gmt":"2022-01-03T16:27:57","slug":"azurefunbytes-episode-63-getting-started-with-azure-and-webassembly-with-stevenmurawski","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/azurefunbytes-episode-63-getting-started-with-azure-and-webassembly-with-stevenmurawski\/","title":{"rendered":"AzureFunBytes Episode 63 &#8211; Getting Started with @Azure and WebAssembly with @StevenMurawski"},"content":{"rendered":"<p>AzureFunBytes is a weekly opportunity to learn more about the fundamentals and foundations that make up Azure. It&#8217;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 <a href=\"https:\/\/cda.ms\/226\">Microsoft LearnTV<\/a> and learn more about Azure.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/res.cloudinary.com\/practicaldev\/image\/fetch\/s--Z7BxBMz1--\/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880\/https:\/\/dev-to-uploads.s3.amazonaws.com\/uploads\/articles\/j2xzw2g664tj31jij13t.gif\" alt=\"AzureFunBytes animation\" \/><\/p>\n<p>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&#8217;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&#8217;ll look at an experimental PaaS platform for running WebAssembly workloads &#8211; 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!<\/p>\n<p><a href=\"https:\/\/cda.ms\/3kz\">From the Microsoft docs website<\/a>, WASM is described as: <em>&#8220;&#8230;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&#8217;t access resources on the host outside of the sandbox unless it is explicitly allowed, and they can&#8217;t communicate over sockets to access things environment variables or HTTP traffic.&#8221;<\/em><\/p>\n<p>The goals of WebAssembly include:<\/p>\n<ul>\n<li>Speed and portability<\/li>\n<li>Human readable and debuggable<\/li>\n<li>Secured by using sandboxed environments<\/li>\n<li>Plays well with other web technologies and provides backward compatibility<\/li>\n<\/ul>\n<p>To talk more about WebAssembly, I&#8217;ve asked <a href=\"https:\/\/twitter.com\/stevenmurawski\">Steven Murawski<\/a>, a Principal Cloud Advocate at Microsoft to come back on the show.  We&#8217;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.<\/p>\n<p><iframe title=\"AzureFunBytes Episode 63 - Getting Started with Azure and WebAssembly with @StevenMurawski\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/y9Bsrl-X9Qw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=y9Bsrl-X9Qw\">00:00:00 &#8211; Opening<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=287\">00:04:47 &#8211; Let&#8217;s welcome Steven back!<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=607\">00:10:07 &#8211; What is WebAssembly?<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=916\">00:15:16 &#8211; Why would I use WebAssembly?<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=1093\">00:18:13 &#8211; Where can I use WebAssembly outside the browser?<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=1317\">00:21:57 &#8211; Demoing WebAssembly with Rust<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=1447\">00:24:07 &#8211; Running the WASM file locally<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=1828\">00:30:28 &#8211; Bicep even fits in here<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=1980\">00:33:00 &#8211; Logging into Hippo<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=2185\">00:36:25 &#8211; Using <code>yo<\/code> to build scaffolding<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=2573\">00:42:53 &#8211; Adding environment variables<\/a><br>\n<a href=\"https:\/\/youtu.be\/y9Bsrl-X9Qw?t=3050\">00:50:51 &#8211; Krustlet<\/a><\/p>\n<p>Agenda:<\/p>\n<ul>\n<li>What is WebAssembly?<\/li>\n<li>Why would I use WebAssembly?<\/li>\n<li>Where can I use WebAssembly outside the browser? \n<ul>\n<li>Wasmtime<\/li>\n<li>Hippo<\/li>\n<li>WASM Node Pools in AKS<\/li>\n<\/ul>\n<\/li>\n<li>Getting started with yo wasm<\/li>\n<li>Publishing an app into Hippo<\/li>\n<li>Publishing an app via Azure Container Registry into AKS<\/li>\n<\/ul>\n<p>You can find a number of great code examples at <a href=\"https:\/\/wasmbyexample.dev\/home.en-us.html\">wasmbyexample<\/a>.<\/p>\n<p>About Steven Murawski:<\/p>\n<p>Steven Murawski is a Principal Cloud Advocate focusing on Cloud Native technologies &#8211; 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.<\/p>\n<hr \/>\n<p>Learn about Azure fundamentals with me!<\/p>\n<p>Live stream is normally found on Twitch, YouTube, and <a href=\"https:\/\/cda.ms\/226\">LearnTV<\/a> at 11 AM PT \/ 2 PM ET Thursday. You can also find the recordings here as well:<\/p>\n<p><a href=\"https:\/\/twitch.tv\/azurefunbytes\">AzureFunBytes on Twitch<\/a><br>\n<a href=\"https:\/\/aka.ms\/jaygordononyoutube\">AzureFunBytes on YouTube<\/a><br>\n<a href=\"https:\/\/www.youtube.com\/channel\/UC-ikyViYMM69joIAv7dlMsA\">Azure DevOps YouTube Channel<\/a><br>\n<a href=\"https:\/\/twitter.com\/azurefunbytes\">Follow AzureFunBytes on Twitter<\/a><\/p>\n<p>Useful Docs:\n<a href=\"https:\/\/cda.ms\/219\">Get $200 in free Azure Credit<\/a><br>\n<a href=\"https:\/\/cda.ms\/243\">Microsoft Learn: Introduction to Azure fundamentals<\/a><br>\n<a href=\"https:\/\/webassembly.org\/\">WebAssembly overview<\/a><br>\n<a href=\"https:\/\/webassembly.org\/docs\/use-cases\/\">WebAssembly Use Cases<\/a><br>\n<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/WebAssembly\">WebAssembly MDN Web Docs<\/a><br>\n<a href=\"https:\/\/cda.ms\/3kw\">Public preview: AKS support for WebAssembly System Interface (WASI) workloads<\/a><br>\n<a href=\"https:\/\/krustlet.dev\/\">Krustlet Project<\/a><br>\n<a href=\"https:\/\/dev.to\/smurawski\/series\/15635\">Steven&#8217;s three part series, Getting Started with Hippo<\/a><br>\n<a href=\"https:\/\/cda.ms\/3kx\">Host and deploy ASP.NET Core Blazor WebAssembly<\/a><br>\n<a href=\"https:\/\/cda.ms\/3ky\">Microsoft Learn: Publish a Blazor WebAssembly app and .NET API with Azure Static Web Apps<\/a><br>\n<a href=\"https:\/\/cda.ms\/3kz\">Create WebAssembly System Interface (WASI) node pools in Azure Kubernetes Service (AKS) to run your WebAssembly (WASM) workload (preview)<\/a>\n<a href=\"https:\/\/wasmbyexample.dev\/home.en-us.html\">Wasm By Example<\/a><br>\n<a href=\"https:\/\/github.com\/deislabs\/yo-wasm\"><code>yo wasm<\/code> on GitHub<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To talk more about WebAssembly, I\u2019ve asked Steven Murawski, a Principal Cloud Advocate at Microsoft to come back on the show. We\u2019ll 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.<\/p>\n","protected":false},"author":39313,"featured_media":63157,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[224,249],"tags":[],"class_list":["post-63156","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-open-source"],"acf":[],"blog_post_summary":"<p>To talk more about WebAssembly, I\u2019ve asked Steven Murawski, a Principal Cloud Advocate at Microsoft to come back on the show. We\u2019ll 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.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/63156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/39313"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=63156"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/63156\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/63157"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=63156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=63156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=63156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}