Pulumi Installation Guide
This guide provides all the key information and getting-started instructions after a successful Pulumi installation via DeploySage-CLI.
Getting Started
Pulumi is now installed. The first step is to log in to the Pulumi service, which manages your infrastructure state. You can also use a local or cloud storage backend.
# Log in to the Pulumi service (default)
pulumi login
# Or, log in to a local filesystem backend
pulumi login --local
Core Workflow
The standard Pulumi workflow involves creating a new project and then deploying it.
# Create a new project from a template (e.g., AWS with Python)
pulumi new aws-python
# After writing your code, preview the changes
pulumi preview
# Deploy your infrastructure
pulumi up
# When finished, destroy all resources managed by the stack
pulumi destroy
Key Directories and Files
| Item | Value |
|---|---|
| Pulumi Home Directory | ~/.pulumi/ |
| Pulumi Executable | ~/.pulumi/bin/pulumi |