{
    "url": "https://delaparra-services.nl/knowledge-hub/remote-backend",
    "locale": "en",
    "title": "remote backend: Knowledge hub | DeLaParra Services",
    "description": "Stores state somewhere shared (S3, Terraform Cloud, GCS) so a team isn’t passing a local file around.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/remote-backend",
        "nl": "https://delaparra-services.nl/nl/kennisbank/remote-backend"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/remote-backend.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/remote-backend.md",
        "json": "https://delaparra-services.nl/knowledge-hub/remote-backend.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/remote-backend.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/remote-backend.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/remote-backend.csv",
            "encodingFormat": "text/csv",
            "name": "remote-backend.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/remote-backend.json",
            "encodingFormat": "application/json",
            "name": "remote-backend.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/remote-backend.md",
            "encodingFormat": "text/markdown",
            "name": "remote-backend.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/remote-backend.pdf",
            "encodingFormat": "application/pdf",
            "name": "remote-backend.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/remote-backend.zip",
            "encodingFormat": "application/zip",
            "name": "remote-backend.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/remote-backend/skills.zip",
            "encodingFormat": "application/zip",
            "name": "remote-backend-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [remote backend](<https://delaparra-services.nl/knowledge-hub/remote-backend>)\n\n  \n\nCategory: Terraform \n\n# remote backend\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is remote backend?\n\n \n\nremote 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.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about remote backend\n\n  \n\n### How is remote backend used in practice?\n\n \n\nWith a local state file on one laptop, others cannot safely make changes, and losing that laptop can mean losing track of your infrastructure.\n\n    \n\n### What should you keep in mind with remote backend?\n\n \n\nChoose 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.\n\n    \n\n### What does an example of remote backend look like?\n\n \n\n```\nterraform { backend \"s3\" { bucket = \"tf-state\" key = \"prod/app.tfstate\" region = \"eu-central-1\" } }\n```\n\n \n\n## At a glance\n\n   CategoryTerraform Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Terraform terms\n\n \n\n- [provider](<https://delaparra-services.nl/knowledge-hub/provider>) \n- [provider alias](<https://delaparra-services.nl/knowledge-hub/provider-alias>) \n- [refresh](<https://delaparra-services.nl/knowledge-hub/refresh>) \n- [resource](<https://delaparra-services.nl/knowledge-hub/resource>) \n- [state file](<https://delaparra-services.nl/knowledge-hub/state-file>) \n- [state lock](<https://delaparra-services.nl/knowledge-hub/state-lock>)\n\n \n\n[All terms starting with R](<https://delaparra-services.nl/knowledge-hub#letter-r>)\n\n \n\n## Skills\n\n \n\n- ### Terraform safe workflow\n\n \n\nUse 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.\n\n [View skill](<https://delaparra-services.nl/skills/terraform-safe-workflow>) [Download zip](<https://delaparra-services.nl/skills/terraform-safe-workflow/download>) \n- ### Terraform Module Library\n\n \n\nBuild 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.\n\n [View skill](<https://delaparra-services.nl/skills/terraform-module-library>) [Download zip](<https://delaparra-services.nl/skills/terraform-module-library/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/remote-backend/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Kubernetes and Terraform: do you need them?](<https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.\n\n \n\n## Need any help?\n\n \n\nStuck 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.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/remote-backend)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/remote-backend#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/remote-backend",
                "name": "remote backend: Knowledge hub | DeLaParra Services",
                "description": "Stores state somewhere shared (S3, Terraform Cloud, GCS) so a team isn’t passing a local file around.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/remote-backend#term",
                    "name": "remote backend",
                    "description": "Stores state somewhere shared (S3, Terraform Cloud, GCS) so a team isn’t passing a local file around.",
                    "termCode": "remote-backend",
                    "url": "https://delaparra-services.nl/knowledge-hub/remote-backend",
                    "inLanguage": "en",
                    "keywords": "Terraform",
                    "dateModified": "2026-11-25T17:46:29+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/remote-backend#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/remote-backend#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/remote-backend#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is remote backend?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "How is remote backend used in practice?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "With a local state file on one laptop, others cannot safely make changes, and losing that laptop can mean losing track of your infrastructure."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with remote backend?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of remote backend look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "terraform { backend \"s3\" { bucket = \"tf-state\" key = \"prod/app.tfstate\" region = \"eu-central-1\" } }"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/terraform-safe-workflow#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/terraform-module-library#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/remote-backend#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "remote backend"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/remote-backend#dataset",
                "name": "remote backend",
                "description": "Stores state somewhere shared (S3, Terraform Cloud, GCS) so a team isn’t passing a local file around.",
                "url": "https://delaparra-services.nl/knowledge-hub/remote-backend",
                "identifier": "https://delaparra-services.nl/knowledge-hub/remote-backend#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/remote-backend#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Terraform",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:29+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "remote-backend.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/remote-backend.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "remote-backend.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/remote-backend.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "remote-backend.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/remote-backend.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "remote-backend.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/remote-backend.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "remote-backend.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/remote-backend.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "remote-backend-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/remote-backend/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}