hey!
We are currently working on the CLI to improve it. Currently it’s working, but the experience using it is far from ideal.
At the moment, it is possible to deploy applications with koyeb app init
or koyeb app create
then koyeb service create
.
For examples, you can run the help subcommand or checkout our custom github action which wraps the CLI.
It is not possible to have an app spec that defines the application but it’s a great idea!
Regarding the differences between the app, service and deployment:
- services are inside applications, and can communicate between each other directly. For example, if the services
api
andworker
are in the same application, they can use the private domainsapi
orworker
to reach each other. - the deployment defines how your application runs: if you update a service with a scale of 4, we will create a new deployment for your service, and 4 “regional deployments”: one per instance running your service. With
koyeb deployment list
, you can see a revision history of your service.