Abstract-The cloud has emerged as a successful computing paradigm allowing users and organizations to rely on external providers for storing and processing their data and making them available to others. Undoubtedly, security is one of the significant concerns in cloud computing. However, one of the major security concerns is to protect against network intrusions that affect confidentiality, availability and integrity Cloud resources and offered services. In this paper, we present a new framework, that allows collaboration between Hybrid Intrusion Detection System (Hy-IDS), Firewalls and Mobile Agents. Deploying security mechanisms in cloud computing environment to detect and stop intrusion attempts through our framework. However, the security mechanisms unfolds in four phases: using mobile agents in a virtual environment to collect malicious data in order to detect intrusions. Then, generation of appropriate response actions local and remote from malicious data, which were collected in the first phase. In addition, dynamic deployment of response actions through virtual or physical firewall. Finally, dynamic deployment of updates in cloud computing based on mobile agents. Therefore, the collaborative framework of security management could identify and address new distributed attacks more quickly and effectively