User Guide for Stook with Cyberduck

Important note: Please make sure that Medianova has forwarded your account information to you before installation. Your account information is specific to you. Please do not share with anyone. Account information example; Server: xxxxxxx.mncdn.com Access Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Secret Key: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy For the Amazon S3 connector, please read the following configuration tips. Install Cyberduck on your […]

Read More

How do I use the AWS SDK for PHP with Stook?

To use the PHP SDK, follow the steps below. Install the AWS SDK for PHP. Configure additional AWS CLI profiles for the Stook account using the Stook keys. Below is a sample PHP file that configures the Stook Endpoint. Example code: <?php require ‘aws/aws-autoloader.php’; $s3 = new Aws\S3\S3Client([ ‘version’ => ‘latest’, ‘region’  => ‘us-east-1’, ‘endpoint’ => […]

Read More

How do I use the AWS SDK for .NET with Stook?

The configuration steps for .NET with Stook are listed below: Download Visual Studio. Download and install the AWS Toolkit for Visual Studio. This toolkit has a lot of code examples to help you get started easily. Here is a sample code for creating a bucket: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; […]

Read More

Stook Storage User Guide for AWS CLI

AWS CLI is a tool used for data transfer to Stook. Stook works with all S3 compatible cloud storage services. 1. INSTALLATION You can download the AWS CLI from this link. You can follow these steps to install AWS CLI from AWS’s website. a-) You can install Windows 32-bit and 64-bit versions of setup files. […]

Read More

How do I use the AWS SDK for JavaScript with Stook?

Stook uses the AWS SDK. For our customers to use this SDK with Stook, we have created a sample.js below. This example shows how to; -set credentials up, – create a bucket – upload a file. Install SDK var AWS = require(‘aws-sdk’); Create S3 User var config = { s3ForcePathStyle: true, } var credentials = […]

Read More

How do I use Stook with the AWS Java SDK?

To use Stook with Java, follow the steps below: 1-Click the link for AWS Java SDK. That SDK has many code examples to help you begin easily. This sample code is given below to create a bucket and upload an object. import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.client.builder.AwsClientBuilder; import com.amazonaws.services.s3.AmazonS3; import […]

Read More

Using Pre-Signed URL PHP with Stook

You can create pre-signed URLs for any Stook operation using the getCommand method. Then by createPresignedRequest () method, you can call these URLs. Sample Code: 1. require ‘vendor/autoload.php’; 2. 3. use Aws\S3\S3Client; 4. use Aws\S3\Exception\S3Exception; 5. 6. $bucket = “bucket”; 7. $key = “mykey”; 8. 9. //Create a S3Client 10. $s3 = new Aws\S3\S3Client([ 11. […]

Read More

Using Pre-Marked URL NODEJS With Stook

You can create pre-signed URLs for any Stook operation and using the getSignedUrl() method you can call these URLs. Sample Code: 1. var AWS = require(‘aws-sdk’); 2. var config = { 3. s3ForcePathStyle: true, 4. } 5. var credentials = new AWS.SharedIniFileCredentials({ 6. profile: ‘medianova’ 7. }); 8. AWS.config.credentials = credentials; 9. AWS.config.update(config); 10. var […]

Read More

What is Stook?

About Stook Stook is the new product of Medianova which has begun serving to its customers since August 2018. Our product is compatible with the Simple Storage Service (S3) of Amazon Web Services (AWS).  In this guide, you will be able to obtain more information about Stook. You can get more detailed information on the […]

Read More