Project identifier rules
The identifier given to a project in Serverpod Cloud must adhere to these rules:
- Globally unique
- Between 6 and 32 characters long
- Contain only lowercase letters, numbers, and hyphens
When creating a new project (see also the
serverpod cloud launch
or
serverpod cloud project
commands) you will get an error message if the name is not valid.
Most serverpod cloud commands need to know which project to operate on, which can be
specified in multiple ways:
- The
scloud.yamlfile in your project directory (see scloud.yaml schema for the file format and theserverpod cloud project linkcommand for how to generate or update it) - The
-p/--projectcommand line option - The
SERVERPOD_CLOUD_PROJECT_IDenvironment variable
Default server domain
Your project is automatically set up with default server domain names which begin with the project id.
For example if your project id is 'my-app', then your server can be accessed at: