This document presents a study on content distribution in cloud computing, focusing on the use of content delivery networks (CDNs) for efficient data delivery across hybrid cloud environments. It introduces a dynamic migration algorithm aimed at minimizing operational costs while ensuring data security through AES encryption and user authentication. The proposed system leverages Lyapunov optimization techniques for load balancing and resource allocation among geographically distributed data centers.