{"id":62273,"date":"2021-08-31T05:00:23","date_gmt":"2021-08-31T13:00:23","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/devops\/?p=62273"},"modified":"2021-08-26T08:09:34","modified_gmt":"2021-08-26T16:09:34","slug":"azurefunbytes-episode-53-intro-to-pulumicorp-with-mattstratton","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/azurefunbytes-episode-53-intro-to-pulumicorp-with-mattstratton\/","title":{"rendered":"AzureFunBytes Episode 53 &#8211; Intro to @PulumiCorp with @mattstratton"},"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>This time we&#8217;ll focus on the Infrastructure as Code tool, Pulumi.  The <a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/\">Pulumi website<\/a> defines their product as:<\/p>\n<p><em>Pulumi is a modern <a href=\"https:\/\/www.pulumi.com\/what-is\/what-is-infrastructure-as-code\/\">infrastructure as code<\/a> platform. It leverages existing programming languages\u2014TypeScript, JavaScript, Python, Go, and .NET\u2014and their native ecosystem to interact with cloud resources through the Pulumi SDK. A downloadable CLI, runtime, libraries, and a hosted service work together to deliver a robust way of provisioning, updating, and managing cloud infrastructure.<\/em><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/dev-to-uploads.s3.amazonaws.com\/uploads\/articles\/931igl0z0sfgckv8z8lh.png\" alt=\"Pulumi Logo\" \/><\/p>\n<p>To help me understand how to start working with Pulumi, I&#8217;ve reached out to one of my favorite people from the world of DevOps, Staff Developer Advocate at Pulumi, Matty Stratton.<\/p>\n<p>Here&#8217;s our planned agenda for our show on LearnTV:<\/p>\n<ul>\n<li>Why bother writing automation code anyway<\/li>\n<li>I&#8217;m a developer. why do I can about infrastructure automation?<\/li>\n<li>I&#8217;m an ops person. Why should I write code?<\/li>\n<li>Why Pulumi when there are other tools and stuff already?<\/li>\n<\/ul>\n<p><iframe title=\"AzureFunBytes Episode 53 - Intro to @PulumiCorp with @mattstratton\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/M_NeA4Fgsy4?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:\/\/youtu.be\/IrGF_DdXQTA\">00:00:00 &#8211; Opening<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=217\">00:03:37 &#8211; Let&#8217;s meet Matty!<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=530\">00:08:50 &#8211; Why Pulumi?<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=894\">00:14:54 &#8211; Your Way, Your Cloud, Your Language, Your Workflow<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=1070\">00:17:50 &#8211; Let&#8217;s dig in<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=1356\">00:26:23 &#8211; Building an Azure VM with Pulumi<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=1792\">00:29:53 &#8211; It&#8217;s just TypeScript<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=1970\">00:32:50 &#8211; Pulumi up!<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=2070\">00:34:40 &#8211; The pulumi.com portal<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=2280\">00:38:00 &#8211; Making a change to our VM<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=2438\">00:40:38 &#8211; Building Azure App Service with Pulumi<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=2939\">00:48:59 &#8211; Pulumi stack output<\/a><br>\n<a href=\"https:\/\/youtu.be\/IrGF_DdXQTA?t=3351\">00:55:51 &#8211; Closing<\/a><\/p>\n<p>Matt Stratton is a Staff Developer Advocate at Pulumi, founder and co-host of the popular <a href=\"https:\/\/www.arresteddevops.com\/\">Arrested DevOps<\/a> podcast, and the global chair of the <a href=\"https:\/\/www.devopsdays.org\/\">DevOpsDays<\/a> set of conferences.<\/p>\n<p>Matt has over 20 years of experience in IT operations and is a sought-after speaker internationally, presenting at Agile, DevOps, and cloud engineering focused events worldwide. Demonstrating his keen insight into the changing landscape of technology, he recently changed his license plate from <code>DEVOPS<\/code> to <code>KUBECTL<\/code>.<\/p>\n<p>He lives in Chicago and has three awesome kids, whom he loves just a little bit more than he loves Diet Coke. Matt is the keeper of the Thought Leaderboard for the <a href=\"https:\/\/devopspartygames.com\/\">DevOps Party Games<\/a> online game show and you can find him on Twitter at <a href=\"https:\/\/twitter.com\/mattstratton\">@mattstratton<\/a>.<\/p>\n<p>With a tool like Pulumi you can build the architecture required for IT operations to nearly 50 different cloud providers.  If you also need on-prem or hybrid environments configured, Pulumi has you covered.  Installing Pulumi just takes a few commands on your local environment.  Pulumi uses different providers to support the various cloud services you may need.  If Azure is your cloud of choice you can provision any of the services via <a href=\"https:\/\/cda.ms\/2kQ\">Azure Resource Manager<\/a> (ARM). The Azure provider must be configured with credentials to deploy and update resources in Azure.  This can be done by either using the <a href=\"https:\/\/cda.ms\/2kR\">Azure CLI<\/a> or by creating an <a href=\"https:\/\/cda.ms\/2kS\">Azure Active Directory Service Principal<\/a>.<\/p>\n<p>Sit back, relax, and enjoy some IaC goodness with Matt and me.<\/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>\n<a href=\"https:\/\/aka.ms\/jaygordononyoutube\">AzureFunBytes on YouTube<\/a>\n<a href=\"https:\/\/www.youtube.com\/channel\/UC-ikyViYMM69joIAv7dlMsA\">Azure DevOps YouTube Channel<\/a>\n<a href=\"https:\/\/twitter.com\/azurefunbytes\">Follow AzureFunBytes on Twitter<\/a><\/p>\n<p>Useful Docs:<\/p>\n<p><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:\/\/www.pulumi.com\/cloud-engineering-summit\">Cloud Engineering Summit<\/a> <br>\n<a href=\"https:\/\/www.pulumi.com\/docs\/get-started\/\">Getting Started with Pulumi<\/a> <br>\n<a href=\"https:\/\/www.pulumi.com\/resources\/#upcoming\">Upcoming workshops, etc<\/a><br>\n<a href=\"https:\/\/cda.ms\/2kP\">What is Infrastructure as Code?<\/a><br>\n<a href=\"https:\/\/cda.ms\/2kQ\">What is Azure Resource Manager?<\/a><br>\n<a href=\"https:\/\/cda.ms\/2kR\">Azure Command-Line Interface (CLI) &#8211; Overview | Microsoft Docs<\/a><br>\n<a href=\"https:\/\/cda.ms\/2kS\">Application and service principal objects in Azure Active Directory<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pulumi is a modern infrastructure as code  platform. It leverages existing programming languages\u2014TypeScript, JavaScript, Python, Go, and .NET\u2014and their native ecosystem to interact with cloud resources through the Pulumi SDK. <\/p>\n","protected":false},"author":39313,"featured_media":62274,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[224],"tags":[],"class_list":["post-62273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure"],"acf":[],"blog_post_summary":"<p>Pulumi is a modern infrastructure as code  platform. It leverages existing programming languages\u2014TypeScript, JavaScript, Python, Go, and .NET\u2014and their native ecosystem to interact with cloud resources through the Pulumi SDK. <\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/62273","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=62273"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/62273\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/62274"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=62273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=62273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=62273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}