Patent attributes
According to embodiments of the present disclosure, a method, a device and a computer program product for code deployment are proposed. In the method, a deployment strategy for deploying code into a plurality of computing environments and respective amounts of resources provided by the plurality of computing environments are obtained. At least one code segment of the code to be deployed in a corresponding computing environment comprised in the plurality of computing environments is determined based on the deployment strategy and the respective amounts of resources. An amount of resources provided by the corresponding computing environment is sufficient to run the at least one code segment. The at least one code segment is deployed into the corresponding computing environment.