Soren et al [5] in this paper have mentioned that benefits of clouds are shadowed with the security, safety and privacy challenges and due to these challenges the adoption of cloud computing has been inhibited to a great extent. It is stated that highly flexible but very complex cloud computing services are configured using web interface by users but wrong configuring of cloud computing by users may lead to vulnerable security threats and can cause security incidents. In this paper an approach has been presented for analyzing security at client side and server side. Amazon‘s Elastic Compute Cloud (EC2) has been chosen for this assessment. The primary aim is to focus on the accessibility, vulnerabilities in the entire cloud infrastructure. They have implemented the security analysis model & weigh up it for realistic environments. A specialized query policy language for assessment has been proposed in this paper, which is used to get handy into the arrangement and to state required and not required configurations. They claim that their approach they have used effectively allows remediate current security issues by validating configurations of complex cloud Infrastructures. Security assessment has been implemented in Python and weigh up was calculated on Amazon EC2.