Capítulo 538 de 988

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 VersionDefault
<5.0.0100
>=5.0.05

Key Takeaways

  1. Understand example when working with deployService().
  2. Understand arguments when working with deployService().
  3. Understand memorylimit when working with deployService().
  4. Understand cpulimit when working with deployService().
  5. 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.