<p>At the moment I have a Kubernetes cluster distributed on AWS via kops. I have a doubt: is it possible to make a sort of snapshot of the Kubernetes cluster and <strong>recreate the same environment</strong> (master and pod nodes), for example <strong>to be resilient</strong> or to migrate the cluster in an easy way? I know that the Heptio Ark exists, it is very beautiful. But I'm curious to know if there is an easy way to do it. For example, <strong>is it enough to back up Etcd</strong> (or in my case the snapshot of EBS volumes)?</p>

<p>Thanks a lot. All suggestions are welcome</p>

falberto89
<p>kops stores its state in an S3 bucket identified by the <code>KOPS_STATE_STORE</code>. So yes, if your cluster has been removed you can restore it by running <code>kops create cluster</code>.</p>

<p>Keep in mind that it doesn't restore your etcd state so for that you are going to set up <a href="https://github.com/kubernetes/kops/blob/master/docs/etcd_backup.md" rel="nofollow noreferrer">etcd backups</a>. You could also make use of <a href="https://github.com/heptio/ark" rel="nofollow noreferrer">Heptio Ark</a>.</p>

<p>Similar answers to this topic:</p>

<p><a href="https://stackoverflow.com/questions/52778698/recover-kops-kubernetes-cluster">Recover kops Kubernetes cluster</a></p>

<p><a href="https://stackoverflow.com/questions/51408546/how-to-restore-kubernetes-cluster-using-kops">How to restore kubernetes cluster using kops?</a></p>
