--- sidebar: sidebar permalink: task-clean-restore.html keywords: clean room, clean restore, secure recovery, restore, isolated recovery environment summary: "Create an isolated recovery environment in NetApp Ransomware Resilience to sequester and clean workloads, review supported configurations, and prepare for a clean restore." --- = Configure the environment for a clean restore in NetApp Ransomware Resilience :hardbreaks: :nofooter: :icons: font :linkattrs: :imagesdir: ./media/ [.lead] NetApp Ransomware Resilience offers clean restores, which provide a guided recovery after ransomware attacks. To perform a clean restore, you must first create an isolated recovery environment (IRE), either on-premises or in a supported cloud environment. In the IRE, you create a clean room where Ransomware Resilience sequesters the workload to identify which files are clean and which are impacted by ransomware. include::_include/console-role-admin.adoc[] == Learn about clean restores When you perform a clean restore, Ransomware Resilience guides you through a multi-step process that optimizes recovery. * **SETUP**: To perform a clean restore, you must first create an IRE then select the workload to restore. Ransomware Resilience creates a clean room where all actions for the workload are taken. * **ANALYSIS**: In the clean room, Ransomware Resilience analyzes all snapshots to see if encryption is present. Clean restore determines a recovery map with the optimal recovery plan. + Once a restore point is discovered without impacted files, all earlier restore points are skipped. For example, if the ransomware event occurred on October 10, and a restore point was discovered on October 7 at 10:21 AM with no impacted files, all restore points prior to October 7 at 10:21 AM are skipped. + The analysis step also displays the number of files reviewed, denoting which are impacted and which are not. * **PLAN**: Choose the provided options for recovery: ** _Latest unimpacted restore point_: the quickest restore point from the most recent unencrypted snapshot from before the attack ** _Least data loss_: the most recent version of every unencrypted file from different snapshots + You can also view file histories in the planning step to see when ransomware events impacted the files and how the recovery point relates in time to that event. * **CLEANING**: Ransomware Resilience removes malware from the recovery point. If any files can't be cleaned, they are excluded from the recovery and quarantined to a separate location. * **RESTORE**: Ransomware Resilience restores the clean data into the source environment. * **END**: Ransomware Resilience provides a detailed summary of the process and closes the clean room, releasing the resources provisioned during setup to eliminate future metered costs. == Supported configurations * You can only create one IRE per Ransomware Resilience account. Each IRE can have three clean rooms. * Clean restore is currently only supported for NAS file shares (NFS/CIFS). * You can create an IRE in the cloud or on-premises. Currently, the following configurations are supported: + [%header] |=== | Source | Destination (IRE) | Supported destination regions | On-premises (AFF or FAS systems only)* | On-premises (VMware vCenter) | N/A | On-premises (AFF or FAS systems only)* | Cloud: AWS a| * US East 1 * EU Central 1 | Cloud: Cloud Volumes ONTAP with AWS* | Cloud: AWS a| * US East 1 * EU Central 1 | Cloud: Amazon FSx for NetApp ONTAP | Cloud: AWS a| * US East 1 * EU Central 1 |=== + {asterisk} You must be running ONTAP 9.11.1 or later. [NOTE] Performing a clean restore in a cloud-based environment can incur additional compute charges from the cloud provider. For more information, see link:#cost-and-licensing[Cost and licensing]. == Considerations include::_include/clean-restore-considerations.adoc[] === Additional considerations for on-premises environments If you're deploying an on-premises IRE, when a Windows VM is cloned for the recovery analysis in the clean restore, the cloned VM retains the same configuration as the source. This duplication can cause conflicts: * Using the same security identifier (SID) results in authentication and security conflicts. * Using the same computer name (CN) causes network conflicts. * Using the same machine identity leads to licensing and activation issues. To avoid these conflicts, Ransomware Resilience performs sysprep on the cloned VM, which resets the SID, CN, and machine identity. Resetting these values ensures the cloned VM operates as a unique and independent instance without interfering with the source VM. === Secondary sources When you create the IRE, you can add a secondary source. If the primary source is unavailable and you've configured a secondary source, data will be restored to the secondary source. The clean restore process by default analyzes snapshots from the source environment. If either the source environment is unavailable or an unencrypted snapshot on the source is not available, clean restore analyzes snapshots on a secondary system if you have configured one. == Cost and licensing Clean restore is offered as part of Ransomware Resilience. No additional license is required to perform a clean restore or create an IRE. Enabling clean restore can incur third-party cloud provider charges. Depending on how you use the service, these charges can recur while the clean restore environments exist. Third-party charges can include creation and deployment of compute instances and additional production storage capacity for cleaning and recovery. Consider the following examples: * When an IRE is deployed in AWS and you initiate the clean restore, two t3.medium AWS EC2 instances are deployed in the clean room within the IRE for cleaning encryption and malware. * In Cloud Volumes ONTAP, clean restore creates a clean room storage VM for metadata volumes and snapshot clones for analysis. == Prerequisites Confirm you've completed the prerequisites for your chosen clean restore deployment type. Select the tab for your chosen IRE configuration. [NOTE] When you create the IRE, you must add every system (primary or secondary) you want to use for analysis during the system selection step. [role="tabbed-block"] ==== .Cloud to cloud -- This diagram illustrates an example of the cloud-to-cloud clean restore configuration. Review the diagram and the resources that you need to configure before you can create the IRE. image::diagram-clean-recovery-cloud-cloud.png[Diagram of cloud-to-cloud clean restore] include::_include/clean-recovery-cloud-destination.adoc[] -- .On-premises to cloud -- This diagram illustrates an example of the on-premises to cloud clean restore configuration. Review the diagram and the resources that you need to configure before you can create the IRE. image:diagram-clean-recovery-cloud-on-prem.png[Diagram of on-prem to cloud clean restore.] include::_include/clean-recovery-cloud-destination.adoc[] -- .On-premises to on-premises -- This diagram illustrates an example of the on-premises to on-premises clean restore configuration. Review the diagram and the resources that you need to configure before you can create the IRE. image:diagram-clean-recovery-on-prem.png[Diagram of on-premises to on-premises clean restore] .Clean room SVM data LIF IP (crr-data-LIF-IP) * A storage virtual machine (SVM) is created in each of the systems you select to connect to the IRE for restoring workloads. You must provide a dedicated IP address for each system that is used as the data LIF of the clean room SVM. .Hosts & vCenter * The vCenter must be version 7.0 or later with at least one data center. * The ESXi host must be ESXi version 7.0 or later, with at least one host that has sufficient CPU and memory resources available to clone the VMs. * The provided vCenter credentials must have permissions to discover resources and clone VMs. .Base VMs (Windows or Linux) * During recovery in the clean restore, the base VMs are cloned into a selected datacenter, placed on the chosen ESXi compute, mapped to the specified datastore, and attached to the designated network. When the VMs are cloned, they are configured to have 2 vCPUs and 4 GB RAM (for Linux or Windows VM) and the same amount of disk space as the base VMs. Each clean restore session uses two IP addresses from the given CIDR range. * You must provide a sufficient IP address range to accommodate multiple parallel clean room sessions. The IP addresses are released after the recovery has been completed. * The datastore should have sufficient free capacity to accommodate cloning VMs. * The IP address range must be specified in the CIDR format (for example, 100.100.0.0/24). * For Linux VMs: ** The operating system must be Ubuntu Linux 20.04 or later. ** The on-premises system must be powered on. ** VMware Tools must be installed and running. ** SSH must be enabled. ** You must have installed nfs-common. ** Docker version 20.x or greater must be installed and running. ** You must have a minimum of 40 GB of free space. * For Windows VMs: ** Windows VMs must have at least 20 GB of free space. ** The operating system must be Windows Server 2022 or 2025. ** VMware Tools must be installed and running. ** WinRM must be enabled. ** The IP must be configured. ** You must have the appropriate license to allow cloning of base VMs. ** The VM must be powered on. .Network * Configure the VLAN resources with the following access: + [options="header",cols="25,75"] |=== | Resource | Access | Clean room SVM VLAN a| NFS access to the: * Production Console agent * Console agent VLAN * Clean room VLAN | Console agent VLAN a| * NFS access to the clean room SVM VLAN * HTTP/SSH access to the clean room VLAN | Clean room VLAN | NFS access to clean room SVM VLAN |=== .Dedicated Console agent * Deploy a dedicated NetApp Console agent for the IRE. The Console agent must be deployed in the destination vCenter with access to the clean room VLAN. For more information about the deployment process, see link:https://docs.netapp.com/us-en/console-setup-admin/task-install-agent-on-prem.html[Deploy a Console agent on-premises^]. -- ==== == Create an isolated recovery environment Before conducting a clean restore, you must create an isolated recovery environment. The process for creating an isolated recovery environment differs if the environment is in the cloud or on-premises. Ensure you follow the instructions for the correct location. [TIP] link:https://www.netapp.com/video/6Vj0Ijo3mno/netapp-ransomware-resilience-clean-restore/[Watch a video guiding you through isolated recovery deployment.^] [role="tabbed-block"] ==== .Cloud -- . In Ransomware Resilience, select **Settings**. . In the Isolation cleaning and recovery card, select **Add** to create the isolated recovery environment. . In the Type section, choose *On-demand cleaning*. . For a cloud-based IRE, choose **Amazon Web Services** as the location. . Enter a **Name** for the environment. . Select *Next*. . Expand the *Systems* section. Choose the systems you want to connect to the IRE. Each system must have network connectivity to the IRE. You might need to provide a data LIF IP address for each system to establish the clean restore recovery point. + [NOTE] For IREs deployed to Amazon FSx for NetApp ONTAP, you don't need to provide this information. . For each system that you've added other than Amazon FSx for NetApp ONTAP, select *Edit storage VM*. In the pop-up, enter the *Storage VM IP address* and *Storage VM subnet mask*. For the *Broadcast domain*, choose default or management. You can optionally enter a *Storage VM gateway*. + image::clean-restore-systems.png[Screenshot of the systems selection interface.] . Select *Next*. . In the *Authentication* section, enter the cloud **Account** ID and select the **Region** for the account from the dropdown menu. You can only deploy an IRE in a supported region. . Enter the **Access key** and **Secret key** for the account. + [NOTE] The account must have the necessary permissions to allow Ransomware Resilience to deploy the Console agent and create the on-demand clean room. + image::screenshot-set-up-recovery-environment.png[Screenshot of IRE authentication set-up.] . Expand the *Amazon VPC* section. Enter the virtual private cloud ID where the IRE is to be deployed. (This is the VPC you established in the prerequisites.) . Select *Next* to review the configuration. . Review the configuration. Select *Add* to create the IRE. + Ransomware Resilience tests the connection after you select add, which can take a few minutes. The IRE has been deployed successfully when its status displays as "deployed." -- .On-premises -- . In Ransomware Resilience, select **Settings**. . In the Clean restores card, select **Add** if this is your first environment or **Manage** if you've already created one. . In the Type section, choose *On-demand cleaning*. . For location, select **On-premises**. . Enter an *Isolated recovery environment name*. . Select *Next*. . Expand the *Systems* section. Choose the systems that you want to connect to the IRE. + Each system you select must have an assigned IP address. You can select primary or secondary systems. Secondary systems can be used for analysis and recovery if the primary system has no unencrypted snapshots or if it's unavailable. . For each system that you've added, select *Edit storage VM*. In the pop-up, enter the *Storage VM IP address* and *Storage VM subnet mask*. For the *Broadcast domain*, choose default or management. You can optionally enter a *Storage VM gateway*. . Select *Next*. . From the dropdown menu, select the *Console agent* that's deployed in the IRE. . Provide the credentials to authenticate the vCenter server: *IP address or fully qualified domain name (FQDN)*, *Port*, *User name*, and *Password*. . Select **Authenticate** to confirm the credentials. Wait until the UI confirms your credentials before proceeding. . Expand the *Clean room compute* section. . Select the *Datacenter* and *Cluster* where the VMs will be deployed. . Select the *Datastore* and *Network* for the ESXi host. . Enter the *IP address range* in CIDR format (for example, 100.100.0.0/24), *Subnet mask*, and *Gateway* for the VMs. . Select the VMs located on the ESXi host, which will be used as the base VMs for cloning during the recovery process. + For the Linux VM that Ransomware Resilience uses to scan for ransomware, select the VM from the dropdown menu then enter the *User name* and *Password* for the VM. + For the Windows VM that's used for scanning, select the VM from the dropdown menu then enter the *User name* and *Password* for the VM. + image::clean-restore-compute.png[Screenshot of the clean restore compute configuration step.] . Select *Next* to review the configuration. . Select **Add** to create the IRE. Ransomware Resilience tests the connection after you select add; this process can take a few minutes. The IRE has been deployed successfully when its status displays as "deployed." -- ==== You can track the progress. In the settings tab, select **Isolated recovery environments**. The isolated recovery environments page displays the IRE and its status. Select **View jobs** for a breakdown of all jobs pertaining to that environment. You can modify the systems in an IRE after it's created. In the settings tab, select **Isolated recovery environments**. Locate the IRE you want to edit, select the action menu `...` then **Edit**. Proceed to modify the systems. Select **Save** when complete. [TIP] If you need to change any details of the IRE, select *Settings* from the Ransomware Resilience sidebar, then, in the Isolation cleaning and recovery card, select **Manage**. Select the action menu for the IRE then **Edit** to change the configuration. == Delete an isolated recovery environment You can't delete an IRE with an active restore operation; you can cancel the restore operation or wait until the restore completes then delete the IRE. [IMPORTANT] If you delete the IRE, it also deletes the clean room SVM and the metadata volume. Once these assets have been deleted, you can no longer generate reports for the clean restore. . Go to **Settings**. . In the Isolation cleaning and recovery card, select **Manage**. . Identify the clean room you want to delete. Select the action menu (`...`) for the IRE then **Delete**. . In the dialog, select **Delete** to confirm the operation. == More information * link:https://www.youtube.com/watch?v=6Vj0Ijo3mno&t=6s[VIDEO: Isolated recovery environment deployment]