Refactored ec2_asnetwork_