Deploy modules
Deploy one or more Cloud Code modules from compiled .ccm files.
Read time 1 minuteLast updated 21 hours ago
To deploy one or more Cloud Code modules, use the Deploy command referencing one or more .ccm files.
Compressing to a .ccm file
The archive can only contain the packaged assemblies to run on x64 Linux and compiled as ReadyToRun (R2R). To produce assemblies in this format, use the .NET CLI'sdotnet publishAfter producing these assemblies, compress them in an archive and set the extension to .ccm. The structure of the .ccm archive should look like this:dotnet publish -c Release -r linux-x64 -p:PublishReadyToRun=true
Note: The archive must be a ZIP format with its extension changed to .ccm.MyModule.ccm├─ MyModule.dll├─ MyModule.deps.json├─ Dependency1.dll├─ Dependency2.dll└─ ...
Storage limits
- The size of the .ccm file cannot exceed 10 MB.
- A [UGS project] has a limit of 20 modules and combined size of 128 MB across all environments.