The usage of cloud computing is skyrocketing now-a-days and so is the network traffic. The adversaries intend to attack the cloud servers due to some intentional reasons. The most frequent attack is the data theft, which is followed by the DDoS attack. Though numerous solutions exist to handle DDoS attack, SDN based solutions for cloud computing is scarce. Understanding the need of the DDoS attack detection system, this work proposes a SDN based solution for detecting DDoS attacks in cloud computing environment, which relies on ensemble classifier. This work collects the real time traffic data with the help of Wireshark network analyser tool. The ensemble classification relies on the classifiers k-Nearest Neighbour (k-NN), Support Vector Machine (SVM) and Extreme Learning Machine (ELM). The performance of the proposed approach is analysed in terms of accuracy, sensitivity, specificity and the results are compared with the existing approaches. Additionally, in order to prove the potentiality of the ensemble classification, this work employs the classifier individually and the results are compared. Finally, the average attack detection time is measured and compared. From the experimental results, it is observed that the proposed approach proves better results in terms of accuracy, sensitivity and specificity.