Treat device index as string instead of int
Set instance vpcId based on subnet vpcId
More aggressively reset the mocking environment