Right now, we’re asserting help for Amazon EKS in AWS Backup to offer the aptitude to safe Kubernetes functions utilizing the identical centralized platform you belief in your different Amazon Internet Providers (AWS) companies. This integration eliminates the complexity of defending containerized functions whereas offering enterprise-grade backup capabilities for each cluster configurations and software knowledge. AWS Backup is a completely managed service to centralize and automate knowledge safety throughout AWS and on-premises workloads. Amazon Elastic Kubernetes Service (Amazon EKS) is a completely 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, clients relied on customized options or third-party instruments to again up their EKS clusters, requiring complicated 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 answer 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, clients have 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, clients even have the choice to create a brand new EKS cluster based mostly 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 knowledge safety coverage gives a constant expertise throughout all companies AWS Backup helps. It permits creation of immutable backups to stop malicious or inadvertent adjustments, serving to clients meet their regulatory compliance wants. In case there’s a buyer knowledge loss or cluster downtime occasion, clients can simply get better their EKS cluster knowledge from encrypted, immutable backups utilizing an easy-to-use interface and preserve 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 exhibits up as a Useful resource sort after I create on-demand backup for the EKS cluster. I proceed to pick out the EKS useful resource sort and the cluster.
I go away the remainder of the data as default, then choose Select an IAM position to pick out a job (test-eks-backup) that I’ve created and customised with the needed 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 hooked up to the backup, you’ll must add the extra Amazon S3 backup permissions AWSBackupServiceRolePolicyForS3Backup to your position. This coverage comprises the permissions needed 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 total EKS backup. To revive to an current cluster, I Select an current cluster then choose the cluster from the drop-down listing. I select the Default order because the order during which particular person Kubernetes assets will probably be restored.
I then configure the restore for the persistent storage assets, that will probably be restored alongside my EKS clusters.

Subsequent, I Select an IAM position 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 evaluate all the data earlier than I finalize the method by selecting Restore, to start out the job.

Deciding on the drop-down arrow provides particulars of the restore standing for each the EKS cluster state and chronic volumes hooked up. 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 will probably be obtainable for restore, listed as nested restoration factors below the EKS cluster restoration level. If there’s a partial failure, there will probably be a notification of the portion(s) that failed.

Advantages
Listed below are a number 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 get better your software knowledge throughout AWS companies, together with EKS.
- The flexibility to retailer and arrange 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’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 threat of unintended deletion.
- Restoration of EKS backups is offered utilizing the AWS Backup Console, API, or AWS CLI.
- Restoring to an current cluster won’t override the Kubernetes variations, or any knowledge as restores are non-destructive. As a substitute, there will probably 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 degree.
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 could be catastrophic with no 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 vital resiliency hole for Kubernetes platforms.”
Now obtainable
Help for Amazon EKS in AWS Backup is offered right now in all AWS industrial Areas (besides China) and within the AWS GovCloud (US) the place AWS Backup and Amazon EKS can be found. Test the full Area listing for future updates.
To be taught 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 suppose by sending suggestions to AWS re:Publish for AWS Backup or by way of your common AWS Help contacts.
– Veliswa.






