Build an application
Edge Application allows you to create new applications, as well as adjust content delivery settings and define the variables of your application. It also enables you to automate actions at the request-response level.
Azion provides a range of tools to configure your edge applications:
- Azion Console: provides a user-friendly interface to configure your application and monitor data.
- Azion CLI: enables the team to interact with Azion’s system directly from the command line interface.
- Azion API: allows you to integrate and automate application deployment, scaling, and monitoring processes.
- Azion SDK: improve the development of your Go application.
- Terraform: integrate your infrastructure with Azion using Terraform.
- Azion Runtime: leverage APIs for networking and data handling.
Step 1: Configure application
After you create your application, you can change the delivery protocols and ports, as well as the encryption type that it uses to interface with your end-users.
For HTTPS applications, the Transport Layer Security (TLS) encryption ensures that data transfers between user devices and your servers are private.
Start by customizing your main settings and linking your application to a domain.
Step 2: Set variables
Next, you can configure your application’s behavior by setting variables and parameters that can be customized to fit its requirements. You can define the following instances:
- Cache settings: tune edge cache settings to reduce the load on origin servers and speed up delivery. Define values such as browse and edge cache expiration, large file optimization, cache keys, and adaptive delivery based on devices.
- Origins: adjust your origin settings to fit the needs of your application and define your the values of the
Host
header and origin address. - Device groups: group end-users based on their devices, operating systems, or browsers with information provided by the
User-Agent
header. - Edge functions: instantiate edge functions to minimize resource usage by processing at the edge.
Some variables may have already been created by default when you first built your application. You can edit your default settings or create new ones if necessary.
Step 3: Activate settings
To use your variables, you need to set up rules that trigger specific actions in your application.
In both the request and response processing stages, you can tailor a set of rules to handle requests according to the requirements of your application. This allows you to automate responses to user interactions, manage data flow, and carry out tasks based on incoming requests or outgoing responses, all governed by conditional business logic.