Successfully reported this slideshow.
Your SlideShare is downloading. ×

Automate Infrastructure with Pulumi and C#

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 9 Ad

Automate Infrastructure with Pulumi and C#

Download to read offline

Who remembers the days were you had to manually setup a physical server somewhere in a 19 inch rack? Nowadays those physical racks have been replaced by virtual machines provided by Google, Microsoft and Amazon. But some people are still provisioning them manually. The more mature organizations will script most of the provisioning using the native CLI or HTTP API provided by the specific cloud platform, but quite often those are maintained separately from the code of the system that is being deployed. Terraform by Hashicorp is another attempt to support infrastructure-as-code by using a declarative syntex to define the desired infrastructure. But then again, Yaml isn't really suited for anything but simple single-file configuration settings. Yaml isn't code and doesn't provide real Intellisense, line-by-line debugging and most importantly, refactoring.

But what if you could use C# and .NET to provision your infrastructure and treat that code as first-class citizens of your codebase, including all the capabilities that you would expect? Well, let me show you how Pulumi for .NET will allow you to evolve your infrastructure code with the rest of the code base without turning it in a big spaghetti of Yaml files.

Who remembers the days were you had to manually setup a physical server somewhere in a 19 inch rack? Nowadays those physical racks have been replaced by virtual machines provided by Google, Microsoft and Amazon. But some people are still provisioning them manually. The more mature organizations will script most of the provisioning using the native CLI or HTTP API provided by the specific cloud platform, but quite often those are maintained separately from the code of the system that is being deployed. Terraform by Hashicorp is another attempt to support infrastructure-as-code by using a declarative syntex to define the desired infrastructure. But then again, Yaml isn't really suited for anything but simple single-file configuration settings. Yaml isn't code and doesn't provide real Intellisense, line-by-line debugging and most importantly, refactoring.

But what if you could use C# and .NET to provision your infrastructure and treat that code as first-class citizens of your codebase, including all the capabilities that you would expect? Well, let me show you how Pulumi for .NET will allow you to evolve your infrastructure code with the rest of the code base without turning it in a big spaghetti of Yaml files.

Advertisement
Advertisement

More Related Content

More from Dennis Doomen (20)

Recently uploaded (20)

Advertisement

Automate Infrastructure with Pulumi and C#

  1. 1. Infrastructure-as-code-that-you-care-about Pulumi and C# Dennis Doomen
  2. 2. About Me Hands-on architect in the .NET space with 25 years of experience on an everlasting quest for knowledge to build the right software the right way at the right time
  3. 3. “Apply standard software engineering practices and tools uniformly across infrastructure, development, and compliance teams to tame the complexity of delivering and managing modern cloud applications.” What is Pulumi?
  4. 4. Pulumi Architecture AWS GCP Azure C#, F#, VB, Typescript, Python, Go, Java Pulumi CLI Backend Providers Encryption Providers AWS S3 Azure Blob Storage Google Cloud Storage Minio Local File api.pulumi.com State Secrets Azure Key Vault AWS KMS Google KMS Hashicorp Vault
  5. 5. The pains of declarative “programming”
  6. 6. What about the others? JSON / YAML AWS Cloud Formation AWS GCP Azure AWS CDK C#, Java, TypeScript, JavaScript, Python Hashicorp Terraform HCL Hashicorp Terraform CDK C#, Java, TypeScript, Python, Go Azure Resource Manager JSON Azure Bicep DSL C#, F#, VB, Typescript, Python, Go, Java Pulumi
  7. 7. Show me some code
  8. 8. Follow me on Twitter or Mastodon …and win a 1-year Jetbrains license …ping me at @ddoomen …email me at dennis.doomen@avivasolutions.nl

×