CLOUD CONCEPT

Edge Computing

Edge computing places processing near data sources or users instead of relying exclusively on centralized cloud infrastructure.

Cloud Concepts Hub →

What is Edge Computing

Edge computing distributes selected application tasks to devices, local gateways, nearby infrastructure, or provider-operated edge locations. It can reduce response latency, network traffic, and centralized processing costs, but introduces distributed infrastructure, security, and operational trade-offs.

Edge computing is an architectural approach that performs selected computations close to where data is generated or consumed. The edge might be an industrial gateway, a retail server, a connected device, or a cloud provider's distributed infrastructure near users. Its defining characteristic is processing location relative to the workload, not a particular service, hardware platform, or deployment model.

In cloud architectures, edge and centralized resources usually complement each other. Local components handle time-sensitive decisions, filtering, aggregation, or inference, while regional cloud services provide durable storage, fleet management, model training, and analysis across many locations. A factory gateway, for example, can evaluate vibration readings locally and upload summaries and abnormal readings rather than continuously transmitting every sample.

For cost-optimized compute design, identify what work can be eliminated or reduced before it reaches centralized systems. Filtering duplicate sensor events can reduce downstream ingestion, storage, and processing. Running inference near a camera can avoid continuously uploading video when only event metadata is needed. However, reducing device-to-cloud traffic does not automatically produce an AWS data-transfer saving: internet data transfer into AWS is generally free, while connectivity charges, downstream service charges, and data transfer out depend on the architecture.

Another application is lightweight request processing near web users. Edge functions can normalize URLs, issue redirects, or modify request headers before requests reach an application origin. Combined with appropriate caching, this can reduce origin requests and associated compute demand. Caching itself is not equivalent to executing application logic, although both techniques can be part of an edge architecture. Incorrect cache keys or personalization rules can expose user-specific data or reduce cache effectiveness.

The economic comparison must include the entire distributed system. Edge hardware, idle capacity, software deployment, monitoring, connectivity, physical maintenance, and replacement can outweigh savings from reduced centralized processing. Provider-managed edge functions have execution charges and runtime restrictions; local gateways require capacity planning and lifecycle management. A centralized, elastically scaled workload can be cheaper when data volumes are small, latency requirements are loose, or sharing compute across customers produces better utilization.

Intermittent connectivity is another reason to process locally, but offline operation must be designed explicitly. Applications need durable buffering, storage limits, retry policies, and duplicate-safe synchronization. Local processing does not guarantee continued operation if authentication, configuration, or required data still depends on an unavailable cloud endpoint. Similarly, proximity reduces network travel time but does not guarantee a hard real-time response.

Security and governance remain essential. Distributed devices need individual identities, least-privilege permissions, encryption, signed updates, and protection against physical compromise. Keeping raw data local can support privacy objectives, but logs, backups, and derived outputs must also satisfy residency and retention requirements. In architecture exam scenarios, favor edge processing when requirements emphasize local decisions, constrained connectivity, or reducing high-volume upstream data, then verify that its total cost and operational complexity are justified.

Key aspects of Edge Computing

Edge computing balances proximity, data reduction, resilience, and centralized coordination against the cost and complexity of operating distributed resources.

Processing near sources and users

Place latency-sensitive or data-intensive work close to the devices or people that need it. Choose placement using measured network latency, connectivity reliability, and workload requirements rather than assuming every task belongs at the edge.

Selective data reduction

Filter, aggregate, compress, or analyze data before forwarding it to centralized systems. Retain sufficient raw data or representative samples for troubleshooting, auditing, and future analysis.

Complementary edge and cloud roles

Use edge resources for immediate decisions and regional infrastructure for shared services, durable storage, and large-scale analytics. Define ownership and synchronization rules for state that exists in both locations.

Explicit disconnected operation

Design local buffering, bounded storage, and recovery behavior when connectivity can fail. Test whether cloud-dependent credentials, configuration, or services prevent the intended offline operation.

Total-cost optimization

Compare reduced network and downstream processing demand against edge execution charges, hardware costs, idle capacity, and fleet operations. Edge processing is cost-effective only when the avoided costs and required benefits justify those expenses.

Distributed security and operations

Manage device identities, updates, monitoring, and physical exposure across many execution locations. Plan staged deployments and recovery from failed updates rather than treating remote nodes like a single centrally managed server.

Cloud services for Edge Computing

These services represent different edge placements rather than components that every deployment needs. AWS IoT Greengrass supports processing on devices and gateways, while AWS Outposts provides managed AWS infrastructure at customer sites. For web delivery, CloudFront Functions and Lambda@Edge execute selected request or response logic within the CloudFront delivery path. Regional services can remain responsible for durable storage, centralized analytics, and coordination. Choose the placement that meets latency, connectivity, and data-handling requirements, then compare execution charges, provisioned capacity, network costs, and operational effort against a centralized design.

AWS IoT Greengrass image AWS IoT Greengrass

Runs application components on supported edge devices for local processing, messaging, and inference. Components can continue local work during connectivity interruptions when their dependencies and storage behavior are designed for it.

Open AWS IoT Greengrass →
AWS Outposts family image AWS Outposts

Extends supported AWS infrastructure and services to customer locations, enabling processing close to local systems and data. Its provisioned capacity and regional connectivity dependencies must be evaluated; it should not be assumed to provide fully disconnected operation.

Open AWS Outposts →