Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++DelphiRAD Studio

I received an email about Appercept’s new blog series….

I received an new email (4:05 AM 2 hours ago) about Appercept’s new new blog series “Getting started with AWS in Delphi”. I have been a fan and user of the AWS SDK since I first read about it and watched Richard Hatherall on an Embarcadero webinar four years ago (https://www.youtube.com/watch?v=kQa_dCu7ec4). I had been writing my own Delphi apps for AWS S3 from scratch using info from Pawel Glowacki’s webinar more than 10 years ago (https://www.youtube.com/watch?v=rtZkVAOvavU). I stopped using my own code and started using Appercept’s AWS SDK and still use it today. Keep up the great work Richard and team!

Here is the text of the email I received:

The first instalment of our new blog series, Getting started with AWS in Delphi, is now live. If you’ve been meaning to connect a Delphi application to AWS but weren’t sure where to begin, the series starts from a clean slate and builds up step by step. We’ve launched with two posts that cover both getting your first application running and setting up credentials correctly.

Part 1: Calling Amazon Translate from Delphi shows how to install the AWS SDK for Delphi, configure credentials using the first-launch wizard, and build a small FMX or VCL application that translates English into Japanese, Spanish, French, and about 75 other languages in fewer than 50 lines of code.

Credentials for the AWS SDK for Delphi takes a deeper look at authentication. It explains the SDK’s credential provider chain, covers common configuration approaches including IDE defaults, environment variables, options objects, IAM roles, and IAM Identity Center SSO, and shows how to diagnose the exceptions you’ll encounter when credentials aren’t configured as expected.

The series continues every other Wednesday. Still to come:
● Building an S3 application in Delphi
● Message queues with SQS from Delphi
● Sending email with SES from Delphi

Build ReadWhatYouSee: combining Textract, Translate, and Polly in a complete application

If you’d like to follow the series from the beginning, start with Calling Amazon Translate from Delphi:
https://www.appercept.com/blog/calling-amazon-translate-from-delphi
— The Appercept Team


Here, also, is my “full-throated” technical recommendation for Appercept’s AWS SDK for Delphi (generated from my Google NotebookLM curated sources):

Technical Recommendation: Adopting the Appercept AWS SDK for Delphi

1. Executive Summary: Bridging the Delphi-Cloud Divide

Modernizing our Delphi estate requires a strategic shift toward native cloud integration. Historically, the absence of an official Amazon Web Services (AWS) SDK for Delphi has forced development teams into a “technical debt trap,” relying on fragile, hand-rolled REST calls or outdated third-party wrappers. This recommendation advocates for the adoption of the Appercept AWS SDK for Delphi. Our architectural review confirms that this is not merely a library, but a professional-grade framework that eliminates the risks associated with makeshift connectivity. By implementing native Signature V4 request signing and idiomatic Delphi interfaces, this SDK fills the “official gap” left by Amazon, providing the stability required for enterprise production environments.

The Appercept Value Proposition:

  • Pure Delphi Implementation: Unlike makeshift solutions, the SDK is written entirely in Delphi. It removes “DLL-hell” and external binary risks by eliminating dependencies on C libraries, DLLs, or the AWS CLI.
  • Native Networking & Security: Built on System.Net.HttpClient, the SDK handles Signature V4 signing, service-specific serialization, and automatic credential resolution natively within Delphi units.
  • Cross-Platform Parity: A single codebase provides first-class support for Windows (including WinARM64EC and the modern LLVM-based Win64x compiler), Linux, macOS, iOS, and Android.
  • Architectural Maturity: Designed by Delphi specialists to mirror the behavior of official AWS SDKs, ensuring that edge cases, retries, and credential refreshing are handled according to AWS best practices.

It is our advisory that adopting this SDK is the most effective path to modernizing our VCL and FMX applications while maintaining technical robustness.

2. The Economic and Operational Case: Build vs. Buy in the AI Era

In the current development landscape, AI-generated code snippets are often viewed as a “free” alternative to commercial libraries. However, while an AI can generate a basic PutObject call, it fails to account for the operational complexities of a production environment. The true cost of “free” code includes the senior developer hours spent debugging credential resolution, handling transient network errors, and maintaining compatibility as AWS APIs evolve. As our analysis shows, “the arithmetic isn’t close”—the cost of the SDK is recovered in less than three hours of senior developer time.

Comparative Analysis: Manual/AI Implementation vs. Appercept SDK

FeatureAI-Generated / Manual RESTAppercept AWS SDK
Signature V4 SigningHigh risk; complex to implement/debug.Native, automated, and thoroughly tested.
Credential ResolutionUsually static or hardcoded keys.Automated Chain (Env Vars, Config, IAM Roles).
Credential RefreshingManual; often overlooked for roles.Automatic refreshing of expiring credentials.
Error HandlingBasic try/except; manual retry logic.Automatic retries with Jittered Exponential Backoff.
MaintenanceSelf-managed; breaks on API shifts.Vendor-maintained; handles protocol migrations.
DeploymentOften fails in ECS/EC2 environments.Native support for ECS Task and EC2 Instance Roles.

Return on Investment and Vendor Maintenance

The Standard Edition is priced at $197.23 (approx. £149), representing a negligible fraction of the cost required to build and maintain even a subset of these features. A key example of the SDK’s value is the 2024 AWS migration of SQS from XML to JSON; Appercept absorbed this change in version 2.0, sparing their users from a costly manual rewrite. By “buying,” we shift the maintenance burden to the vendor, allowing our senior talent to focus on core business logic rather than cloud plumbing.

3. Architectural Foundation: Native Integration and Cross-Platform Reach

The SDK’s “Pure Delphi” architecture is a critical requirement for enterprise stability. By avoiding external binaries and relying on System.Net.HttpClient, the SDK ensures that our deployments remain lightweight and portable.

Technical Specifications and Reach:

  • Modern Compiler Support: The SDK is fully compatible with Delphi 11.x through 13.x (Florence). It provides dedicated support for the modern LLVM-based Win64x compiler and WinARM64EC for ARM-based Windows devices.
  • Automatic Credential Refreshing: A major differentiator for long-running services is the SDK’s ability to automatically query metadata endpoints (IMDS, ECS) to refresh short-lived credentials without application restarts.
  • Supported Platforms: The framework delivers a consistent, type-safe interface across Windows, Linux, macOS, iOS, and Android, enabling us to modernize legacy VCL desktop apps and build new cross-platform FMX mobile solutions simultaneously.

4. Comprehensive Service Coverage and Machine Learning Capabilities

The SDK provides a unified interface for the breadth of the AWS ecosystem, categorizing complex services into accessible Delphi clients.

Supported Service Categories

  • Core Infrastructure:
    • S3 (Storage): Type-safe file management.
    • SQS & SNS: Decoupled messaging, queueing, and pub/sub notifications.
    • SES (Simple Email Service): Transactional email management, templates, and deliverability monitoring.
  • Security & Identity:
    • IAM & IAM Identity Center (SSO): Full support for programmatic policy management and Single Sign-On, including the Identity Store and SSO-OIDC clients added in version 1.6.
    • Cognito: Comprehensive user sign-up, sign-in, and identity federation.
    • Secrets Manager & KMS: Secure storage of API keys and encryption key management.
    • STS: Temporary credential management and role assumption.
  • AI/Machine Learning:
    • Polly: Neural text-to-speech with human-like voices.
    • Rekognition: AI image analysis for detecting objects, faces, and text.
    • Textract: Automated OCR and structured data extraction from forms/tables.
    • Translate & Transcribe: Real-time translation supporting 75+ languages and speech-to-text conversion.

Storage Flexibility

The S3 client implementation is protocol-compliant, meaning it is not restricted to AWS. By configuring the EndpointUrl, our applications can target S3-compatible storage providers such as MinIO, Backblaze B2, Cloudflare R2, and DigitalOcean Spaces without changing a single line of business logic.

5. Deep Dive: The “Getting Started with AWS in Delphi” Series

To reduce “time-to-first-call,” Appercept has published a strategic blog series that serves as a practical onboarding roadmap.

  • Part 1: Credentials for the AWS SDK: This installment details the Credential Provider Chain—the fixed lookup order (Environment Variables > Shared Config Files > IAM Roles) that allows the same code to run in dev, CI, and production. It reinforces why hardcoding keys is a critical security risk and how to use the IDE wizard for secure setup.
  • Part 2: Calling Amazon Translate: Demonstrates the SDK’s “RAD” efficiency by building a functional translation app—supporting 75+ languages—in under 50 lines of code using the TTranslateClient.
  • Future Roadmap: Upcoming installments will cover S3 application building, SQS message queues, and SES integration, culminating in the “ReadWhatYouSee” capstone project. This project integrates Textract, Translate, and Polly into a single cohesive application, demonstrating the power of unified service clients.

6. Advanced Productivity: High-Level Utilities and Developer Experience

A major advantage of this SDK is its collection of high-level abstractions, which prevent developers from “reinventing the wheel” for common cloud patterns.

  • Waiters: Utility classes like TS3BucketExistsWaiter and TS3ObjectExistsWaiter allow for asynchronous resource management by polling until a resource is ready.
  • Upload Helpers: TS3FileUploader manages multipart uploads for large files, handling chunking and temporary files to reduce memory pressure.
  • SQS Queue Pollers: Simplifies background processing by automatically polling queues for new messages.
  • Presigners: TS3Presigner generates temporary URLs for secure file access without exposing master credentials.
  • SNS Message Verifiers: Built-in tools for validating the authenticity of incoming SNS notifications.
  • Policy Builder: A fluent interface for generating complex IAM JSON documents programmatically, ensuring structural correctness.

7. Procurement and Implementation Roadmap

The SDK is available in two main tiers to suit our development and deployment requirements.

FeatureStandard EditionProfessional Edition
Price$197.23 (approx. £149)$461.98 (approx. £350)
ComponentsVCL & FMXVCL & FMX
Source CodeNot IncludedFull Source Included
SupportBasic (3-business-day response)Priority (1-business-day response)
LicensingRoyalty-FreeRoyalty-Free

Implementation Path

  1. Environment Check: Verify Delphi 11.x through 13.x.
  2. Installation: Download from the Access Appercept portal; the installer automatically registers paths with the IDE.
  3. Credential Setup: Use the integrated IDE wizard to configure shared credentials and default regions (e.g., us-east-1 or eu-west-1).

Final Recommendation

The Appercept AWS SDK is the “best offering for Delphi at present,” a sentiment shared by industry leaders like Ian Barker (Embarcadero Developer Advocate) and Conrad Vermeulen (Director, Sempare Limited). As Embarcadero Product Lead Marco Cantù notes, the SDK aligns perfectly with Delphi’s component-based RAD style while maintaining enterprise-grade robustness. It is our technical recommendation to proceed with the Professional Edition to ensure we have full source visibility and priority support for our cloud-first initiatives.

Kai for RAD Studio is Now Available! Special Live Webinar: Introducing Kai - A New Chapter for RAD Studio RAD Studio 13.1 Florence Now Available

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.

Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES