1. A method for cloud optimization using workload analysis, the method comprising: identifying, using a processor and a memory, an architecture of a workload received for execution in a cloud computing environment, the cloud computing environment including a set of cloud computing resources; identifying and marking a section of the workload for static analysis; performing static analysis on the section to determine a characteristic of the workload; selecting a subset of the set of cloud computing resources, such that a cloud computing resource in the subset is available for allocating to the workload and has a characteristic that matches the characteristic of the workload as determined from the static analysis; and suggesting the subset of cloud computing resources to a job scheduler for scheduling the workload for execution.