Add new functionality to init a node in a specific security group.

Add new functionality to init a node in a specific security group.