If you're looking for a quick setup, you can use the default security groups that the Secure Agent creates. For more information, see
Use default security groups (alternative)
. You cannot mix and match default and user-defined security groups. For example, if you create a user-defined ELB security group, you must also create user-defined master and worker security groups.