Patent ID: 11892418
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Measurement (Instruments)
Classification: CPC G | IPC G

Claim 0:
1. A cloud provider system comprising:
a set of clusters hosted on a plurality of physical machines, wherein each cluster in the set of clusters includes a virtual machine configured to perform tasks;
a container registry service providing a plurality of image repositories, wherein each image repository of the plurality of image repositories is configured to at least store a plurality of container images including a plurality of container image layers and executable on the virtual machines of the set of clusters; and
a container service comprising computer hardware, wherein the container service is configured to access the plurality of container images from the container registry service,
wherein the container service is further configured to at least:
receive a request to optimize a first container image, wherein the request indicates a first set of parameters usable to execute the first container image, and wherein the first container image contains a plurality of container image layers that each contain a plurality of files usable during the execution of the first container image;
determine a second set of parameters usable to execute an inspector container image, wherein the inspector container image is configured to monitor access to the plurality of files in the plurality of container image layers of the first container image during the execution of the first container image, and wherein the second set of parameters identifies at least the first container image;
cause the inspector container image to be executed using the second set of parameters;
based at least in part on the execution of the inspector container image, identify a subset of unused files of the plurality of files in at least one container image layer of the plurality of container image layers of the first container image and a subset of used files of the plurality of files in the first container image; and
output a report indicating at least the subset of unused files of the plurality of files in the at least one container image layer of the plurality of container image layers of the first container image.