At this time, we’re saying help for Amazon EKS in AWS Backup to supply the potential to safe Kubernetes purposes utilizing the identical centralized platform you belief on your different Amazon Net Companies (AWS) providers. This integration eliminates the complexity of defending containerized purposes 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 providers.
Till now, for backups, prospects 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 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 safeguarding single or a number of EKS clusters. This single knowledge safety coverage gives a constant expertise throughout all providers AWS Backup helps. It permits creation of immutable backups to stop malicious or inadvertent adjustments, serving to prospects meet their regulatory compliance wants. In case there’s a buyer knowledge loss or cluster downtime occasion, prospects can simply recuperate their EKS cluster knowledge from encrypted, immutable backups utilizing an easy-to-use interface and keep 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 reveal 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 present EKS cluster floral-electro-unicorn.
Enabling EKS in Settings ensures that it reveals up as a Useful resource kind once I create on-demand backup for the EKS cluster. I proceed to pick out the EKS useful resource kind and the cluster.
I go away the remainder of the knowledge as default, then choose Select an IAM function to pick out a task (test-eks-backup) that I’ve created and customised with the crucial 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 must add the extra Amazon S3 backup permissions AWSBackupServiceRolePolicyForS3Backup to your function. This coverage accommodates the permissions crucial 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 present cluster, I Select an present cluster then choose the cluster from the drop-down checklist. I select the Default order because the order through 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 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 assessment all the knowledge 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 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. Nonetheless, it’s not doable to revive full EKS backup. The efficiently backed up assets will probably be out there for restore, listed as nested restoration factors beneath 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 here are a number of the advantages offered 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 software knowledge throughout AWS providers, together with EKS.
- The power to retailer and manage 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 information 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 possibly can create secondary copies of your EKS backups throughout completely different accounts and AWS Areas to reduce threat of unintentional deletion.
- Restoration of EKS backups is out there utilizing the AWS Backup Console, API, or AWS CLI.
- Restoring to an present cluster is not going to override the Kubernetes variations, or any knowledge as restores are non-destructive. As an alternative, there will probably be a restore of the delta between the backup and supply useful resource.
- Namespaces can solely be restored to an present 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 stated “Dropping a Kubernetes management aircraft due to software program bugs or unintended cluster deletion may 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 characteristic, it’s an enormous step ahead in closing a important resiliency hole for Kubernetes platforms.”
Now out there
Assist for Amazon EKS in AWS Backup is out there right this moment 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 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:Put up for AWS Backup or by way of your common AWS Assist contacts.
– Veliswa.






