Security Scan With Backup
A cluster includes pods, containers, application instances, and storage volumes. A cluster may be represented with a snapshot object from which the cluster can be recovered. To accelerate recovery, the snapshot object is scanned for security threats upon creation and upon receipt by a remote repository. To restore the cluster, the snapshot object is retrieved and transmitted by the remote repository without scanning. Likewise, when the snapshot object is received and used to re-instantiate the cluster without performing a security scan.
1 . An apparatus comprising:
one or more processing devices and one or more memory devices operably coupled to the one or more processing devices, the one or more memory devices storing executable code that, when executed by the one or more processing devices, causes the one or more processing devices to:
create a snapshot object of a plurality of executable components executing on one or more host computing devices and one or more storage components stored in one or more storage devices coupled to the one or more host computing devices;
scan the snapshot object for security threats;
transmit the snapshot object to a remote repository; and
in response to failure of one or more of the plurality of executable components:
receive the snapshot object from the remote repository; and
without again scanning the snapshot object for the security threats, instantiate the plurality of executable components and the one or more storage components using the snapshot object.
2 . The apparatus of claim 1 , further comprising the remote repository, the remote repository configured to again scan the snapshot object for the security threats upon receipt and store the snapshot object in storage of the remote repository.
3 . The apparatus of claim 2 , wherein the remote repository is configured to retrieve the snapshot object from the storage and transmit the snapshot object without again scanning the snapshot object for the security threats.
4 . The apparatus of claim 1 , wherein the plurality of executable components include containers.
5 . The apparatus of claim 1 , wherein the plurality of executable components include pods.
6 . The apparatus of claim 1 , wherein the plurality of executable components are part of a cluster.
7 . The apparatus of claim 6 , wherein the cluster is a KUBERNETES cluster.
8 . The apparatus of claim 1 , wherein the snapshot object is a second snapshot object recording changes to the plurality of executable components and the one or more storage components subsequent to creation of a first snapshot object.
9 . The apparatus of claim 1 , wherein the security threats include computer viruses.
10 . The apparatus of claim 1 , wherein the executable code, when executed by the one or more processing devices, further causes the one or more processing devices to:
transmit the snapshot object to the remote repository over a secure connection.
11 . A method comprising:
creating, by a computing device, a snapshot object of a plurality of executable components executing on one or more host computing devices and one or more storage components stored in one or more storage devices coupled to the one or more host computing devices;
scanning, by the computing device, the snapshot object for security threats;
transmitting, by the computing device, the snapshot object to a remote repository; and
in response to failure of one or more of the plurality of executable components:
receiving, by the computing device, the snapshot object from the remote repository; and
without again scanning the snapshot object for the security threats, instantiating, by the computing device, the plurality of executable components and the one or more storage components using the snapshot object.
12 . The method of claim 11 , further comprising:
receiving, by the remote repository, the snapshot object;
(a) scanning, by the remote repository, the snapshot object for the security threats; and
after (a), storing, by the remote repository, the snapshot object in storage of the remote repository.
13 . The method of claim 12 , further comprising:
retrieving, by the remote repository, the snapshot object from the storage; and
transmitting, by the remote repository, the snapshot object to the computing device without again scanning the snapshot object for the security threats.
14 . The method of claim 11 , wherein the plurality of executable components include containers.
15 . The method of claim 11 , wherein the plurality of executable components include pods.
16 . The method of claim 11 , wherein the plurality of executable components are part of a cluster.
17 . The method of claim 16 , wherein the cluster is a KUBERNETES cluster.
18 . The method of claim 11 , wherein the snapshot object is a second snapshot object recording changes to the plurality of executable components and the one or more storage components subsequent to creation of a first snapshot object.
19 . The method of claim 11 , wherein the security threats include computer viruses.
20 . The method of claim 11 , wherein transmitting the snapshot object to the remote repository comprises transmitting the snapshot object over a secure connection.