3 ms·
Set the termination protection flag on critical instances (like databases), then they cannot be deleted programmatically. This works really really well.
by user5994461 6y ago
Set the termination protection flag on critical instances (like databases), then they cannot be deleted programmatically. This works really really well.
- dragonwriter 6y ago> Set the termination protection flag on critical instances (like databases), then they cannot be deleted programmatically. Well, not accidentally, but the flag itself can be cleared programmatically, so protected instances can definitely still be maliciously deleted programmatically, if the actor has sufficient access.
- user5994461 6y agoOh really? I thought the only way was to go to the web UI and and select instances to remove the flag.
- dragonwriter 6y agoQuick googling found CLI instructions (for both the generic and powershell CLIs), and those are just wrappers around the APIs.