Creating and configuring network security groups (NSGs)