- Cloud Storage binding — from inside a Telnyx Edge Function
- AWS SDK
- AWS CLI
- S3-compatible third-party tools
- Telnyx Mission Control Portal
Available Regions
| Region | Endpoint |
|---|---|
| us-central-1 | us-central-1.telnyxcloudstorage.com |
| us-east-1 | us-east-1.telnyxcloudstorage.com |
| us-west-1 | us-west-1.telnyxcloudstorage.com |
| eu-central-1 | eu-central-1.telnyxcloudstorage.com |
--endpoint-url flag in the AWS CLI or the equivalent SDK configuration. See API Endpoints & Organization for details on regional behavior.
Some features are currently US-only, including presigned URLs, public buckets, and SSL certificates. See the compatibility matrix for full details.
Use a Cloud Storage binding
Bind an existing bucket to a Telnyx Edge Function and read, write, and list objects through a pre-authenticatedenv binding — the runtime injects the credential, so your code holds no S3 keys. This is the fastest path if your code already runs on Telnyx Edge Compute.
See Use a bucket from an Edge Function to declare the binding and call env.MY_BUCKET.get/put/head/delete/list.
Use the AWS SDK
Telnyx Cloud Storage is S3-compatible, so the AWS SDKs work against it. See the ready-to-run examples for Node, Python, Java, Go, Ruby, PHP, .NET, and Elixir.Use the AWS CLI
Install AWS CLI locally
Follow the procedure here.
Use a recent AWS CLI v2. The Cloud Storage endpoint accepts the AWS CLI’s default checksums (CRC64NVME) on both
put-object and aws s3 cp multipart uploads.Configure CLI
- Inject your Telnyx API key twice, once as access key and once as secret key.
- Leave the region as blank; regionality is specified via
--endpoint-urlas shown subsequently.
Validate CLI configuration
Perform the following validation procedure to ensure everything is working as expected.Create 2 bucketsBucket names must be universally unique. Hence, List bucketsVerify the buckets were created successfully.Add objects to a bucketUpload some random objects.List objectsVerify the objects were uploaded successfully.
BucketAlreadyExists error is expected on first attempt.Use S3-compatible third-party tools
Many excellent tools exist to upload data at scale without any code. You can find the configuration guides here.Use the Telnyx Mission Control Portal
Follow this support article.Read these documentations
Some key differences exist between Telnyx cloud storage and AWS S3. It’s advisable that they are reviewed and comprehended prior to Telnyx cloud storage is put into production.- Understand API endpoints & organizations
- Review supported API methods
- Heed the warning on presigned URL
- Pay attention to billing
- Know the restrictions on policy and ACL
Additional Resources
- All available AWS S3 CLI Commands