Automation guides
Find the guides and tutorials on automation in one list, each with a summary of what it covers.
This section holds the guides and tutorials on automation.
Authorize an edge node in Azion Console so it can run Orchestrator edge services.
Bind an edge service to an edge node in Azion Console so Orchestrator can deploy it.
Create and activate an edge service in Azion Console for Orchestrator edge nodes.
Learn how to download and install the Azion Orchestrator for various OS like Linux, FreeBSD, and MacOS, including command line instructions.
Connect a GitHub account to Azion, review what the app can read, and suspend, uninstall, revoke, or remove it.
Add Text and Shell Script resources to an Orchestrator edge service in Azion Console.
Build a Model Context Protocol server with the MCP SDK and Hono, run it as an Azion function, and deploy it with the Azion CLI.
Ask a coding agent connected to the Azion docs MCP server to follow its static site deployment guide, and deploy the site with the Azion CLI.
Ask a coding agent connected to the Azion docs MCP server to search the Azion documentation, code samples, CLI commands, and Terraform provider docs.
Ask a coding agent connected to the Azion MCP servers to debug a deployment that returns error 503, and to propose Core Web Vitals improvements.
Create a Function, an Application, and a Workload with curl calls to the Azion API v4, and update the code with a PATCH.
Deploy a Function on Azion with Terraform and change its code with a second apply, with an optional destroy at the end.
Change one setting of an Azion API v4 resource with PATCH, or replace the whole resource with PUT and keep the settings you did not change.
Bring Azion resources you created in Console, the API, or the CLI under Terraform with import blocks, and let Terraform write their configuration.
Keep the Terraform state in an Azion Object Storage bucket with the S3 backend, so every machine and pipeline reads the same state.
Declare a Firewall, its rules and their order, and a WAF rule set with the Azion Terraform Provider, then attach the Firewall to a Workload.
Load a schema and rows from a SQL file into a SQL Database database with a Node.js script and the @aziontech/sql package of Azion Lib.
Upload every file of a local folder to an Object Storage bucket, keyed by its path and typed by its extension, from Node.js with @aziontech/storage.
Sign a JSON Web Token with a shared secret, verify it, and reject a token with the wrong signature or a past expiration, with the @aziontech/jwt package.
Copy an Application with its cache settings, Function Instances, and rules, or a Firewall with its Function Instances and rules, with one API v4 request.
Filter, sort, and page through an Azion API v4 list response with search, fields, ordering, and page_size, and read every page in a shell script.
Create Edge DNS records from a JSON file, then update and delete many records of a zone, with shell loops over the Azion API v4.
Change the position of the rules of an Application or a Firewall with one PUT request per rule list to the Azion API v4.
Install Azion CLI on Orchestrator edge nodes with a Shell Script resource in Azion Console.
Unbind an edge service from an Orchestrator edge node in Azion Console.
Uninstall Azion Orchestrator Agent from a device and delete its edge node in Azion Console.
Read the Orchestrator Agent log on a managed node, and the log of the services running on it, to confirm a deployment or find why one failed.
Set Orchestrator variables on edge services and edge nodes in Azion Console, and learn which value wins.
Import a GitHub repository in Azion Console to build and deploy it as an application that deploys again on every push.
Send every request under a path prefix to a backend outside Azion, with a connector and a first rule declared in azion.config.