'{username}', 'apiKey' => '{apiKey}', )); // 2. Obtain a Snapshot service object from the client. $volumeService = $client->volumeService(null, '{region}'); // 3. Get the volume you want to snapshot. $volume = $volumeService->volume('{volumeId}'); // 4. Create the snapshot. Specify a name and the volume ID. $snapshot = $volumeService->snapshot(); $snapshot->create(array( 'display_name' => 'backup20140514', 'display_description' => 'Daily backup taken on May 14, 2014', 'volume_id' => $volume->id() ));