moved to a helper. also made a change so that if possible, the security group and vpc names were shown instead of the amazon id.
if no names are defined, it falls back to the amazon id.