Security is one of the most important aspects in networking. Companies and Service providers spend much money on expensive firewalls to enforce security. Software-Defined
Networking (SDN) is a new architecture that can save companies and service providers money, reduce provisioning time from weeks to minutes, provide centralized management, promote innovation, and allow programmability in the underlying Network. SDN achieves this by decoupling the control plane from the data plane. This project demonstrates the benefits of implementing a Cloud based firewall on OpenFlow SDN network, which is one way of implementing SDN. The firewall is capable of detecting application layer traffic, such as Facebook, YouTube and etc, and of preventing some Denial-of-Service Attacks. This project discusses the implementation details and provides a performance analysis of the firewall module.