Mobile edge computing (MEC) is an emergent architecture where cloud computing services are extended to the edge of networks into the mobile base stations. As a promising edge technology, it can be applied to mobile, wireless and wireline scenarios, using software and hardware platforms, located at the network edge in the vicinity of end users. MEC provides seamless integration of multiple application service providers and vendors towards mobile subscribers, enterprises and other vertical segments. It is an important component in the proposed 5G architecture that supports variety of innovative applications and services where ultra low latency is required. However, there are some challenges exists in the MEC eco system. To address these challenges, first off need to understand the network infrastructure of MEC, cloud and cellular network.Some questions and problems are addressed in this thesis that outlines the importance and challenges of MEC deployment. Impact of MEC integration with the traditional mobile and cloud network appears in this paper. A survey has been presented that contributes in general understanding of mobile edge computing (MEC). Readers will have an overview of MEC, such as definition, advantages, architectures and applications. Moreover, related research and future directions are pointed out in this thesis. Finally, security and privacy issues and their possible solutions are also discussed.iii This thesis is dedicated to my late Parents who were my first teachers. Without their support, guidance, and infinite wisdom, I would not have made it this far. My fervor towards professionalism is all colored by them.Also I would like to dedicate with my heart-felt and deepest gratitude to my siblings, I am blessed beyond belief. Their love and support means more to me than they will ever know.iv First and foremost, I thank Allah the Almighty for giving me health, strength and courage to complete my master thesis and eventually my Master in Network and System Administration at UiO.