Pulumi 2.0: Multi-language modern infrastructure as code

Share
  • April 23, 2020

We took a look at Pulumi, the open source cloud development platform back in 2018. Two years later, and it’s grown to version 2.0!

The newly released 2.0 version is a major stepping stone in Pulumi’s journey forward and introduces new features such as policy as code and more CI/CD integrations.

SEE ALSO: Reasons you’re late in moving to the cloud

What is Pulumi?

Before we highlight what’s new in 2.0, here is a brief overview of this project and its uses. Pulumi is a multi-language, multi-cloud dev platform that uses a “modern infrastructure as code” approach.

With it, users can define infrastructure in JavaScript, TypeScript, Python, Go, and any .NET language while using the IDEs and tools they are already familiar with.

From the documentation:

Pulumi is a cloud-native infrastructure as code project. It lets you provision and manage resources across many clouds—AWS, Azure, Google Cloud, Kubernetes, OpenStack—using your favorite language. It works great for a wide range of cloud infrastructures and applications, including containers, virtual machines, databases, cloud services, and serverless.

See how it compares to other tools such as HashiCorp Terraform. (While it does not replace many of the features offered by such tools and may not be a one-size-fits-all option, it does offer up some similarities.)

It is used by organizations such as Mercedez-Benz Research and Development, the Menta Network, and Credijusto.

New in 2.0

Many new, polished, and expanded additions arrive in Pulumi 2.0. Here are just some of the highlights.

  • New supported languages: Joining the list of supported languages is Go and .NET languages (including C#, F#, etc.). Now, multi-language support is equal across the board.
  • Additional cloud support: 2.0 adds new cloud resource provider support.
  • More CI/CD integrations: So far, Pulumi can integrate with GitHub Actions, GitLab CI, Jenkins, Codefresh, AWS Code Services, Azure DevOps, Circle CI, Google Cloud Build, Octopus Deploy, TravisCI, and JetBrains TeamCity.
  • Coexistence and migration options: Migrate and import your infrastructure to Pulumi from Terraform, AWS CloudFormation, Azure Resource Manager, and/or Kubernetes YAML or Helm.
  • Policy as Code framework: CrossGuard, according to the documentation, “empowers you to set guardrails to enforce compliance for resources so developers within an organization can provision their own infrastructure while sticking to best practices and security compliance.” For now, CrossGuard supports TypeScript and JavaScript, with a preview for Python. .NET languages and Go support are planned to arrive in the future.

A new friendly face

No discussion of the 2.0 release is complete without acknowledging Pulumi’s new mascot, the Pulumipus!

pulumus

A magical monotreme. Source.

This helpful blue platypus is adorable and I, for one, am hoping they become popular enough for some merchandise. (Stickers and plush, anyone?)

SEE ALSO: Cloud success means more than just having faith

Checking it out

You can choose between a wide variety of cloud providers, from AWS, Azure, Google Cloud, and many more. (See the full list here.)

Refer to the ‘getting started’ documentation and learn how to begin using this open source tool. For those that are migrating from 1.0, read the migration guide and follow the steps to begin updating.

The post Pulumi 2.0: Multi-language modern infrastructure as code appeared first on JAXenter.

Source : JAXenter