In view of the traditional cloud computing network security model can not satisfy the different network security needs of cloud users, this study proposes a customized network security service solution for health cloud. This scheme firstly fills in the security spec according to the health cloud user's network security requirements. Then, encrypt the security spec. Finally, the customized network security service system automatically analyzes and processes to establish effective security rules and ultimately protect the cloud user security in the medical health cloud platform. Compared with the traditional method, the results show that the proposed method is effective in improving performance.