apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/InstanceService.java/InstanceService/createInstance
class InstanceService:  @Transactional
  public Instance createInstance(Instance instance) {
    instance.setId(0); //protection

    return instanceRepository.save(instance);
  }