Create a Rust service in Zerops
Zerops provides a Rust runtime service with extensive build support. Rust runtime is highly scalable and customisable to suit both development and production.
Create Rust service using Zerops GUI
First, set up a project in Zerops GUI. Then go to the project dashboard page and choose Add new service in the left menu in the Services block. Then add a new Rust service:
Choose Rust version
Following Rust versions are currently supported:
- 1.78
- 1.80
- nightly
You can change the major version at any time later.
Set a hostname
Enter a unique service identifier like "app","cache", "gui" etc. Duplicate services with the same name in the same project are forbidden.
Limitations:
- maximum 25 characters
- must contain only lowercase ASCII letters (a-z) or numbers (0-9)
The hostname is fixed after the service is created. It can't be changed later.
Set secret environment variables
Add environment variables with sensitive data, such as password, tokens, salts, certificates etc. These will be securely saved inside Zerops and added to your runtime service upon start.
Setting the secret environment variables is optional. You can set them later in Zerops GUI.
Read more about different types of env variables in Zerops.
Configure auto scaling
Zerops automatically scales Rust services both vertically and horizontally. Configure the scaling parameters to match your application's needs and control costs.
