Functions

Instant serverless functions for modern applications

Build and scale AI-powered applications on a globally integrated platform.

Your Stack, Your Way
  • Next.js
  • Astro
  • React
  • Vue
  • Angular
  • Nuxt
  • Gatsby
  • Hugo
  • Preact
  • Remix
  • Qwik
  • Vite
  • VitePress
  • Docusaurus
  • Eleventy
  • Hexo
  • Jekyll
  • Hono
  • Node.js
  • AWS
  • Google Cloud
  • Azure
  • Cloudflare Workers
  • Terraform
  • GitHub
  • OpenAI
  • Anthropic
  • Groq
  • SQLite
  • Drizzle

Build with familiar frameworks

Write Functions in TypeScript or JavaScript and ship with the frameworks you already use: Next.js, React, Vue, Astro.

Serverless runtime built for modern workloads

Use Functions as a programmable layer between users, storefronts, APIs, and origins. Adapt requests in real time without changing your backend architecture.

From hello world to full-stack applications

Run application logic with the resources a full-stack product needs: relational data, low-latency state, object storage, and AI responses through Azion libraries.

sql.ts
01import { createDatabase } from 'azion/sql';
02import type { AzionDatabase, AzionDatabaseResponse } from 'azion/sql';
03
04const { data: database, error }: AzionDatabaseResponse<AzionDatabase> =
05 await createDatabase('app-data', { debug: true });
06
07if (error || !database) {
08 throw new Error(error?.message ?? 'Failed to create database');
09}
10
11await database.execute([
12 'CREATE TABLE IF NOT EXISTS comments (id INTEGER PRIMARY KEY, text TEXT)',
13 "INSERT INTO comments (text) VALUES ('Hello from Azion')"
14]);
15
16const { data: comments } = await database.query([
17 'SELECT * FROM comments'
18]);
19
20console.log(comments?.rows);
Contabilizei
With Azion, Contabilizei improved request delivery at the Edge, reduced infrastructure costs, and gained fast access to support whenever needed.
Fabrício SantosDevSecOps Manager at Contabilizei

A full-stack platform that scales instantly

Frequently Asked Questions

//Build

Build once.Run everywhere.

Get a faster path to launch, lower latency, and less infrastructure overhead.