Pulumi — simplifying Infrastructure as Code

Pulumi

Pulumi Stack, State, and Backend

Pulumi Backends

  • Service: This includes managed cloud experience using the online or self-hosted Pulumi Service application.
  • Logging Into the Pulumi Service Backend: The basic form of login will use the Pulumi Service by default.
pulumi login
  • Logging Into a Self-Hosted Pulumi Service Backend: If you wish to log in to a specific self-hosted backend, pass the backend-specific URL as the sole argument. Alternatively, you may set the PULUMI_BACKEND_URL environment variable.
pulumi login <backend-url>
  • Self-Managed: This includes manually managed object store, including AWS S3, Azure Blob Storage, Google Cloud Storage, any AWS S3 compatible server such as Minio or Ceph, or your local filesystem. State management, including backup, sharing, and team access synchronization, is custom and implemented manually for self-managed backends. To use a self-managed backend, specify a storage endpoint URL as Pulumi login’s <backend-url> argument.
  • AWS S3
pulumi login s3://<bucket-path>
  • Azure Blob
pulumi login azblob://<container-path>
  • Google Cloud Storage
pulumi login gs://<bucket-path>
  • Local storage
pulumi login –local OR   
pulumi login file://<fs-path>
  • To install the Pulumi on MacOS, run the following command:
brew install pulumi
  • To install the Pulumi on Linux, run the following command:
curl -fsSL https://get.pulumi.com | sh
aws configure
export AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY_ID>	   
export AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY>
pulumi new aws-python

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Opcito Technologies

Opcito Technologies

Product engineering experts specializing in DevOps, Containers, Cloud, Automation, Blockchain, Test Engineering, & Open Source Tech