At this time, we’re asserting help for Amazon EKS in AWS Backup to supply the aptitude to safe Kubernetes functions utilizing the identical centralized platform you belief on your different Amazon Net Providers (AWS) companies. This integration eliminates the complexity of defending containerized functions whereas offering enterprise-grade backup capabilities for each cluster configurations and utility knowledge. AWS Backup is a totally managed service to centralize and automate knowledge safety throughout AWS and on-premises workloads. Amazon Elastic Kubernetes Service (Amazon EKS) is a totally managed Kubernetes service to handle availability and scalability of the Kubernetes clusters. With this new functionality, you’ll be able to centrally handle and automate knowledge safety throughout your Amazon EKS environments alongside different AWS companies.
Till now, for backups, prospects relied on customized options or third-party instruments to again up their EKS clusters, requiring advanced scripting and upkeep for every cluster. The help for Amazon EKS in AWS Backup eliminates this overhead by offering a single, centralized, and policy-driven resolution that protects each EKS clusters (Kubernetes deployments and assets) and stateful knowledge (saved in Amazon Elastic Block Retailer (Amazon EBS), Amazon Elastic File System (Amazon EFS), and Amazon Easy Storage Service (Amazon S3) solely) with out the necessity to handle customized scripts throughout clusters. For restores, prospects had been beforehand required to revive their EKS backups to a goal EKS cluster which was both the supply EKS cluster, or a brand new EKS cluster, requiring that an EKS cluster infrastructure is provisioned forward of time previous to the restore. With this new functionality, throughout a restore of EKS cluster backups, prospects even have the choice to create a brand new EKS cluster primarily based on earlier EKS cluster configuration settings and restore to this new EKS cluster, with AWS Backup managing the provisioning of the EKS cluster on the client’s behalf.
This help contains policy-based automation for shielding single or a number of EKS clusters. This single knowledge safety coverage supplies a constant expertise throughout all companies AWS Backup helps. It permits creation of immutable backups to stop malicious or inadvertent modifications, serving to prospects meet their regulatory compliance wants. In case there’s a buyer knowledge loss or cluster downtime occasion, prospects can simply get well their EKS cluster knowledge from encrypted, immutable backups utilizing an easy-to-use interface and keep enterprise continuity of operating their EKS clusters at scale.
The way it works
Right here’s how I arrange help for on-demand backup of my EKS cluster in AWS Backup. First, I’ll present a walkthrough of the backup course of, then show a restore of the EKS cluster.
Backup
Within the AWS Backup console, within the left navigation pane, I select Settings after which Configure assets to decide in to allow safety of EKS clusters in AWS Backup.
Now that I’ve enabled Amazon EKS, in Protected assets I select Create on-demand backup to create a backup for my already current EKS cluster floral-electro-unicorn.
Enabling EKS in Settings ensures that it reveals up as a Useful resource sort once I create on-demand backup for the EKS cluster. I proceed to pick the EKS useful resource sort and the cluster.
I go away the remainder of the knowledge as default, then choose Select an IAM function to pick a job (test-eks-backup) that I’ve created and customised with the mandatory permissions for AWS Backup to imagine when creating and managing backups on my behalf. I select Create on-demand backup to finalize the method.

The job is initiated, and it’ll begin operating to again up each the EKS cluster state and the persistent volumes. If Amazon S3 buckets are connected to the backup, you’ll have to add the extra Amazon S3 backup permissions AWSBackupServiceRolePolicyForS3Backup to your function. This coverage accommodates the permissions mandatory for AWS Backup to again up any Amazon S3 bucket, together with entry to all objects in a bucket and any related AWS KMS key.

The job is accomplished efficiently and now EKS clusterfloral-electro-unicorn is backed up by AWS Backup.

Restore
Utilizing the AWS Backup Console, I select the EKS backup composite restoration level to start out the method of restoring the EKS cluster backups, then select Restore.

I select Restore full EKS cluster to revive the complete EKS backup. To revive to an current cluster, I Select an current cluster then choose the cluster from the drop-down record. I select the Default order because the order during which particular person Kubernetes assets can be restored.
I then configure the restore for the persistent storage assets, that can be restored alongside my EKS clusters.

Subsequent, I Select an IAM function to execute the restore motion. The Protected useful resource tags checkbox is chosen by default and I’ll go away it as is, then select Subsequent.
I evaluation all the knowledge earlier than I finalize the method by selecting Restore, to start out the job.

Choosing the drop-down arrow provides particulars of the restore standing for each the EKS cluster state and protracted volumes connected. On this walkthrough, all the person restoration factors are restored efficiently. If parts of the backup fail, it’s doable to revive the efficiently backed up persistent shops (for instance, Amazon EBS volumes) and cluster configuration settings individually. Nevertheless, it’s not doable to revive full EKS backup. The efficiently backed up assets can be out there for restore, listed as nested restoration factors below the EKS cluster restoration level. If there’s a partial failure, there can be a notification of the portion(s) that failed.

Advantages
Listed here are among the advantages supplied by the help for Amazon EKS in AWS Backup:
- A completely managed multi-cluster backup expertise, eradicating the overhead related to managing customized scripts and third-party options.
- Centralized, policy-based backup administration that simplifies backup lifecycle administration and makes it seamless to again up and get well your utility knowledge throughout AWS companies, together with EKS.
- The flexibility to retailer and set up your backups with backup vaults. You assign insurance policies to the backup vaults to grant entry to customers to create backup plans and on-demand backups however restrict their capability to delete restoration factors after they’re created.
Good to know
The next are some useful info to know:
- Use both the AWS Backup Console, API, or AWS Command Line Interface (AWS CLI) to guard EKS clusters utilizing AWS Backup. Alternatively, you’ll be able to create an on-demand backup of the cluster after it has been created.
- You’ll be able to create secondary copies of your EKS backups throughout totally different accounts and AWS Areas to attenuate danger of unintended deletion.
- Restoration of EKS backups is accessible utilizing the AWS Backup Console, API, or AWS CLI.
- Restoring to an current cluster is not going to override the Kubernetes variations, or any knowledge as restores are non-destructive. As an alternative, there can be a restore of the delta between the backup and supply useful resource.
- Namespaces can solely be restored to an current cluster to make sure a profitable restore as Kubernetes assets could also be scoped on the cluster stage.
Voice of the client
Srikanth Rajan, Sr. Director of Engineering at Salesforce mentioned “Dropping a Kubernetes management aircraft due to software program bugs or unintended cluster deletion will be catastrophic with out a strong backup and restore plan. That’s why it’s thrilling to see AWS rolling out the brand new EKS Backup and Restore characteristic, it’s an enormous step ahead in closing a essential resiliency hole for Kubernetes platforms.”
Now out there
Assist for Amazon EKS in AWS Backup is accessible right now in all AWS business Areas (besides China) and within the AWS GovCloud (US) the place AWS Backup and Amazon EKS can be found. Examine the full Area record for future updates.
To study extra, take a look at the AWS Backup product web page and the AWS Backup pricing web page.
Check out this functionality for shielding your EKS clusters in AWS Backup and tell us what you suppose by sending suggestions to AWS re:Put up for AWS Backup or via your standard AWS Assist contacts.
– Veliswa.






