refactory vpc resources