amazon web services - AWS PHP SDK - The instance ID 'i-xxxxxxx' does not exist -
i use php awssdk , cannot stop instance.
i can list of instances , parse data. instance in list, when try stop "the instance id xxxx not exist. win2008 server.
tia
discovered needed set the region host name if server not in default zone.
$ec2->set_hostname($info->region_endpoint);
then starting/stopping worked without errors $instanceaction = $ec2->stop_instances($instanceid) ;
Comments
Post a Comment