Right now, we’re asserting help for Amazon EKS in AWS Backup to offer the potential to safe Kubernetes purposes utilizing the identical centralized platform you belief to your different Amazon Internet Providers (AWS) providers. This integration eliminates the complexity of defending containerized purposes whereas offering enterprise-grade backup capabilities for each cluster configurations and utility information. AWS Backup is a totally managed service to centralize and automate information 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 possibly can centrally handle and automate information safety throughout your Amazon EKS environments alongside different AWS providers.
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 information (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 consists of policy-based automation for safeguarding single or a number of EKS clusters. This single information safety coverage supplies a constant expertise throughout all providers 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 information loss or cluster downtime occasion, prospects can simply recuperate their EKS cluster information from encrypted, immutable backups utilizing an easy-to-use interface and preserve enterprise continuity of working 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 exhibit 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 exhibits 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 depart the remainder of the knowledge as default, then choose Select an IAM function to pick a task (test-eks-backup) that I’ve created and customised with the essential 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 working 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 comprises the permissions essential 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 checklist. 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 depart 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 offers 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 attainable to revive the efficiently backed up persistent shops (for instance, Amazon EBS volumes) and cluster configuration settings individually. Nevertheless, it’s not attainable to revive full EKS backup. The efficiently backed up assets can be out there for restore, listed as nested restoration factors underneath the EKS cluster restoration level. If there’s a partial failure, there can be a notification of the portion(s) that failed.

Advantages
Listed below are a few of the advantages supplied by the help for Amazon EKS in AWS Backup:
- A totally 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 recuperate your utility information throughout AWS providers, together with EKS.
- The power 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 means to delete restoration factors after they’re created.
Good to know
The next are some useful details 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 possibly can create an on-demand backup of the cluster after it has been created.
- You possibly can create secondary copies of your EKS backups throughout totally different accounts and AWS Areas to reduce threat of unintended deletion.
- Restoration of EKS backups is out there utilizing the AWS Backup Console, API, or AWS CLI.
- Restoring to an current cluster is not going to override the Kubernetes variations, or any information as restores are non-destructive. As a substitute, 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 stated “Shedding a Kubernetes management aircraft due to software program bugs or unintended cluster deletion could be catastrophic with no stable backup and restore plan. That’s why it’s thrilling to see AWS rolling out the brand new EKS Backup and Restore function, it’s a giant step ahead in closing a essential resiliency hole for Kubernetes platforms.”
Now out there
Help for Amazon EKS in AWS Backup is out there in the present day in all AWS industrial Areas (besides China) and within the AWS GovCloud (US) the place AWS Backup and Amazon EKS can be found. Examine the full Area checklist for future updates.
To study extra, try the AWS Backup product web page and the AWS Backup pricing web page.
Check out this functionality for safeguarding your EKS clusters in AWS Backup and tell us what you assume by sending suggestions to AWS re:Put up for AWS Backup or by your traditional AWS Help contacts.
– Veliswa.






