Example #1
0
 /**
  * 
  * Enter description here ...
  * @param unknown_type $accessKey
  * @param unknown_type $accessKeyId
  * @param unknown_type $serviceUrl
  * @param unknown_type $serviceUriPrefix
  * @param unknown_type $serviceProtocol
  * @return Scalr_Service_Cloud_Eucalyptus_Client
  */
 public static function newEc2($region, $privateKey, $certificate)
 {
     $ec2 = AmazonEC2::GetInstance(AWSRegions::GetAPIURL($region));
     $ec2->SetAuthKeys($privateKey, $certificate);
     return $ec2;
 }