Cloud or local neural networks: determining the benefits for your project
With the growing use of artificial intelligence (AI) in various industries, more and more companies and developers are faced with the question of whether to deploy AI models locally on their own devices, on servers in a data center, or to use cloud services from a provider.
Links to the SDK:
- SDK:
- Links to SDK examples:
- Swift Documentation:
Example of installing the SDK using PHP composer:
cd public_html/ curl -sS https://getcomposer.org/installer | php vi composer.json { "require": { "php": "7.0.*", "php-opencloud/openstack": "^3.0", "aws/aws-sdk-php": "2.*" } } composer.phar install
Example of using the Swift SDK, Keystone (Identity) V3:
swift.php 'https://storage-eu.eudc.cloud/v3', 'region' => 'RegionOne', 'user' => [ 'name' => 'your username', 'password' => 'your password', 'domain' => ['id' => 'default' ] ], 'scope' => [ 'project' => [ 'name' => 'your project name', 'domain' => ['id' => 'default'] ] ] ] ); $identity = $openstack->identityV3(); $service = $openstack->objectStoreV1();
Example of using the S3 Compatible:
s3.php 'your key', 'secret' => 'your secret', 'endpoint' => 'https://storage-eu.eudc.cloud', 'signature_version' => 'v2', ) ); //Listing all S3 Bucket $result = $client->listBuckets(); print_r($result); // Create s3 bucket $result = $client->createBucket(array('Bucket' => "ContainerName/")); print_r($result); // Upload file to s3 bucket $body=file_get_contents("Filename");
If you have any questions, please contact technical support at: support@host-telecom.com