Added some utility functions to get current region, instance id, instance type, local ip, public ip