Cloud-based automatic colorectal cancer (CC) detection involves the usage of cloud computing technology and system to help in the earlier and accurate diagnosis of CC in medical images and patient information. This cloud-based technology aims to improve the efficiency and reliability of CC screening, monitoring, and diagnoses. Automatic CC detection refers to the use of computer-based technology and systems to aid in the earlier and accurate detection of CC in patient data and medical images. This automated system aims to increase the reliability and efficiency of CC monitoring, screening, and diagnosis. Deep learning (DL) methods, especially convolutional neural networks (CNNs), exhibit promising results in automatic CC diagnosis. They can be trained on wide-ranging datasets of medical images to learn patterns and features related to precancerous and cancerous lesion. This study develops a new Reptile Search Algorithm with Deep Learning for Colorectal Cancer Detection and Classification (RSADL-CCDC) technique. The main aim of the RSADL-CCDC method focuses on the automaticclassification and recognition of the CC in the cloud environment. Once the medical images are stored in the cloud server, the detection process is carried out. In the presented RSADL-CCDC approach, the initial stage of preprocessing is performed by bilateral filtering (BF) approach. For feature extraction, the RSADL-CCDC technique applies ShuffleNetv2 model. Besides, the recognition and classification of CC take place using convolutional autoencoder (CAE) model. Finally, the hyperparameter tuning of the CAE technique takes place by utilizing RSA. The experimental validation of the RSADL-CCDC system is performed on benchmark medical database. Extensive results stated the enhanced performance of the RSADL-CCDC technique on CC recognition over other models with respect tovarious actions.