知识卡片

普通读书笔记卡 · 3537

清理云资源按依赖逆序

理解等级:高级

清理云环境时先识别资源依赖,再从依赖链末端向上删除:数据库先于子网组,子网组先于 VPC。删除前应核对资源标识、账单与保留需求;跳过最终数据库快照会失去该恢复点,不能机械照抄示例清理命令。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Microservice APIs》第 14 章《Deploying microservice APIs with Kubernetes》(源文件:_epub-src/OEBPS/Text/14.htm) - 结论依据:原文明确要求按依赖逆序删除,并使用 --skip-final-snapshot,支持先核查恢复需求的边界。 - 原始内容:To successfully delete all resources, we must delete them in reverse order of their dependencies. For example, the database cluster depends on the database subnet group, which depends on the VPC subnets, which depend on the VPC.