← Back to insights

AWS architecture

Evaluating AWS Graviton for existing workloads

Moving from x86 to Arm can improve price and performance for the right workload. The sensible way to approach it is as an application compatibility and capacity exercise, not a switch to make on price alone.

AWS Graviton processors are custom Arm-based processors designed by Amazon Web Services for its cloud infrastructure. They are available across a range of EC2 instance families and are also used by services such as AWS Lambda. For workloads that run well on Arm, Graviton can offer a useful combination of performance and operating cost.

That does not mean every x86 workload should be moved. A lower hourly instance price is only part of the calculation. The application, its dependencies, its performance profile, and the effort required to test and support the change all matter.

What changes when you move to Graviton?

The main difference is the processor instruction set. Most traditional server applications have been built for x86-64 processors. Graviton uses the Arm 64-bit architecture, commonly referred to as arm64 or aarch64.

Many current Linux distributions, language runtimes, databases, and open-source packages support both architectures. Problems tend to appear in the details: a native library that is only built for x86, a vendor agent without an Arm package, an old container image, or a dependency that has not been tested on the target architecture.

For a workload built from maintained components, the move can be straightforward. For an older application with compiled dependencies or vendor software, it may require a rebuild, replacement, or a decision to stay on x86.

Where Graviton is worth evaluating

Start with workloads that have a clear owner, a repeatable deployment process, and a test environment that resembles production. Linux application servers, stateless services, containerized applications, open-source databases, and background processing are common candidates.

Graviton is available in multiple EC2 instance families. AWS also offers Arm-based options for supported RDS and ElastiCache configurations, and Lambda functions can be configured to use the Arm architecture. Availability depends on the service, engine, instance class, Region, and current platform support. Check the service documentation for the exact configuration rather than assuming every option has an equivalent.

Amazon EC2

For EC2, check that the operating system image and every required package support Arm. In many environments the cleanest approach is to build an Arm-compatible image and deploy replacement instances, rather than treating the change as a simple resize. Review bootstrap scripts, monitoring agents, backup tools, security software, and any vendor applications installed on the host.

Amazon RDS and ElastiCache

For managed databases and caches, the service handles the underlying operating system, but the supported engine version, instance class, Region, and configuration still matter. Review extension and client compatibility, maintenance behavior, failover expectations, and the planned modification process. Test with representative data and queries before changing a production deployment.

AWS Lambda

Lambda supports both x86-64 and Arm-based functions. Before selecting Arm, verify that all libraries, layers, extensions, and packaged executables have compatible builds. Pure managed-language code may need little or no change, while dependencies containing native binaries need closer attention. AWS recommends testing the Arm version and comparing its behavior and performance with the current function before routing production traffic.

A lower instance price is not a savings plan by itself.

Measure the full workload. A smaller bill is useful only if the service continues to meet its performance, availability, and support requirements.

What to check before making the change

  • Operating system and image: Confirm that the selected distribution and image support Arm and that the required packages are available.
  • Application dependencies: Inventory native libraries, compiled modules, language runtimes, database drivers, command-line utilities, and vendor software.
  • Containers: Confirm that base images and all image layers support the target architecture. Where needed, publish and test multi-architecture images.
  • Operational agents: Check monitoring, logging, backup, endpoint protection, vulnerability scanning, and configuration-management tools.
  • Licensing: Review software licensing terms and vendor support for Arm-based infrastructure.
  • Infrastructure code: Update launch templates, images, deployment definitions, build pipelines, and configuration management where required.
  • Recovery: Make sure rollback is understood and that backups and recovery procedures remain valid after the change.

Compare performance, not just instance prices

Choose a comparable Graviton instance and test the workload under realistic conditions. Compare CPU and memory use, throughput, response times, error rates, network behavior, and application-level metrics. For databases, include representative queries and connection patterns. For batch processing, compare completion time and resource consumption.

Use the same workload and test conditions for both architectures. Include the costs around the compute resource as well: storage, data transfer, load balancing, monitoring, licensing, and any capacity kept available for failover. AWS Compute Optimizer can show Graviton-based EC2 recommendations and estimated price differences for supported workloads, but those recommendations should still be checked against application requirements.

Plan the migration in stages

  1. Inventory candidates. Identify workloads with clear ownership, low dependency risk, and useful performance data.
  2. Check compatibility. Confirm architecture support for the operating system, application, packages, agents, and deployment process.
  3. Build a representative test environment. Keep configuration and data patterns close enough to production to make the results meaningful.
  4. Measure and compare. Record cost, performance, reliability, and operational differences. Do not rely on an instance price comparison alone.
  5. Roll out gradually. Start with a limited workload or a small portion of traffic, monitor it, and retain a clear rollback path.
  6. Update operating procedures. Document the new image, deployment process, monitoring, recovery steps, and support ownership.

Make the decision workload by workload

Graviton is a useful option, not a universal answer. Some workloads will move with little effort. Others depend on software that is not available for Arm, or have performance and licensing characteristics that favor their current platform.

A good review identifies where the change is practical, estimates the likely benefit, and describes the testing and operational work needed to make it safely. The right outcome may be a migration, a later revisit, or a decision to leave a workload where it is.

Further AWS reading