Akamai Functions Is GA - Deploy a Spin 4 App with spin aka
Table of Contents
Akamai Functions reached general availability on November 10, 2026. In this post, I’ll walk you through the shortest path from an empty folder to a Spin 4 app running on the platform, and show how to check on it afterwards using the spin aka plugin.
You need an Akamai Control Center (ACC) account. As of today, you need an ACC account to access Akamai Functions. Without one, you can read along, but you can’t run the deployment steps below.
What GA Changes
Sign-in is based on your Akamai Control Center credentials, and the platform creates a team account for collaboration automatically. There is also a dedicated quotas and limits page, so check the official limits before you plan anything serious.
On the tooling side, spin aka 1.0 ships with support for Spin 4.3.0, log retrieval for up to 60 days and the SPIN_AKA_ACCOUNT_ID and SPIN_AKA_ACCOUNT_NAME environment variables.
Install The spin aka Plugin
The plugin is installed (and kept up to date) with the Spin CLI:
# Update the plugin feed
spin plugins update
# Install the aka plugin
spin plugin install aka
# Upgrade the aka plugin
spin plugins upgrade aka
Then sign in. The command prints a device link, you authenticate in the browser and authorize the Spin CLI:
# Authenticate against Akamai Functions
spin aka login
If you have access to multiple accounts, spin aka info prints your user and workspace information.
Create An App For The Platform
Pass -E akamai-functions to spin new so the project matches the deployment target. I’ll use the http-rust template (meaning Rust and its wasm32-wasip2 target must be installed), but http-ts, http-go and others work as well:
# Scaffold the app
spin new -E akamai-functions -t http-rust --accept-defaults hello-akamai
# Move into the application folder
cd hello-akamai
Open src/lib.rs and change the response message:
use spin_sdk::http::{IntoResponse, Request, Response};
use spin_sdk::http_service;
#[http_service]
async fn handle_hello_akamai(_req: Request) -> anyhow::Result<impl IntoResponse> {
Ok(Response::builder()
.status(200)
.header("content-type", "text/plain")
.body("Hello from Akamai Functions".to_string()))
}
Run spin build to compile the application to WebAssembly. At this point, you can also use spin up if you want to see it work locally first.
Build And Deploy
From the folder containing spin.toml, deploy the app:
# Deploy the app to Akamai Functions
spin aka deploy --build
It’s considered a best practice to always specify the --build flag when running spin aka deploy, to ensure latest source is compiled before deploying to Akamai Functions. The CLI asks for an application name and a confirmation (use --no-confirm to skip this in CI). Once deployment completes, the CLI reports the URL of your app, which you can call with curl.
What Happens During spin aka deploy
What happens when you run spin aka deploy
The OCI layers of your Spin app are pushed to the Akamai Functions OCI registry, and the global control plane receives the deployment request. The service regions then pull the workload and compile the Wasm modules to cwasm. Once your app is available in all service regions, a custom subdomain under fwf.app is generated for it.
Inbound requests are routed through the Akamai ALB to the closest service region offering the lowest possible latency. The deployment counts as completed once all service regions have reported back that they received the app and can serve it.
Inspect The Running App
spin aka app status shows the state of your application, including invocation counts. --usage-since controls the time window and --format json gives you machine-readable output:
# Show app details and invocation counts of the last 24 hours
spin aka app status --usage-since 24h
Every deployment is recorded, so you can list the past events of your app:
# List past events (deployments) of the app
spin aka app history
Logs are available through spin aka logs. Use --since to go back in time (up to 60 days now) and -n to control how many lines you get:
# Show the last 50 log lines from the past hour
spin aka logs --since 1h -n 50
Limits And Gotchas
- Runtime configuration is not supported on Akamai Functions, so don’t plan on runtime config or secrets providers for your first app.
- Resource tiers (Standard and Extended) and all numeric limits live on the quotas and limits page. Check it before deploying, because limits can change.
- If you work with multiple accounts, set
SPIN_AKA_ACCOUNT_IDorSPIN_AKA_ACCOUNT_NAMEinstead of passing the account on every command.
Recap
Install the plugin, sign in, scaffold with -E akamai-functions, deploy with spin aka deploy and check on the app with spin aka app status and spin aka logs. That’s the entire first-deploy loop.