THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
<?php
error_reporting(-1);
header("Content-type: text/html; charset=utf-8");
require_once '../sdk.class.php';
$ec2 = new AmazonEC2();
$ec2->set_hostname('http://< cloudstack_management_server_ip >:7080/awsapi');
$ec2->disable_ssl();
$ec2->set_max_retries(0);
$response = $ec2->describe_images();
echo "\nDescribeImages \n";
print_r($response->body);
?>
|
...