AWS Builder Center

The Small Trusted Network: Building a Trading-Partner Fund Intelligence Service with AWS Lambda Web Functions - Part 1

The Small Trusted Network: Building a Trading-Partner Fund Intelligence Service with AWS Lambda Web Functions - Part 1

Series: Financial Service (33 articles)

  1. …
  2. 24
    The Small Trusted Network: Building a Trading-Partner Fund Intelligence Service with AWS Lambda Web Functions - Part 1 This article
Dev @ Vertex Macro
In financial services, the smallest systems can carry the largest asymmetry of consequence. A tailored API built by one trader for a small group of sell-side partners may serve only a few dozen known users, yet it can influence market-making appetite, hedge selection, inventory tolerance, client pricing, and the timing of a risk transfer. Its request volume may be modest, but the value and sensitivity of each request can be high. The correct architecture must therefore avoid two equal and opposite errors. It must not burden a small, focused product with the permanent operating machinery of a conventional server fleet. It must also not confuse small audience size with small risk.
AWS Lambda Web Functions creates a timely answer to this class of problem. It allows a conventional Node.js HTTP application built with Express, Hono, Fastify, or another supported framework to listen on a port and run directly on AWS Lambda. It provides an HTTPS endpoint, automatically scales the number of execution environments, permits multiple concurrent requests within one warm environment, and can scale to zero when idle. It bills active CPU separately from memory, so an I/O-heavy endpoint does not accumulate CPU charges merely because the application is waiting for Amazon DynamoDB, Amazon S3, an external market-data source, a regulatory filing service, or an analytical model. AWS documents the service as suitable for web applications, REST and GraphQL APIs, microservices, server-side rendering, and streaming responses. A Web Function consists of immutable revisions and HTTPS endpoints that route traffic to those revisions. Event-driven processing remains the domain of Lambda Event Functions. These distinctions matter because they let the architecture use an HTTP server where an HTTP server is natural and a durable event workflow where a scheduled calculation is natural.
The customer in this paper is a small network of institutional trading partners engaged in market-making activity. A trader has built a tailored API that gives authorized sell-side counterparties a current view of selected hedge-fund and private-market performance signals. The service presents DPI, TVPI, gross and net IRR, top holdings, concentration, significant position changes, portfolio structure, performance history, deployment velocity, drawdown vulnerability, benchmark-relative performance, and regulatory AUM. A simple landing page lives in a private Amazon S3 bucket and is distributed through Amazon CloudFront. The backend runs as an AWS Lambda Web Function. Data remains inside the firm’s AWS environment except where an approved source or partner interaction requires ingress or egress. The team does not use an unrelated free hosting plan merely to avoid operating a small Amazon EC2 instance. It does not place material business logic, access tokens, or partner data in a consumer-grade deployment account. It does not incur the organizational and security overhead of fragmented cloud identities, duplicated logs, ambiguous data-processing terms, and support processes spread across providers.
This approach is not valuable because AWS is the only place software can run. It is valuable because institutional control improves when identity, encryption, network delivery, evidence, logging, deployment, threat detection, data retention, and operating ownership live in one governed environment. The architecture replaces server management, not enterprise responsibility.
The durable pattern in Amazon shareholder letters is a willingness to work backward from customers, make long-term investments, distinguish reversible from irreversible decisions, and prefer mechanisms over slogans. Amazon’s Day 1 operating model places the customer at the center, maintains a long-term focus, and uses bold experimentation to avoid the stagnation of Day 2. Amazon Leadership Principles make that operating model concrete through Customer Obsession, Ownership, Invent and Simplify, Are Right, A Lot, Insist on the Highest Standards, Earn Trust, Dive Deep, Have Backbone; Disagree and Commit, and Deliver Results. For this service, customer obsession means more than delivering a fast endpoint. It means helping a market-making partner distinguish realized cash from marked value, confirmed trades from inferred filing changes, current information from stale information, and approved analytics from provisional estimates.

The actual business problem

A market maker does not need another decorative dashboard. The market maker needs a compact body of evidence that can improve a decision under time pressure. A partner deciding whether to quote, warehouse risk, provide liquidity, hedge a block, or engage a fund needs to understand the quality and structure of the underlying exposure. The headline return is not enough. A fund with strong TVPI and weak DPI may be dependent on unrealized valuations. A fund with attractive IRR may have benefited from short holding periods, subscription facilities, or favorable cash-flow timing. A portfolio with apparently diversified company names may be concentrated in one economic factor, one late-stage valuation regime, or one underlying issuer reached through multiple vehicles.
Traditional delivery methods are frustratingly asymmetric. Email attachments become stale. Spreadsheets lose lineage. Shared drives preserve files but not necessarily the reasoning behind them. A manually operated EC2 application can work well, but it creates an operating obligation around operating-system patching, process supervision, certificate renewal, load balancing, cron health, log rotation, disk capacity, disaster recovery, and idle infrastructure. A third-party free plan can make a proof of concept appear inexpensive while introducing a separate identity plane, a separate vendor dependency, unclear regional placement, inconsistent audit evidence, and a new path for confidential data to leave the governed AWS estate.
The business requirement is therefore a small, trusted network service with enterprise-grade controls and startup-like operating simplicity. It must give a known partner only the funds, metrics, dates, and actions that the partner is authorized to see. It must make each figure reconstructable. It must make staleness visible. It must survive an unavailable upstream provider without silently presenting yesterday’s data as current. It must support measured release and rollback. It must remain inexpensive when unused, without lowering standards when traffic is small.
Small audience size makes tailored authorization possible. It also increases the danger of informal exception. A desk may know every user personally and still need cryptographic identity, documented entitlements, expiration, revocation, and evidence. Familiarity is not an access-control system. A relationship manager’s message is not an authorization record. The strongest design uses human trust to improve communication while using technical controls to protect both parties from ambiguity.

A unified human operating system for a high-pressure desk

Technology cannot compensate for a desk that suppresses unwelcome evidence. Google’s Project Aristotle distinguished a true team from a loosely connected work group by interdependence. Team members plan, solve problems, decide, and review progress together. Its enduring finding placed psychological safety at the foundation of effective team dynamics. In this context, psychological safety means that an analyst can state that the TVPI is built on a stale or aggressive mark, an engineer can stop a release that exposes the wrong partner entitlement, and a salesperson can disclose that a counterparty misunderstood a metric. It does not mean comfort, consensus, or exemption from standards.
Bridgewater Associates adds the discipline of radical truth and radical transparency. Ray Dalio’s published principles argue that important problems improve when they are visible and when reasoning can be examined on its merits. The same principles explicitly distinguish radical transparency from total transparency. Sensitive intellectual property, security details, private matters, and the timing of a major trade can remain confidential. That boundary is essential here. Calculation methods, source lineage, incidents, and control decisions should be transparent to authorized participants. Material nonpublic information, restricted-list details, client identity, credentials, vulnerabilities, and live trade intent must remain need-to-know.
Adlerian psychology contributes an understanding of belonging, significance, and social interest. A junior quantitative analyst may remain silent not from indifference but from fear of losing standing in the group. A senior trader may resist a control because it feels like a public challenge to competence. An engineer may hide uncertainty to avoid appearing less authoritative in front of revenue producers. A healthy institution gives status to the act of improving the collective decision. The person who prevents an incorrect metric from reaching a partner is not blocking business. That person is protecting the franchise.
Nonviolent Communication supplies a grammar for truth without avoidable humiliation. It separates observation from evaluation, identifies the concern or feeling created by the observation, states the underlying need, and makes a concrete request. “The quant team has broken the feed again” is an accusation that invites defense. “The 08:30 publication used the September 30 NAV after the October 15 amendment was received, and two partners viewed the earlier figure” is an observation. “We are concerned because partners require current, reproducible information” states the need. “Please block publication whenever an unprocessed amendment exists and require an authorized override with an expiry” is a request that can become a control.
Former FBI negotiator Chris Voss’s tactical empathy is particularly useful in partner-facing incidents. Tactical empathy recognizes the other side’s constraints without conceding the substance. Before introducing a stricter authentication flow, the product owner can acknowledge that the partner may experience the change as friction imposed by a technology team that does not understand the speed of market making. That recognition makes room for a concrete solution, such as short-lived federation, familiar corporate identity, a low-latency CloudFront path, an emergency entitlement process, and documented support coverage. Labels, mirrors, accusation audits, calm tone, and strategic silence can lower defensiveness without weakening the security requirement.
Amazon Leadership Principles turn these ideas into mechanisms. Customer Obsession becomes partner-specific freshness objectives and definitions that prevent misinterpretation. Ownership becomes a named product owner, data owner, calculation owner, security owner, and on-call engineer. Dive Deep becomes a lineage path from a displayed multiple to every cash flow, valuation, benchmark observation, and transformation. Insist on the Highest Standards becomes a publication gate. Earn Trust becomes honest staleness, visible overrides, and prompt disclosure. Have Backbone; Disagree and Commit becomes a protected pre-release challenge period followed by disciplined execution after a decision. Frugality becomes the elimination of idle servers and unnecessary providers, not the removal of controls. Invent and Simplify becomes one governed AWS path from data to API to static site.

The architecture of the small trusted network

The landing page should be stored in a private Amazon S3 bucket and delivered by Amazon CloudFront using Origin Access Control. AWS recommends OAC over the older Origin Access Identity model. A regular S3 bucket origin, rather than the S3 website endpoint, allows CloudFront to sign origin requests, keep the bucket private, and use HTTPS between CloudFront and S3. The distribution can use an AWS Certificate Manager certificate for a controlled domain such as  fund-intelligence.example.com . Amazon Route 53 or the institution’s DNS platform can publish the alias. AWS WAF can apply managed rule groups, rate-based controls, and partner-specific controls at the edge.
The browser loads only static HTML, CSS, and JavaScript from CloudFront. No secret should be embedded in the static bundle. The site obtains a short-lived authenticated session through the approved identity model. For a small set of institutional partners, the preferred model may be federation through each partner’s identity provider using OIDC or SAML, brokered by Amazon Cognito where appropriate. An alternative is a business-to-business identity service already approved by the enterprise. Shared API keys are simple but weak because distribution, rotation, individual attribution, and revocation become difficult. If a machine client calls the API, short-lived AWS credentials and SigV4, OAuth 2.0 client credentials with narrowly scoped tokens, or mutual TLS behind an approved gateway are stronger choices.
The backend is a Lambda Web Function running Fastify or Express. The endpoint should normally use IAM authentication when fronted by CloudFront Origin Access Control for Lambda Web Functions. CloudFront signs each request to the origin, while the application’s own Authorization header can be forwarded for JWT validation. The Web Function resource policy permits the specific CloudFront distribution to invoke the production endpoint. Direct unsigned invocation fails. The public DNS reachability of the managed endpoint remains distinct from application accessibility; IAM authorization and policy provide the control.
The application reads partner entitlements from Amazon DynamoDB or a governed relational store. The authorization decision includes partner organization, user or workload identity, fund entitlement, permitted fields, permitted date range, purpose, expiry, and actions. Every request produces a correlation identifier and an auditable decision. Logs store identifiers and outcomes, not bearer tokens, personal data, complete portfolio payloads, or live trade intent.
Published analytical views can live in DynamoDB when access is primarily by partner, fund, and as-of date. A single-table model might use a partition key such as  PARTNER#<partner-id>#FUND#<fund-id>  and a sort key such as  ASOF#2026-10-28#VERSION#<version> . The item carries approved metrics, freshness, source-manifest ID, calculation version, entitlement class, publication status, and expiry. Amazon Aurora PostgreSQL is appropriate when relational joins, transactional workflows, and richer ad hoc querying dominate. A multi-concurrent Web Function must use a bounded connection pool, and Amazon RDS Proxy should be considered to protect Aurora from connection storms.
Raw source evidence belongs in a versioned S3 bucket encrypted with AWS KMS. Each regulatory filing, manager report, fund administrator file, benchmark observation, FX dataset, market-data response, and approved manual adjustment is preserved before transformation. S3 Object Lock may support retention when Legal and Records Management approve the policy. AWS CloudTrail data events can record sensitive object access when the evidence value justifies the volume and cost.
Daily and intraday refreshes should begin with Amazon EventBridge Scheduler or a trusted event, not an in-process cron library inside Fastify. AWS Step Functions coordinates source acquisition, raw preservation, validation, normalization, calculation, challenge, approval, and publication. Lambda Event Functions perform bounded event tasks. Amazon SQS buffers bursts and isolates unreliable providers. Dead-letter queues preserve failed work for controlled replay. AWS Secrets Manager stores provider credentials. Every workflow uses an idempotency key so retries cannot create duplicate capital calls, distributions, holdings, or publications.
This arrangement keeps the experience serverless without becoming message-free in the literal architectural sense. Durable messages and state transitions are desirable because they make financial work restartable and auditable. The intended removal is server-management overhead, not all messaging. An HTTP request is appropriate for the interactive partner path. An event, queue, or state-machine transition is appropriate for work that must survive retries and outages.

Building the Web Function

A production Fastify process should listen on the host and port supplied through  AWS_LAMBDA_HTTP_ENDPOINT . Local development can use  0.0.0.0:3000 . The default application entry point is  index.js  at the deployment archive root unless  AWS_LAMBDA_NODEJS_ENTRYPOINT  specifies another file.
import Fastify from 'fastify';
import crypto from 'node:crypto';

const app = Fastify({
logger: {
level: process.env.LOG_LEVEL || 'info',
redact: [
'req.headers.authorization',
'req.headers.cookie',
'res.headers.set-cookie'
]
},
requestTimeout: 12000,
connectionTimeout: 4000,
keepAliveTimeout: 5000,
bodyLimit: 262144
});

app.addHook('onRequest', async (request, reply) => {
const supplied = request.headers['x-correlation-id'];
request.correlationId = typeof supplied === 'string' && supplied.length <= 128
? supplied
: crypto.randomUUID();

reply.header('x-correlation-id', request.correlationId);
reply.header('cache-control', 'no-store');
reply.header('x-content-type-options', 'nosniff');
reply.header('referrer-policy', 'no-referrer');
});

app.get('/health/live', async () => ({ status: 'live' }));

app.get('/v1/partners/:partnerId/funds/:fundId/performance', async (request, reply) => {
const identity = await identityService.verify(request.headers.authorization);
const decision = await entitlementService.authorize({
subject: identity.subject,
organization: identity.organization,
requestedPartner: request.params.partnerId,
fundId: request.params.fundId,
action: 'performance:read'
});

if (!decision.allowed) {
request.log.warn({
correlationId: request.correlationId,
subjectHash: identity.subjectHash,
fundId: request.params.fundId,
reason: decision.reason
}, 'authorization_denied');
return reply.code(403).send({ code: 'access_denied' });
}

const view = await performanceRepository.getLatestApprovedView({
partnerId: request.params.partnerId,
fundId: request.params.fundId
});

if (!view) {
return reply.code(404).send({ code: 'approved_view_not_found' });
}

return {
fundId: view.fundId,
asOfDate: view.asOfDate,
valuationDate: view.valuationDate,
dpi: view.dpi,
rvpi: view.rvpi,
tvpi: view.tvpi,
grossIrr: view.grossIrr,
netIrr: view.netIrr,
topTenExposure: view.topTenExposure,
freshness: view.freshness,
calculationVersion: view.calculationVersion,
lineageId: view.lineageId,
overrideStatus: view.overrideStatus
};
});

const endpoint = process.env.AWS_LAMBDA_HTTP_ENDPOINT || '0.0.0.0:3000';
const separator = endpoint.lastIndexOf(':');
const host = endpoint.slice(0, separator);
const port = Number(endpoint.slice(separator + 1));
await app.listen({ host, port });
The application should not return every metric to every partner. Response shaping occurs after authorization and before serialization. One partner may see only aggregate multiples and benchmark comparison. Another may be approved for top-ten holdings with delayed dates. A third may receive no position-level data because doing so could reveal material nonpublic information or enable reconstruction of trading intent.
A user-triggered refresh should return HTTP 202 and create a durable workflow. It should not continue inside the Web Function after the request merely because background activity can sometimes continue after a response. Financial work that must complete, retry, and leave evidence belongs in Step Functions.

Creating the static landing page in the AWS console

The operator signs in through AWS IAM Identity Center, selects the approved account and Region, and opens the Amazon S3 console. A bucket such as  enterprise-fund-intelligence-ui-prod  is created with Block Public Access enabled and Object Ownership set to bucket-owner-enforced. Versioning is enabled. Default encryption uses SSE-S3 or an approved KMS key according to the classification policy. The bucket is not configured as an S3 website endpoint because CloudFront OAC works with a regular S3 origin and keeps direct access private.
The built  index.html , CSS, JavaScript bundle, icons, and source maps allowed by policy are uploaded. Production source maps should not be public when they disclose internal paths or implementation detail. Cache metadata differentiates immutable hashed assets from  index.html . Hashed JavaScript and CSS can use a long  max-age  with  immutable . The HTML shell should use a short cache lifetime so a security fix or endpoint change becomes visible promptly.
The operator opens Amazon CloudFront and creates a distribution. The private S3 bucket is selected as the origin. A new Origin Access Control is created with request signing set to always. CloudFront generates or requires an S3 bucket policy that grants  s3:GetObject  to the CloudFront service principal and restricts access to the exact distribution ARN. The default root object is  index.html . Viewer protocol policy redirects HTTP to HTTPS. Allowed methods remain GET and HEAD for the static origin. Compression is enabled. An AWS WAF web ACL and response-headers policy are attached. The response policy supplies Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy, and suitable frame restrictions.
An ACM certificate for the site domain is associated with the distribution. CloudFront certificates are managed in the required AWS Region for the service. The DNS alias points the approved hostname to the distribution. The distribution is tested from an external network and the S3 object URL is tested to confirm that direct access is denied.
The browser’s Content Security Policy allows scripts only from the intended static origin and API connections only to the approved API domain.  'unsafe-inline'  and broad wildcards should be avoided. The landing page contains no provider credential, AWS secret, private signing key, or permanent partner token.

Creating the Web Function in the AWS console

The operator opens the AWS Lambda console, selects Web Functions, and creates  trading-partner-fund-api . The first endpoint is named  dev  and uses Home-Region for controlled validation. The endpoint type is selected carefully because it cannot be changed after creation. Application-managed authentication can be used temporarily for a synthetic Hello World test, but no sensitive data is connected until the endpoint is changed to IAM authentication or an approved application-authentication design is active.
The deployment source can be a ZIP file or a versioned object in S3. The archive contains  index.js ,  package.json , the lock file, and production dependencies at its root. Native modules must be built for Linux Arm64. The execution role initially receives CloudWatch Logs permissions and only the exact read permissions required for published data. It does not receive administrator access. Secrets Manager and KMS permissions are scoped to the exact secret and key.
The revision’s  maxConcurrencyPerEnvironment  starts conservatively at 16 or 32 for a trading-partner workload until load tests establish memory, CPU, and event-loop behavior. The service default is 64 and the configurable ceiling is 128. Lambda manages a dynamic effective ceiling that can be lower than the configured maximum. Raising concurrency can improve utilization for I/O-heavy work but can also multiply request-local memory, database use, socket count, and event-loop contention.
The endpoint’s  maxEnvironments  and  rateLimit  protect downstream systems. If an Aurora database safely allows 250 application connections and each environment has a pool of five, an endpoint limit of 30 environments creates a theoretical 150 connections and leaves headroom for failover, administration, and other applications. If the external data provider allows 100 requests per second, the API must not create an uncontrolled fan-out that exceeds that commitment. The endpoint rate limit, AWS WAF rate-based rule, application concurrency, queue controls, and provider client limiter should express one coherent capacity model.
After creation, the revision and endpoint pass through Pending and Active states. Active status does not prove that the Node.js process successfully bound to the supplied endpoint. The release pipeline calls  /health/live ,  /health/ready , and a synthetic authorized data route. CloudWatch logs are inspected for missing modules, incorrect archive paths, Arm64 binary failures, startup timeout, and listener errors.
The production endpoint is created separately, uses IAM authentication, and disables automatic deployment to the latest revision. Traffic routes to an explicitly approved immutable revision. A new revision receives a small canary weight, such as 5 percent, while the previous revision receives 95 percent. Promotion depends on error rate, p95 and p99 latency, throttles, active environments, concurrent requests, memory behavior, database saturation, entitlement denials, and result parity. Rollback moves traffic to the prior revision without rebuilding the artifact.

Connecting CloudFront to the API

A second CloudFront origin points to the Lambda Web Function endpoint. A Lambda-type Origin Access Control signs every origin request. A behavior such as  /api/*  routes to this origin, disables caching unless a carefully designed private caching policy exists, forwards the required method, query string, cookies, and application Authorization header, and applies short origin timeouts appropriate to the product. The Web Function resource policy permits  cloudfront.amazonaws.com  to invoke only the production endpoint and only when  aws:SourceArn  equals the exact distribution ARN.
This design creates one controlled domain for the static site and API. Browser same-origin behavior becomes easier to govern. CORS can be avoided or tightly restricted. AWS WAF protects both paths. CloudFront access logs can support partner traffic review subject to privacy and retention policy. The managed Web Function endpoint remains publicly addressable at the network level, but unsigned requests fail IAM authentication and the resource policy limits the permitted invoking service.

The financial model behind the endpoint

DPI is cumulative distributions divided by paid-in capital. It is often described as cash out divided by cash in, but institutional implementation requires a policy for management fees, recallable distributions, recycled capital, equalization, currency conversion, and restatements. The API should return the ratio, numerator, denominator, as-of date, policy version, and an entitlement-sensitive explanation. A market maker should understand whether realized proceeds are genuinely supporting the fund’s value claim.
TVPI is cumulative distributions plus residual value divided by paid-in capital. The API should decompose TVPI into DPI and RVPI because a 2.0x fund with 1.8x distributed cash is different from a 2.0x fund with 0.2x distributed cash and 1.8x unrealized value. Residual value should include valuation date, stale-age indicator, valuation source, adjustment status, currency basis, and concentration contribution.
IRR is the annualized discount rate that makes the net present value of dated cash flows equal to zero. Private-market systems should use actual dates and an XIRR-style method rather than assuming equal periods. The engine must define cash-flow signs, date convention, numerical tolerance, iteration limit, root-selection policy, and behavior when no valid root or multiple roots exist. Gross IRR uses investment-level cash flows before fees and carry. Net IRR uses limited-partner cash flows after management fees, expenses, carried interest, and other fund economics. Net IRR is not obtained by subtracting a fee percentage from gross IRR.
Top holdings require look-through normalization. Multiple vehicles, special-purpose entities, naming differences, and holding companies can hide common exposure. The service maintains an issuer master and calculates top-one, top-five, and top-ten weights, sector concentration, geography concentration, vintage concentration, and factor concentration. “Whale rocking” becomes an explicit stress calculation showing how dominant holdings move NAV under valuation shocks.
Largest trades should distinguish confirmed transactions from changes inferred through Form 13F. A quarter-over-quarter holdings change is not a complete trade blotter. Price movement, reporting thresholds, amendments, corporate actions, and transfers can affect the observation. The endpoint labels filing-based changes as estimates and preserves form type, filing date, period, accession, amendment status, and methodology.
Portfolio structure includes vintage diversification, sector exposures, cap-table sizing, liquidation preferences, unfunded commitments, reserve strategy, and financing. A preferred security with a liquidation preference and participation right does not have the same loss and upside profile as common equity. A useful endpoint exposes the economic layer without disclosing restricted legal terms to an unauthorized partner.
Performance history should separate time-weighted public-market concepts from money-weighted private-market returns. J-curve progression, NAV changes, distributions, contributions, write-offs, and valuation changes should be visible as components. Situational awareness includes dry-powder velocity, capital-call pace, follow-on reserve coverage, drawdown mitigation, stale-mark exposure, and vulnerability stress testing. During a macroeconomic pivot, deployment speed without valuation realism can create false confidence.
Performance against the S&P 500 should use an approved public-market-equivalent method such as Kaplan-Schoar PME or another governed method. Directly comparing a private fund’s IRR to an index’s time-weighted return is usually misleading because the cash-flow timing differs. The engine should preserve the benchmark total-return series, dividend treatment, FX policy, date alignment, methodology version, and all synthetic index purchases and sales.
AUM reported to the SEC through Form ADV Part 1A is a regulatory measure. RAUM should remain distinct from net asset value, committed capital, fee-earning AUM, and internal assets-under-supervision measures. The endpoint preserves adviser identity, filing date, reporting period, amendment status, source filing, legal-entity mapping, and any transformation. A partner should never infer current liquidity or NAV from regulatory AUM alone.

Real-time without false precision

The phrase real time can create dangerous expectations in private markets. Public prices may update continuously, but private-company marks, fund NAV, administrator books, and regulatory filings do not. The product should define a freshness class for each field. Public benchmark prices may be near real time or delayed according to the license. Position disclosures may be quarterly. Private valuations may be monthly or quarterly. RAUM may reflect a regulatory filing period. A unified page can update instantly while its underlying facts have different clocks.
Every response should therefore include  asOfDate ,  valuationDate ,  sourceUpdatedAt ,  calculatedAt ,  publishedAt , and  freshnessStatus  where applicable. The front end uses clear labels such as current, delayed, stale, estimated, amended, and under review. A stale but transparently labeled value can be useful. A stale value presented as current is a control failure.
Streaming through server-sent events can notify the landing page when a new approved publication becomes available. Streaming should communicate state change, not leak each internal workflow event. The API never streams an unapproved mark merely because the calculation finished. Approval and entitlement remain publication boundaries.

Evidence, monitoring, and incident response

Every calculation run produces a manifest containing source S3 version IDs, checksums, parser versions, calculation-engine version, configuration, business date, benchmark version, FX source, overrides, execution identity, timestamps, and output checksum. The API’s lineage ID references this manifest. A control reviewer can reconstruct the result without relying on the current state of a spreadsheet or database row.
Amazon CloudWatch receives structured application logs and platform metrics. AWS CloudTrail records control-plane activity. AWS Config evaluates resource drift. AWS Security Hub aggregates relevant findings. Amazon GuardDuty identifies suspicious activity. Amazon Inspector examines supported software exposure. Amazon Macie can help identify sensitive data in S3. These services do not create security automatically. Every finding source needs severity mapping, ownership, response time, suppression governance, and evidence of closure.
Useful alarms include endpoint 5xx rates, endpoint and account throttles, active-environment throttles, sustained concurrency near the configured ceiling, abnormal latency, initialization failure, memory growth, identity-provider failure, unusual authorization denial, stale source data, missing scheduled completion, calculation variance beyond tolerance, active override, publication without approval, benchmark mismatch, and partner access after entitlement expiry.
An incident review uses psychologically safe radical truth. The team identifies what occurred, what evidence was available, why actions made sense at the time, which control failed, and which mechanism will change. Nonviolent Communication keeps observations separate from blame. Tactical empathy recognizes the partner’s operational impact. Accountability remains intact for deliberate policy violations, concealment, or reckless behavior. Honest error becomes an input to system improvement rather than an incentive to hide the next error.

Series: Financial Service (33 articles)

  1. …
  2. 24
    The Small Trusted Network: Building a Trading-Partner Fund Intelligence Service with AWS Lambda Web Functions - Part 1 This article
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article