1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [remote backend](<https://delaparra-services.nl/knowledge-hub/remote-backend>)

  

Category: Terraform 

# remote backend

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is remote backend?

 

remote backend: Stores state somewhere shared (S3, Terraform Cloud, GCS) so a team isn’t passing a local file around. A remote backend stores Terraform's state file in a shared, central place, such as an S3 bucket, Google Cloud Storage, Terraform Cloud or the HTTP backend of GitLab. Everyone on the team and the CI pipeline works with the same state.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about remote backend

  

### How is remote backend used in practice?

 

With a local state file on one laptop, others cannot safely make changes, and losing that laptop can mean losing track of your infrastructure.

    

### What should you keep in mind with remote backend?

 

Choose a backend that supports locking, so two people running ` apply ` at the same time cannot corrupt the state. Enable versioning on the storage, so you can recover from a bad change. Restrict access, because state files contain resource details and often secrets such as database passwords in plain text. Use separate state files per environment, so a mistake in staging cannot touch production.

    

### What does an example of remote backend look like?

 

```
terraform { backend "s3" { bucket = "tf-state" key = "prod/app.tfstate" region = "eu-central-1" } }
```

 

## At a glance

   CategoryTerraform Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Terraform terms

 

- [provider](<https://delaparra-services.nl/knowledge-hub/provider>) 
- [provider alias](<https://delaparra-services.nl/knowledge-hub/provider-alias>) 
- [refresh](<https://delaparra-services.nl/knowledge-hub/refresh>) 
- [resource](<https://delaparra-services.nl/knowledge-hub/resource>) 
- [state file](<https://delaparra-services.nl/knowledge-hub/state-file>) 
- [state lock](<https://delaparra-services.nl/knowledge-hub/state-lock>)

 

[All terms starting with R](<https://delaparra-services.nl/knowledge-hub#letter-r>)

 

## Skills

 

- ### Terraform safe workflow

 

Use when running or changing Terraform (or OpenTofu) - init, fmt, validate, plan, apply, destroy, import, state mv/rm, refresh, workspaces, remote backends, state locking, drift, taint/-replace. Enforces a plan-review-apply workflow and protects state.

 [View skill](<https://delaparra-services.nl/skills/terraform-safe-workflow>) [Download zip](<https://delaparra-services.nl/skills/terraform-safe-workflow/download>) 
- ### Terraform Module Library

 

Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

 [View skill](<https://delaparra-services.nl/skills/terraform-module-library>) [Download zip](<https://delaparra-services.nl/skills/terraform-module-library/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/remote-backend/skills.zip>)

 

## Manuals

 

- [Kubernetes and Terraform: do you need them?](<https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig>)

 

## Related services

 

- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)

Perhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/remote-backend)
