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

Popular posts from this blog

javascript - CasperJS/PhantomJS failing SSL handshakes on some sites even with --ssl-protocol=any -

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

python - Received unregistered task using Celery with Django -