Security is of the utmost concern for all cloud platforms. Taking AWS as an example, there are many ways to secure a cluster. Please consult the AWS documentation on Virtual Private Cloud, Security Groups and Identity and Access Management to begin familiarize yourself with the available security measures.