For the complete Render documentation index, fetch https://render.com/llms.txt. Every docs page is also available as Markdown at https://render.com/docs/{slug}.md.

  • Docs
  • Changelog
Sign in
Get started

Rollbacks

Quickly revert your service to a previous deploy.

View as Markdown
Open in ChatGPT
Open in Claude

To revert undesired code changes as quickly as possible, you can roll back your service to a previous successful deploy. Render can reuse build artifacts from recent deploys, so rollbacks complete much faster than building a new version of your service.

Triggering a rollback

  1. In the Render Dashboard, go to your service's Deploys page.

  2. Find a recent successful deploy and click Rollback:

    Triggering a rollback in the Render Dashboard

  3. On the confirmation page, click Rollback to this deploy.

That's it! Render kicks off a new deploy using the target deploy's build artifact.

To trigger a rollback via the Render API, use the Roll back deploy endpoint.

This endpoint does not disable automatic deploys for the service.

This means that pushing a new commit to the service's linked branch will trigger a new deploy, which might reintroduce the undesired code change.

You can disable automatic deploys for the service using the Update service endpoint. Set the autoDeploy parameter to no.

Reenabling automatic deploys

Triggering a rollback in the Render Dashboard automatically disables autodeploys for the service. This safeguard prevents new changes from triggering a deploy that might reintroduce the undesired code change.

After you resolve the underlying issue, you can reenable automatic deploys from your service's Settings page:

Enabling autodeploys in the Render Dashboard

Rolling back via the Render API does not disable automatic deploys.

For details, see the API tab under Triggering a rollback.

Build retention

Render retains a fixed number of recent build artifacts for each service, based on your workspace plan. You can only roll back to a particular deploy if its build artifact is still available.

What's rolled back?

Service-specific config

When you roll back, Render reuses certain configuration details from the target deploy you selected. Other settings use the service's current configuration.

Rolling back does not overwrite any of your service's current configuration settings.

Render reuses the target deploy's settings only for the rollback. When you next trigger a standard deploy, Render uses the service's current configuration as usual.

๐ŸŸข Matches the target deploy

โŒ Uses the service's current configuration

๐ŸŸจ Partially matches the target deploy (details provided)

ConfigurationMatches target deploy
Start command๐ŸŸข

Health check path

๐ŸŸข
Docker command๐ŸŸข
Registry-hosted Docker image

๐ŸŸจ

See details below.

Build artifact๐ŸŸข
Instance count๐ŸŸข
Environment variables๐ŸŸข
Environment groups

๐ŸŸจ

See details below.

Disks

โŒ

Disks retain state between all deploys and cannot be rolled back. Separately from rolling back, you can restore a disk snapshot.

Compute plan

โŒ

If the target deploy requires a larger compute plan, consider upgrading your compute plan before triggering a rollback.

Custom domainsโŒ
Static site redirects and rewritesโŒ
Static site headersโŒ

Registry-hosted Docker images

If your service pulls and deploys a prebuilt Docker image from a container registry, the rollback uses the same image tag or digest as the target deploy.

As part of the rollback, Render pulls the image again. This has the following implications:

  • If the target deploy specified its image with a tag, Render pulls the latest image associated with that tag. This image might differ from the one used in the target deploy.
    • Unlike tags, digests always refer to the exact same image. Using a digest ensures that rollbacks behave more predictably.
  • If the specified image is no longer available or reachable in the registry, the rollback fails.

Environment groups

Environment groups enable sharing configuration across multiple services. Rolling back does not modify any values in an environment group, because other services might also depend on those values.

However, rolling back might modify which environment groups are applied to the service (specifically, if the target deploy used a different set of environment groups from the service's current configuration).

Note the following:

  • Because rollbacks skip the build step, any recent changes to environment group variables are not reflected in the build artifact.
  • If the target deploy included an environment group that has since been deleted, the rollback proceeds without it.

Platform-level config

Rolling back does not revert any changes that Render has made to the underlying platform since the target deploy. For example, if Render has since updated the native runtime for your service's programming language, the rollback uses the updated runtime.

View as Markdown
Open in ChatGPT
Open in Claude
Rollbacks
  • Triggering a rollback
  • Reenabling automatic deploys
  • Build retention
  • What's rolled back?
    • Service-specific config
    • Platform-level config
    • Home
    • Your first deploy
    • Free instances
    • Platform features by plan
    • Use with coding agents
    • FAQ
    • Templates
      • Migrate fromโ€ฆ
        • Heroku
        • Railway
    • Compute plans
    • SandboxesBeta
      • Service types
        • Which to use?
        • Static sites
        • Web services
        • Private services
        • Background workers
        • Cron jobs
        • Workflows
        • Multi-service architectures
      • Data storage
        • Render Postgres
        • Render Key Value (Redisยฎ-compatible)
        • Persistent disks
    • How deploys work
    • Supported languages
    • Git providers (GitHub, etc.)
    • Build pipeline
    • Deploy hooks
    • Monorepo support
    • Troubleshooting deploys
      • Previewing changes
        • Single-service previews
        • Preview environments (multi-service)
      • Docker deploys
        • Overview
        • Deploy a registered image
        • Using secrets
      • Runtime
        • Native runtimes
        • Environment variables & secrets
        • Default environment variables
    • Intro to sandboxes
    • Limits & pricing
      • How toโ€ฆ
        • Create & configure sandboxes
        • Execute commands
        • Upload and download files
        • Manage snapshots
      • Use withโ€ฆ
        • Claude Managed Agents
        • Cursor Cloud Agents
        • OpenAI Agents API
      • SDK/CLI reference
        • TypeScript SDK
        • Python SDK
        • CLI commands
    • Intro to workflows
    • Tutorial
    • Limits & pricing
      • How toโ€ฆ
        • Define tasks
        • Define flowsNew
        • Trigger runs
        • Develop locally
      • SDK reference
        • TypeScript SDK
        • Python SDK
      • Example workflows
        • TypeScript examples
        • Python examples
    • Overview
    • Create & connect
    • Database credentials
    • Extensions
    • Version upgrades
    • Logical replication
    • Legacy instance types
      • Database recovery
        • Recovery & backups
        • High availability
      • Database performance
        • Read replicas
        • Connection pooling
        • Admin apps
        • Repacking tables
        • Troubleshooting performance
    • Regions
    • Inbound IP rules
    • Edge caching
    • WebSockets
    • TLS certificates
      • Custom domains
        • Overview
        • Cloudflare
        • Namecheap
        • Other DNS providers
      • Internal traffic
        • Private network
        • Private links
      • Outbound traffic
        • Default IP ranges
        • Dedicated IP addresses
        • Outbound bandwidth
        • Handling network changes
      • Static site config
        • Custom response headers
        • Redirects & rewrites
    • The Render Dashboard
    • SSH / Shell access
    • Projects & environments
      • Service actions
        • Scaling
        • Rollbacks
        • Maintenance mode
        • One-off jobs
      • Infrastructure as code
        • Blueprints overview
        • render.yaml reference
        • Terraform provider
    • In-dashboard metrics
    • Health checks
    • Uptime best practices
      • Logging
        • In-dashboard logs
        • Log streams (syslog/HTTPS)
      • OpenTelemetry (OTel) metrics
        • Provider setup
        • Metrics reference
      • Notifications
        • Webhooks
        • Email / Slack
    • API keys
    • MCP Server
      • Render CLI
        • Overview
        • Command reference
      • REST API
        • Overview
        • API reference
      • Third-party connections
        • OIDC support
        • Datadog
    • Workspaces, members, & roles
    • Login settings
    • Audit logs
      • Organizations
        • Overview
        • SAML SSO
    • DDoS protection
    • Platform maintenance
      • Compliance
        • Overview
        • HIPAA (US health data)
        • HIPAA best practices
        • Shared responsibility model
        • Pentest policy
    • Heroku vs Render
    • Vercel vs Render
All Systems Operational
ยฉ Render Inc. All rights reserved.