|
|
|
|
|
by hdjjhhvvhga
999 days ago
|
|
> So you can in theory pick any version of your entire env, throw it at blank slate, and reliably get the environment specified by that git hash. The trap here is this only works for stateless infrastructure. If you do it with stateful resources, you'll lose all data. Your gitops tool will happily recreate EC2 instances, S3 buckets and RDS instances, all empty/initialized to whatever you defined. |
|
For managed services like S3 and RDS, there are other GitOps tools like Crossplane.io which you can use for similar GitOps management. But the paradigm shift might also be that you add GitOps config to perform regular backups, and also add config to ensure that if it is being recreated, it restores from a backup.