docs icon indicating copy to clipboard operation
docs copied to clipboard

User Guide: Running Pulumi in Production

Open bermudezmt opened this issue 5 years ago • 4 comments

  • How does one run Pulumi-defined infrastructure in production? We support Azure DevOps, which is good. More effort here is needed.

  • Give some further guidance on how to use stacks vs. environments and resource groups, how the state works, what might be some situations when you need to interfere with the state.

  • How to run blue-green deployments, what would a typical CI/CD pipeline look like? Testing in production, monitoring, alerts, dashboards, and how Pulumi helps with that (if it does). Maybe another reference solution that includes all that.

bermudezmt avatar Jul 15 '19 19:07 bermudezmt

Also see https://livebook.manning.com/book/terraform-in-action/chapter-9/v-4/15.

joeduffy avatar Feb 10 '20 00:02 joeduffy

A bit of user feedback right now that would be good to address with this effort:

In addition to stacks, state backends and where to store your programs is a little unclear. It feels like some knowledge is assumed here. For instance, if I choose an S3 bucket to store my state information, what happens is a .pulumi directory is created with state history for my project. The thing that's unclear is where do I store my project? Is it assumed my project/program should be stored in git some where? This part of the solution doesn't appear to be documented anywhere and no suggestions are provided on where to store stack state, project state and program state.

joeduffy avatar Apr 02 '20 14:04 joeduffy

Example user guide we could add here:

Pulumi in Production

  • Organizing Stacks
  • Structuring Individual Projects
  • Structuring Multi-Project Environments
  • Adopting Continuous Delivery
  • Adopting Continuous Verification

joeduffy avatar Apr 20 '22 20:04 joeduffy

Note that we've since added the Zephyr project, which covers a good bit of this surface area. https://www.pulumi.com/blog/iac-recommended-practices-code-organization-and-stacks/

cnunciato avatar Jan 11 '24 20:01 cnunciato