Chapter 538: deployService()
Core Idea
<ExperimentalBadge> <p> Cloud Run is in <a href="/docs/cloudrun/status">Alpha status and not actively being developed.
Key Concepts
- Example
- Arguments
- memoryLimit
- cpuLimit
- minInstances
- maxInstances
- timeoutSeconds
- projectID
Code Examples
const {shortName} = await deployService({
memoryLimit: '2Gi',
cpuLimit: '2.0',
timeoutSeconds: 500,
projectID: 'my-remotion-project',
region: 'us-east1',
});
console.log(shortName);
- What it demonstrates: Usage pattern for deployService() from the official docs.
Reference Tables
| Remotion Version | Default |
|---|
| <5.0.0 | 100 |
| >=5.0.0 | 5 |
Key Takeaways
- Understand example when working with deployService().
- Understand arguments when working with deployService().
- Understand memorylimit when working with deployService().
- Understand cpulimit when working with deployService().
- Understand mininstances when working with deployService().
Connects To
- api: related page in the Cloud Run (@remotion/cloudrun) section.
- Checklist: related page in the Cloud Run (@remotion/cloudrun) section.
- cli: related page in the Cloud Run (@remotion/cloudrun) section.