This book chapter provides the readers hands-on experience about the deep learning algorithms and their use case for cyber security solutions in the smart city ecosystem. In this book chapter, the authors first describe the background about the smart city ecosystem, cyber security threats and deep learning algorithms. Subsequently, the authors describe the overview of popular architectures of deep learning algorithms with their applications for addressing various cyber security threats. In this study, the author talks about convolutional neural networks (CNNs), fully connected convolutional networks (FCNs), Recurrent Neural Network (RNN), Deep Belief Network (DBN), Boltzmann Machine, and Auto-encoders.