Welcome to FlowZap, the App to diagram with Speed, Clarity and Control.

基础设施供应工作流

devops

使用Terraform plan、审批关卡、状态管理、资源创建和漂移检测的基础设施即代码供应工作流。

完整 FlowZap 代码

DevOps { # DevOps Engineer
n1: circle label:"Start"
n2: rectangle label:"Define infrastructure requirements"
n3: rectangle label:"Write Terraform configuration"
n4: rectangle label:"Review provisioned resources"
n5: circle label:"End"
n1.handle(right) -> n2.handle(left)
n2.handle(right) -> n3.handle(left)
n3.handle(bottom) -> Terraform.n6.handle(top) [label="Plan"]
n4.handle(right) -> n5.handle(left)
}
Terraform { # Terraform
n6: rectangle label:"Initialize providers"
n7: rectangle label:"Generate execution plan"
n8: diamond label:"Plan valid?"
n9: rectangle label:"Display planned changes"
n10: rectangle label:"Show validation errors"
n11: diamond label:"Approve changes?"
n12: rectangle label:"Apply configuration"
n6.handle(right) -> n7.handle(left)
n7.handle(right) -> n8.handle(left)
n8.handle(right) -> n9.handle(left) [label="Yes"]
n8.handle(bottom) -> n10.handle(top) [label="No"]
n9.handle(right) -> n11.handle(left)
n10.handle(top) -> DevOps.n3.handle(bottom) [label="Fix config"]
n11.handle(right) -> n12.handle(left) [label="Yes"]
n11.handle(bottom) -> DevOps.n3.handle(bottom) [label="No"]
n12.handle(bottom) -> CloudProvider.n13.handle(top) [label="Provision"]
}
CloudProvider { # Cloud Provider
n13: rectangle label:"Create VPC and subnets"
n14: rectangle label:"Provision compute instances"
n15: rectangle label:"Configure load balancers"
n16: rectangle label:"Set up security groups"
n17: diamond label:"All resources healthy?"
n18: rectangle label:"Output resource IDs"
n19: rectangle label:"Rollback failed resources"
n13.handle(right) -> n14.handle(left)
n14.handle(right) -> n15.handle(left)
n15.handle(right) -> n16.handle(left)
n16.handle(right) -> n17.handle(left)
n17.handle(right) -> n18.handle(left) [label="Yes"]
n17.handle(bottom) -> n19.handle(top) [label="No"]
n18.handle(top) -> DevOps.n4.handle(bottom) [label="Complete"]
n19.handle(top) -> Terraform.n12.handle(bottom) [label="Retry"]
}

相关模板

备份恢复工作流程

devops

备份和恢复工作流程,包含**定时备份**、**异地复制**、**保留策略执行**、**恢复测试**和**RTO/RPO 验证**。

证书续期工作流

devops

SSL/TLS证书续期工作流,包含到期监控、按类型(DV/OV/EV)证书请求、域名验证、部署到负载均衡器以及健康检查验证与回滚。

CI/CD管道工作流

devops

完整的CI/CD管道,包含代码检出、代码检查、单元测试、构件构建、暂存部署、烟雾测试、生产部署以及失败时的自动回滚。

数据库迁移工作流程

devops

数据库架构迁移工作流程,包括 CI 测试、DBA 审核与批准、维护时间窗口安排、备份快照、迁移执行、数据完整性验证以及自动回滚。