The single-tenant-based applications consume high bandwidth and energy for each client. The multi-tenancy process adopts Software as a Service (SaaS) capability that allows a single model executing the service provider's platform to be accessed by numerous clients simultaneously. The virtual machine-based optimization method is required in the cloud computing domain as a dynamic resource scheduling method situated on unanticipated workloads. The multi-tenancy method provides the access to hardware and computing resources using the Infrastructure as a Service (IaaS) model. This article proposes the Adaptive Particle Swarm Optimization (APSO) method in a multi-tenant environment. The paper defines virtual machine placement, allowing cloud providers to provide powerful resource utilization capabilities.