Setting SecurityGroup for the instance