Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Build Your Cloud Infrastructure as Code With .N...
Search
Hossam Barakat
November 19, 2021
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Build Your Cloud Infrastructure as Code With .Net Core - Build Stuff
Hossam Barakat
November 19, 2021
Transcript
32 slides
Build Your Azure Infrastructure as Code With .NET Core Hossam
Barakat Engineering Manager at Willow @hossambarakat_ | www.hossambarakat.net
@hossambarakat_ Data Centers
@hossambarakat_ Rise of Cloud Computing
@hossambarakat_ How to provision cloud resources?
@hossambarakat_ Manual AKA Point and Click
@hossambarakat_ Manual AKA Point and Click
@hossambarakat_ Snowflake Servers
@hossambarakat_ Infrastructure as Code
@hossambarakat_ • Managing and provisioning cloud resources using code. Infrastructure
as Code
@hossambarakat_ Imperative: CLI commands and scripts
@hossambarakat_ Idempotency and error handling
@hossambarakat_ Declarative Infrastructure as Code
@hossambarakat_ Tool Declarative Infrastructure as Code Desired State Actual Resources
@hossambarakat_ • Azure Resource Manager • Terraform • Bicep •
AWS CloudFormation • Google Deployment Manager • … Declarative Infrastructure as Code tools
@hossambarakat_ • JSON, YAML, domain specific languages (DSLs),… Infrastructure as
Code tools
@hossambarakat_
@hossambarakat_ Enter Pulumi
@hossambarakat_ • Pulumi is an open source infrastructure as code
tool the lets you use real languages – C#, TypeScript, Go,… – to provision and manage cloud resources. What is Pulumi?
@hossambarakat_ • Control flow with loops and if conditions •
Abstraction with functions, classes, packages,… • Code sharing with package management (Nuget, npm,…) • Authoring with favourite IDEs, refactoring, code completion, static type checking • Testing with existing frameworks and tools Benefits
@hossambarakat_
@hossambarakat_ Pulumi Fundamentals
@hossambarakat_ Projects & Stacks web-app (Pulumi.yaml) Project $ pulumi new
Stacks $ pulumi stack init stackName Pulumi.<stack-name>.yaml Pulumi.yaml
@hossambarakat_ Configurations $ pulumi config set dbPassword S3cr37 config: serverless-app:dbPassword:
S3cr37 Pulumi.<stack-name>.yaml var config = new Pulumi.Config(); var password = config.Require("dbPassword"); Pulumi.cs
@hossambarakat_ Application architecture on Azure
@hossambarakat_
@hossambarakat_ But that would be imperative, right?
@hossambarakat_ How Pulumi Works State CLI and Engine AWS Azure
Kubernetes Providers Code Plan Apply new Resource()
@hossambarakat_ Continuous Deployment Infrastructure as Code Manual Review State
@hossambarakat_ GitHub Integration
@hossambarakat_ Summary
@hossambarakat_ Questions?
Thanks Hossam Barakat @hossambarakat_ www.hossambarakat.net
More Decks by Hossam Barakat
See All by Hossam Barakat
Kubernetes Blue-Green Deployment Made Easy with Argo Rollouts - ADDO
hossambarakat
0
180
Build Your Azure Infrastructure as Code With .NET Core - Azure Day
hossambarakat
0
63
Build Your Azure Infrastructure as Code With .Net Core - Global Azure 2021
hossambarakat
0
80
Practical Domain-Driven Design with EF Core - NDC London 2021
hossambarakat
0
280
Build Your Cloud Infrastructure as Code With .Net Core - ADDO 2020
hossambarakat
0
180
Practical Domain Driven Design With EFCore - NDC Sydney 2020
hossambarakat
0
160
Build Your Cloud Infrastructure as Code With .Net Core - NDC Porto 2020
hossambarakat
2
190
Kubernetes for Developers - All Day DevOps
hossambarakat
2
200
Secure your Kubernetes Containers - All Day DevOps
hossambarakat
0
150
Other Decks in Programming
See All in Programming
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
220
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
250
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6.1k
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
380
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
370
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
110
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
660
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
170
Debian JP Projectのサーバー構成
uwabami
1
130
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
Distance field of Julia set
kinakomoti321
0
330
Featured
See All Featured
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
770
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Into the Great Unknown - MozCon
thekraken
41
2.8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
620
Testing 201, or: Great Expectations
jmmastey
46
8.4k
WENDY [Excerpt]
tessaabrams
15
41k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Writing Fast Ruby
sferik
630
63k
Building Applications with DynamoDB
mza
96
7.3k