Rainyun Cloud Server
Less than 1 minute
Configure Rainyun Cloud Server.
Obtain API Key
- Go to Rainyun Account Settings.
- Record your account's API Key (will be used later).

Obtain Server ID
- Navigate to Cloud Server List.
- Find the Server ID in the target server's card information.

Configure Firewall Rules
- Click the server card title to access details.
- Switch to the Firewall tab.
- Record Remark Names for rules requiring Solo management.
Rainyun Firewall Configuration
Special configuration required for Rainyun:
- Create default rule: Drop all ports/protocols with lowest priority
- Create allow rules for required ports with higher priority
- Set Remark Names for allow rules
As shown below, to protect 22
(SSH) and 3306
(MySQL) ports, configure ssh
and mysql
in Solo:

Duplicate Remarks Allowed
Multiple rules can share the same remark. Solo will modify all matching rules.
Edit Configuration File
Add this configuration to Solo's TOML file:
[[servers]]
name = "Server Name"
machine_type = "rainyunrcs" # Fixed for Rainyun
machine_id = "Server ID" # From server card
secret_key = "API Key" # Your API Key
protocol = "v4" # IPv4 only
rules = [
"rule_remark1", # e.g. ssh
"rule_remark2", # e.g. mysql
]
Parameter Reference
name
: Custom server identifiermachine_type
: Must berainyunrcs
machine_id
: Server ID from cardsecret_key
: Your API Keyprotocol
: Alwaysv4
(IPv4)rules
: List of firewall remark names
Complete Configuration Example
[[servers]]
name = "Rainyun Server"
machine_type = "rainyunrcs"
machine_id = "123456"
secret_key = "yHXydhIXRVMVk4qxliwBGE36jfhCZMmm"
protocol = "v4"
rules = [
"ssh",
"mysql",
]