The combination of Machine Learning (ML) with Network Intrusion Detection Systems (NIDS) can be considered a revolutionary step that took place in the sphere of network security especially when implemented in cloud environment. The present research study focuses on the CIML-IDS that the author has personally developed as a machine learning-based IDS for large cloud networks to identify security threats in real-time. CIML-IDS is highly efficient in terms of detecting existing as well as unknown patterns of intrusion using Random Forest, Gradient Boosting, and Deep Neural Networks. But with the cloud deployment, resource utilization and its ability to operate under different loads and across distributed domains is made possible. The design of the proposed CIML-IDS includes feature extraction as a prerequisite for real-time anomalous activity detection, which increases the system's adaptability. Moreover, principles of the secure cloud computing enhance the integrity and the confidentiality of data, States that may act as the drawbacks of the cloud infrastructure. Efficient empirical tests carried out on the benchmark datasets corroborate the high detection rates of CIML-IDS and low false positive observations. The studies summarize the possibility of improving the usage of ML-based NIDS in enhancing the cloud network security and creating a robust defence system against novel threats.