[{"data":1,"prerenderedAt":2103},["ShallowReactive",2],{"post-\u002Fposts\u002Fhow-to-store-terraform_state-in-digital-ocean-space":3,"post-author-garywoodfine":1711,"post-aside-video-none":6,"\u002Fposts\u002Fhow-to-store-terraform_state-in-digital-ocean-space-surround":1720,"navigation":1731,"authors":1779,"author-garywoodfine":1808,"post-aside-related-candidates":1809,"content-section-services":2079,"content-section-products":2082,"content-section-company":2085,"legal-link":2087},{"id":4,"title":5,"aside":6,"author":7,"body":8,"category":1691,"date":1692,"description":1693,"extension":1694,"featureImage":1695,"meta":1697,"navigation":350,"path":1699,"seo":1700,"sitemap":1701,"slug":6,"stem":1709,"subtitle":1693,"summary":1693,"tags":6,"updated":6,"video":6,"__hash__":1710},"posts\u002Fposts\u002Fhow-to-store-terraform_state-in-digital-ocean-space.md","How to store Terraform state in DigitalOcean Spaces",null,"garywoodfine",{"type":9,"value":10,"toc":1681},"minimark",[11,21,24,29,34,37,53,57,60,63,92,95,110,113,134,138,158,162,165,209,213,227,235,240,259,280,367,371,378,381,384,412,415,418,589,593,596,599,612,615,911,914,926,929,1236,1239,1251,1254,1661,1664,1668,1671,1674,1677],[12,13,14,15,20],"p",{},"Pushup3-Spud0\nWe have previously discussed ",[16,17,19],"a",{"href":18},".\u002Fhow-to-use-terraform-with-digitalocean","How to use Terraform with DigitalOcean",", which\nguided you through the process of configuring your local workstation to start working Digital Ocean and Terraform.",[12,22,23],{},"In this article, we are going to build on what we learned. So before we start using Terraform to create our Infrastructure\nfor our application, we are going to learn about the importance of Terraform state and how we can store state within\nDigital Ocean spaces.",[25,26],"digital-ocean",{"icon":27,"link":28},"hugeicons:api","https:\u002F\u002Fm.do.co\u002Fc\u002F93ff23d34ca8",[30,31,33],"h3",{"id":32},"what-are-digitalocean-spaces","What are DigitalOcean Spaces",[12,35,36],{},"Spaces Object Storage is, as the name implies, an object storage service. Which are DigitalOcean compatible offering,\nsimilar to AWS S3 or Azure Blob Storage buckets, enabling you too store and serve large amounts of data, and the\nbuilt-in CDN minimises page load times and improves performance. Each Spaces bucket you create within an account has\nits own URL and can be used as a logical unit for segmenting content.",[12,38,39,40,44,45,48,49,52],{},"he Spaces URL naming pattern is ",[41,42,43],"code",{},"spacename.region.digitaloceanspaces.com"," and ",[41,46,47],{},"region.digitaloceanspaces.com\u002Fspacename",",\nwhere ",[41,50,51],{},"spacename"," is the name of your Space and region is the region your Space is in.",[30,54,56],{"id":55},"what-is-terraform-state","What is Terraform state",[12,58,59],{},"Terraform state is a crucial concept in Terraform's infrastructure as code methodology. It represents the actual state\nof the infrastructure that Terraform manages.",[12,61,62],{},"Terraform state is a file that tracks the current status of the infrastructure managed by Terraform. This state file\nis essential because:",[64,65,66,74,80,86],"ul",{},[67,68,69,73],"li",{},[70,71,72],"strong",{},"Tracking Infrastructure:"," It keeps a record of all resources created, modified, or destroyed by Terraform.",[67,75,76,79],{},[70,77,78],{},"Syncing Reality with Configuration:"," It helps Terraform understand the existing state of infrastructure and\ncompare it with the desired configuration defined in the configuration files. This comparison allows Terraform to plan\nand apply only the necessary changes.",[67,81,82,85],{},[70,83,84],{},"Performance Optimisation:"," By knowing the current state, Terraform can determine the most efficient way to reach\nthe desired state, optimising the creation, modification, and destruction of resources.",[67,87,88,91],{},[70,89,90],{},"Collaboration:"," When stored remotely (e.g., in an S3 bucket or Terraform Cloud), the state file allows multiple\nteam members to collaborate safely on infrastructure changes without conflicts.",[12,93,94],{},"The state file should be handled securely and backed up, as it contains sensitive information about the infrastructure and is integral to Terraform's operation.",[12,96,97,98,101,102,105,106,109],{},"The state file is updated whenever you run a Terraform command, such as ",[41,99,100],{},"terraform apply",", ",[41,103,104],{},"terraform plan",", or ",[41,107,108],{},"terraform  destroy",". This ensures that the state file remains synchronised with the actual infrastructure.",[12,111,112],{},"Key benefits of Terraform State:",[114,115,116,122,128],"ol",{},[67,117,118,121],{},[70,119,120],{},"Version control:"," The state file provides a single source of truth for your infrastructure’s state, making it\neasier to manage and track changes.",[67,123,124,127],{},[70,125,126],{},"Consistency:"," Terraform ensures that the infrastructure is in the desired state by comparing the state file with\nthe actual resources.",[67,129,130,133],{},[70,131,132],{},"Idempotence:"," Terraform’s state-based approach allows for safe and repeatable deployments, as it only applies\nnecessary changes.",[30,135,137],{"id":136},"best-practices-for-managing-terraform-state","Best practices for managing Terraform State",[114,139,140,146,152],{},[67,141,142,145],{},[70,143,144],{},"Store state files remotely:"," Use a backend like Amazon S3, Azure Blob Storage, or HashiCorp’s Terraform Cloud to\nstore state files, ensuring they are not version-controlled and avoiding potential conflicts.",[67,147,148,151],{},[70,149,150],{},"Use locking mechanisms:"," Implement locking mechanisms, such as DynamoDB or etcd, to prevent concurrent\nmodifications to the state file.",[67,153,154,157],{},[70,155,156],{},"Regularly back up state files:"," Store backups of state files to ensure data integrity and availability.",[30,159,161],{"id":160},"why-use-spaces-for-terraform-state","Why use Spaces for Terraform state",[12,163,164],{},"Using DigitalOcean Spaces for Terraform state storage ensures that your state files are safely stored, easily\naccessible, and securely managed, supporting efficient infrastructure as code workflows.",[64,166,167,173,179,185,191,197,203],{},[67,168,169,172],{},[70,170,171],{},"Reliability:"," DigitalOcean Spaces provides a highly available and durable object storage solution, ensuring\nthat your Terraform state files are safe and resistant to data loss.",[67,174,175,178],{},[70,176,177],{},"Scalability:"," Spaces can handle huge amounts of data, supporting the growth of your infrastructure without any\nperformance degradation.",[67,180,181,184],{},[70,182,183],{},"Accessibility:"," State files stored in Spaces can be easily accessed and managed from anywhere, facilitating\nremote collaboration among team members working on the same infrastructure.",[67,186,187,190],{},[70,188,189],{},"Versioning:"," Spaces supports versioning, enabling you to keep track of changes to your state file over time\nand revert to previous versions if needed.",[67,192,193,196],{},[70,194,195],{},"Security:"," With fine-grained access controls, encryption at rest, and in transit, DigitalOcean Spaces helps protect\nsensitive information contained within your state files.",[67,198,199,202],{},[70,200,201],{},"Integration:"," Terraform can natively interact with Spaces using backend configurations, making setup\nstraightforward.",[67,204,205,208],{},[70,206,207],{},"Cost-Effective:"," DigitalOcean Spaces offers competitively priced storage, making it an economical choice for\nstate file management without compromising on features.",[30,210,212],{"id":211},"how-to-create-digital-ocean-spaces","How to create Digital Ocean Spaces",[12,214,215,216,221,222],{},"In order to create a DigitalOcean spaces object store you will need a ",[16,217,220],{"href":28,"rel":218},[219],"nofollow","DigitalOcean Account",".\nOnce you have an account you can follow the instructions on their great documentation portal ",[16,223,226],{"href":224,"rel":225},"https:\u002F\u002Fdocs.digitalocean.com\u002Fproducts\u002Fspaces\u002Fhow-to\u002Fcreate\u002F",[219],"How to Create a Spaces Bucket",[12,228,229,230],{},"Once you have created your spaces object, then you just need to assign Spaces Keys in the ",[16,231,234],{"href":232,"rel":233},"https:\u002F\u002Fcloud.digitalocean.com\u002Faccount\u002Fapi\u002Fspaces",[219],"Applications & API section",[236,237],"content-image",{"image":238,"title":239},"digitalocena-spaces-keys_jdym5z","DigitalOcean Applications & API",[12,241,242,243,246,247,250,251,254,255,258],{},"Once you have created your keys you can write them you to ",[41,244,245],{},".bash_variables"," file we created in ",[16,248,19],{"href":249},"how-to-use-terraform-with-digitalocean","\ncopying both the  Access Key and Secret key. However, because DigitalOcean Spaces are S3 Compatible, you'll notice\nwe named the Environment Variables ",[41,252,253],{},"AWS_ACCESS_KEY_ID"," & ",[41,256,257],{},"AWS_SECRET_ACCESS_KEY",".",[260,261,262,269],"quote",{},[12,263,264,265,268],{},"Terraform uses ",[41,266,267],{},"AWS_..."," environment variables for all S3-compatible backend providers. Export your keys to your current\nshell environment",[270,271,273],"template",{"v-slot:citation":272},"",[12,274,275],{},[16,276,279],{"href":277,"rel":278},"https:\u002F\u002Fdocs.digitalocean.com\u002Fproducts\u002Fspaces\u002Freference\u002Fterraform-backend\u002F",[219],"How to Use DigitalOcean Spaces as a Terraform Remote State Backend",[281,282,288],"pre",{"className":283,"code":284,"filename":285,"language":286,"meta":287,"style":272},"language-shell shiki shiki-themes material-theme-lighter monokai monokai monokai","echo \"export AWS_ACCESS_KEY_ID=\u003Cpaste your token here>\" | tee -a .bash_variables\necho \"export AWS_SECRET_ACCESS_KEY=\u003Cpaste your token here>\" | tee -a .bash_variables\n\n### remember to source your current terminal \n. ~\u002F.bashrc\n","Terminal","shell","meta-info=val",[41,289,290,325,345,352,359],{"__ignoreMap":272},[291,292,295,299,303,307,310,314,318,322],"span",{"class":293,"line":294},"line",1,[291,296,298],{"class":297},"sSYhn","echo",[291,300,302],{"class":301},"sxJtY"," \"",[291,304,306],{"class":305},"sKdu0","export AWS_ACCESS_KEY_ID=\u003Cpaste your token here>",[291,308,309],{"class":301},"\"",[291,311,313],{"class":312},"sb10O"," |",[291,315,317],{"class":316},"sC-bC"," tee",[291,319,321],{"class":320},"sbSe9"," -a",[291,323,324],{"class":305}," .bash_variables\n",[291,326,328,330,332,335,337,339,341,343],{"class":293,"line":327},2,[291,329,298],{"class":297},[291,331,302],{"class":301},[291,333,334],{"class":305},"export AWS_SECRET_ACCESS_KEY=\u003Cpaste your token here>",[291,336,309],{"class":301},[291,338,313],{"class":312},[291,340,317],{"class":316},[291,342,321],{"class":320},[291,344,324],{"class":305},[291,346,348],{"class":293,"line":347},3,[291,349,351],{"emptyLinePlaceholder":350},true,"\n",[291,353,355],{"class":293,"line":354},4,[291,356,358],{"class":357},"sw-b4","### remember to source your current terminal \n",[291,360,362,364],{"class":293,"line":361},5,[291,363,258],{"class":297},[291,365,366],{"class":305}," ~\u002F.bashrc\n",[30,368,370],{"id":369},"how-to-start-using-digitalocean-spaces-for-your-terraform-state","How to start using DigitalOcean spaces for your terraform state",[12,372,373,374,377],{},"We can now create a really simple Terraform project to test this out. Lets create a new file.  Which we will call\n",[41,375,376],{},"main.tf",".  Once you've created the file add the code below to it.",[12,379,380],{},"We're not going to do anything too fancy here, all we're doing is configuring the Terraform provider, then we\ndefine the remote state using the S3 Driver,",[12,382,383],{},"By providing the 3 values",[64,385,386,392,398],{},[67,387,388,391],{},[70,389,390],{},"s3:"," Update with the region of your bucket",[67,393,394,397],{},[70,395,396],{},"bucket:"," name of your bucket.",[67,399,400,403,404,407,408,411],{},[70,401,402],{},"key:"," This is the filename your Terraform state is stored under. In many S3-compatible clients, these are\ntreated as file paths and can contain forward slashes (\u002F) for directories and periods for file extensions. For example,\na value of ",[41,405,406],{},"test\u002Fexample.tfstate"," would place an ",[41,409,410],{},"example.tfstate ","file inside the test directory in the root of your bucket.",[12,413,414],{},"We also provide some AWS specific value overrides to basically deactivate them.",[12,416,417],{},"Lastly, we are going to create a really simple tag in our environment. A Tag is a label that can be applied to a\nDroplet resource in order to better organise or facilitate the lookups and actions on it.",[281,419,424],{"className":420,"code":421,"filename":422,"language":423,"meta":287,"style":272},"language-tf shiki shiki-themes material-theme-lighter monokai monokai monokai","terraform {\n  required_providers {\n    digitalocean = {\n      source  = \"digitalocean\u002Fdigitalocean\"\n      version = \"~> 2.0\"\n    }\n  }\n   backend \"s3\" {\n      endpoints = {\n        s3 = \"https:\u002F\u002Fams3.digitaloceanspaces.com\"\n      }\n\n      bucket = \"threenine-terraform-state\"\n      key    = \"threenine.tfstate\"\n\n      # Deactivate a few AWS-specific checks\n      skip_credentials_validation = true\n      skip_requesting_account_id  = true\n      skip_metadata_api_check     = true\n      skip_region_validation      = true\n      skip_s3_checksum            = true\n      region                      = \"us-east-1\"\n    }\n  }\n\n  resource \"digitalocean_tag\" \"foobar\" {\n    name = \"foobar\"\n  }\n}\n\n","providers.tf","tf",[41,425,426,431,436,441,446,451,457,463,469,475,481,487,492,498,504,509,515,521,527,533,539,545,551,556,561,566,572,578,583],{"__ignoreMap":272},[291,427,428],{"class":293,"line":294},[291,429,430],{},"terraform {\n",[291,432,433],{"class":293,"line":327},[291,434,435],{},"  required_providers {\n",[291,437,438],{"class":293,"line":347},[291,439,440],{},"    digitalocean = {\n",[291,442,443],{"class":293,"line":354},[291,444,445],{},"      source  = \"digitalocean\u002Fdigitalocean\"\n",[291,447,448],{"class":293,"line":361},[291,449,450],{},"      version = \"~> 2.0\"\n",[291,452,454],{"class":293,"line":453},6,[291,455,456],{},"    }\n",[291,458,460],{"class":293,"line":459},7,[291,461,462],{},"  }\n",[291,464,466],{"class":293,"line":465},8,[291,467,468],{},"   backend \"s3\" {\n",[291,470,472],{"class":293,"line":471},9,[291,473,474],{},"      endpoints = {\n",[291,476,478],{"class":293,"line":477},10,[291,479,480],{},"        s3 = \"https:\u002F\u002Fams3.digitaloceanspaces.com\"\n",[291,482,484],{"class":293,"line":483},11,[291,485,486],{},"      }\n",[291,488,490],{"class":293,"line":489},12,[291,491,351],{"emptyLinePlaceholder":350},[291,493,495],{"class":293,"line":494},13,[291,496,497],{},"      bucket = \"threenine-terraform-state\"\n",[291,499,501],{"class":293,"line":500},14,[291,502,503],{},"      key    = \"threenine.tfstate\"\n",[291,505,507],{"class":293,"line":506},15,[291,508,351],{"emptyLinePlaceholder":350},[291,510,512],{"class":293,"line":511},16,[291,513,514],{},"      # Deactivate a few AWS-specific checks\n",[291,516,518],{"class":293,"line":517},17,[291,519,520],{},"      skip_credentials_validation = true\n",[291,522,524],{"class":293,"line":523},18,[291,525,526],{},"      skip_requesting_account_id  = true\n",[291,528,530],{"class":293,"line":529},19,[291,531,532],{},"      skip_metadata_api_check     = true\n",[291,534,536],{"class":293,"line":535},20,[291,537,538],{},"      skip_region_validation      = true\n",[291,540,542],{"class":293,"line":541},21,[291,543,544],{},"      skip_s3_checksum            = true\n",[291,546,548],{"class":293,"line":547},22,[291,549,550],{},"      region                      = \"us-east-1\"\n",[291,552,554],{"class":293,"line":553},23,[291,555,456],{},[291,557,559],{"class":293,"line":558},24,[291,560,462],{},[291,562,564],{"class":293,"line":563},25,[291,565,351],{"emptyLinePlaceholder":350},[291,567,569],{"class":293,"line":568},26,[291,570,571],{},"  resource \"digitalocean_tag\" \"foobar\" {\n",[291,573,575],{"class":293,"line":574},27,[291,576,577],{},"    name = \"foobar\"\n",[291,579,581],{"class":293,"line":580},28,[291,582,462],{},[291,584,586],{"class":293,"line":585},29,[291,587,588],{},"}\n",[30,590,592],{"id":591},"initialise-and-apply-the-terraform-configuration","Initialise and Apply the Terraform Configuration",[12,594,595],{},"In order to test that this all works and that our Remote state will be created, we will run our typical terraform commands",[12,597,598],{},"First, we will initialise our configuration using",[281,600,602],{"className":283,"code":601,"filename":285,"language":286,"meta":287,"style":272},"terraform init\n",[41,603,604],{"__ignoreMap":272},[291,605,606,609],{"class":293,"line":294},[291,607,608],{"class":316},"terraform",[291,610,611],{"class":305}," init\n",[12,613,614],{},"This should return something similar to the below confirming that we were able to initialise our configuration.",[281,616,618],{"className":283,"code":617,"filename":285,"language":286,"meta":287,"style":272},"Initializing the backend...\nInitializing provider plugins...\n- Reusing previous version of digitalocean\u002Fdigitalocean from the dependency lock file\n- Using previously-installed digitalocean\u002Fdigitalocean v2.42.0\n\nTerraform has been successfully initialized!\n\nYou may now begin working with Terraform. Try running \"terraform plan\" to see\nany changes that are required for your infrastructure. All Terraform commands\nshould now work.\n\nIf you ever set or change modules or backend configuration for Terraform,\nrerun this command to reinitialize your working directory. If you forget, other\ncommands will detect it and remind you to do so if necessary.\n",[41,619,620,631,641,675,690,694,711,715,756,791,801,805,841,875],{"__ignoreMap":272},[291,621,622,625,628],{"class":293,"line":294},[291,623,624],{"class":316},"Initializing",[291,626,627],{"class":305}," the",[291,629,630],{"class":305}," backend...\n",[291,632,633,635,638],{"class":293,"line":327},[291,634,624],{"class":316},[291,636,637],{"class":305}," provider",[291,639,640],{"class":305}," plugins...\n",[291,642,643,646,649,652,655,658,661,664,666,669,672],{"class":293,"line":347},[291,644,645],{"class":316},"-",[291,647,648],{"class":305}," Reusing",[291,650,651],{"class":305}," previous",[291,653,654],{"class":305}," version",[291,656,657],{"class":305}," of",[291,659,660],{"class":305}," digitalocean\u002Fdigitalocean",[291,662,663],{"class":305}," from",[291,665,627],{"class":305},[291,667,668],{"class":305}," dependency",[291,670,671],{"class":305}," lock",[291,673,674],{"class":305}," file\n",[291,676,677,679,682,685,687],{"class":293,"line":354},[291,678,645],{"class":316},[291,680,681],{"class":305}," Using",[291,683,684],{"class":305}," previously-installed",[291,686,660],{"class":305},[291,688,689],{"class":305}," v2.42.0\n",[291,691,692],{"class":293,"line":361},[291,693,351],{"emptyLinePlaceholder":350},[291,695,696,699,702,705,708],{"class":293,"line":453},[291,697,698],{"class":316},"Terraform",[291,700,701],{"class":305}," has",[291,703,704],{"class":305}," been",[291,706,707],{"class":305}," successfully",[291,709,710],{"class":305}," initialized!\n",[291,712,713],{"class":293,"line":459},[291,714,351],{"emptyLinePlaceholder":350},[291,716,717,720,723,726,729,732,735,738,741,744,746,748,750,753],{"class":293,"line":465},[291,718,719],{"class":316},"You",[291,721,722],{"class":305}," may",[291,724,725],{"class":305}," now",[291,727,728],{"class":305}," begin",[291,730,731],{"class":305}," working",[291,733,734],{"class":305}," with",[291,736,737],{"class":305}," Terraform.",[291,739,740],{"class":305}," Try",[291,742,743],{"class":305}," running",[291,745,302],{"class":301},[291,747,104],{"class":305},[291,749,309],{"class":301},[291,751,752],{"class":305}," to",[291,754,755],{"class":305}," see\n",[291,757,758,761,764,767,770,773,776,779,782,785,788],{"class":293,"line":471},[291,759,760],{"class":316},"any",[291,762,763],{"class":305}," changes",[291,765,766],{"class":305}," that",[291,768,769],{"class":305}," are",[291,771,772],{"class":305}," required",[291,774,775],{"class":305}," for",[291,777,778],{"class":305}," your",[291,780,781],{"class":305}," infrastructure.",[291,783,784],{"class":305}," All",[291,786,787],{"class":305}," Terraform",[291,789,790],{"class":305}," commands\n",[291,792,793,796,798],{"class":293,"line":477},[291,794,795],{"class":316},"should",[291,797,725],{"class":305},[291,799,800],{"class":305}," work.\n",[291,802,803],{"class":293,"line":483},[291,804,351],{"emptyLinePlaceholder":350},[291,806,807,810,813,816,819,822,825,828,830,833,836,838],{"class":293,"line":489},[291,808,809],{"class":316},"If",[291,811,812],{"class":305}," you",[291,814,815],{"class":305}," ever",[291,817,818],{"class":305}," set",[291,820,821],{"class":305}," or",[291,823,824],{"class":305}," change",[291,826,827],{"class":305}," modules",[291,829,821],{"class":305},[291,831,832],{"class":305}," backend",[291,834,835],{"class":305}," configuration",[291,837,775],{"class":305},[291,839,840],{"class":305}," Terraform,\n",[291,842,843,846,849,852,854,857,859,861,864,867,869,872],{"class":293,"line":494},[291,844,845],{"class":316},"rerun",[291,847,848],{"class":305}," this",[291,850,851],{"class":305}," command",[291,853,752],{"class":305},[291,855,856],{"class":305}," reinitialize",[291,858,778],{"class":305},[291,860,731],{"class":305},[291,862,863],{"class":305}," directory.",[291,865,866],{"class":305}," If",[291,868,812],{"class":305},[291,870,871],{"class":305}," forget,",[291,873,874],{"class":305}," other\n",[291,876,877,880,883,886,889,892,895,897,899,902,905,908],{"class":293,"line":500},[291,878,879],{"class":316},"commands",[291,881,882],{"class":305}," will",[291,884,885],{"class":305}," detect",[291,887,888],{"class":305}," it",[291,890,891],{"class":305}," and",[291,893,894],{"class":305}," remind",[291,896,812],{"class":305},[291,898,752],{"class":305},[291,900,901],{"class":305}," do",[291,903,904],{"class":305}," so",[291,906,907],{"class":305}," if",[291,909,910],{"class":305}," necessary.\n",[12,912,913],{},"We can then execute our plan to verify what we are going to create",[281,915,917],{"className":283,"code":916,"filename":285,"language":286,"meta":287,"style":272},"terraform plan\n",[41,918,919],{"__ignoreMap":272},[291,920,921,923],{"class":293,"line":294},[291,922,608],{"class":316},[291,924,925],{"class":305}," plan\n",[12,927,928],{},"which should return something similar to the below confirming resources we are going to create.",[281,930,932],{"className":283,"code":931,"filename":285,"language":286,"meta":287,"style":272},"\nTerraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:\n  + create\n\nTerraform will perform the following actions:\n\n  # digitalocean_tag.foobar will be created\n  + resource \"digitalocean_tag\" \"foobar\" {\n      + databases_count        = (known after apply)\n      + droplets_count         = (known after apply)\n      + id                     = (known after apply)\n      + images_count           = (known after apply)\n      + name                   = \"foobar\"\n      + total_resource_count   = (known after apply)\n      + volume_snapshots_count = (known after apply)\n      + volumes_count          = (known after apply)\n    }\n\nPlan: 1 to add, 0 to change, 0 to destroy.\n\n",[41,933,934,938,989,997,1001,1017,1021,1026,1050,1074,1092,1110,1128,1145,1163,1181,1199,1203,1207],{"__ignoreMap":272},[291,935,936],{"class":293,"line":294},[291,937,351],{"emptyLinePlaceholder":350},[291,939,940,942,945,947,950,953,955,958,960,963,966,969,972,975,977,980,982,984,986],{"class":293,"line":327},[291,941,698],{"class":316},[291,943,944],{"class":305}," used",[291,946,627],{"class":305},[291,948,949],{"class":305}," selected",[291,951,952],{"class":305}," providers",[291,954,752],{"class":305},[291,956,957],{"class":305}," generate",[291,959,627],{"class":305},[291,961,962],{"class":305}," following",[291,964,965],{"class":305}," execution",[291,967,968],{"class":305}," plan.",[291,970,971],{"class":305}," Resource",[291,973,974],{"class":305}," actions",[291,976,769],{"class":305},[291,978,979],{"class":305}," indicated",[291,981,734],{"class":305},[291,983,627],{"class":305},[291,985,962],{"class":305},[291,987,988],{"class":305}," symbols:\n",[291,990,991,994],{"class":293,"line":347},[291,992,993],{"class":316},"  +",[291,995,996],{"class":305}," create\n",[291,998,999],{"class":293,"line":354},[291,1000,351],{"emptyLinePlaceholder":350},[291,1002,1003,1005,1007,1010,1012,1014],{"class":293,"line":361},[291,1004,698],{"class":316},[291,1006,882],{"class":305},[291,1008,1009],{"class":305}," perform",[291,1011,627],{"class":305},[291,1013,962],{"class":305},[291,1015,1016],{"class":305}," actions:\n",[291,1018,1019],{"class":293,"line":453},[291,1020,351],{"emptyLinePlaceholder":350},[291,1022,1023],{"class":293,"line":459},[291,1024,1025],{"class":357},"  # digitalocean_tag.foobar will be created\n",[291,1027,1028,1030,1033,1035,1038,1040,1042,1045,1047],{"class":293,"line":465},[291,1029,993],{"class":316},[291,1031,1032],{"class":305}," resource",[291,1034,302],{"class":301},[291,1036,1037],{"class":305},"digitalocean_tag",[291,1039,309],{"class":301},[291,1041,302],{"class":301},[291,1043,1044],{"class":305},"foobar",[291,1046,309],{"class":301},[291,1048,1049],{"class":305}," {\n",[291,1051,1052,1055,1058,1061,1065,1068,1071],{"class":293,"line":471},[291,1053,1054],{"class":316},"      +",[291,1056,1057],{"class":305}," databases_count",[291,1059,1060],{"class":305},"        =",[291,1062,1064],{"class":1063},"sRVMn"," (known ",[291,1066,1067],{"class":305},"after",[291,1069,1070],{"class":305}," apply",[291,1072,1073],{"class":1063},")\n",[291,1075,1076,1078,1081,1084,1086,1088,1090],{"class":293,"line":477},[291,1077,1054],{"class":316},[291,1079,1080],{"class":305}," droplets_count",[291,1082,1083],{"class":305},"         =",[291,1085,1064],{"class":1063},[291,1087,1067],{"class":305},[291,1089,1070],{"class":305},[291,1091,1073],{"class":1063},[291,1093,1094,1096,1099,1102,1104,1106,1108],{"class":293,"line":483},[291,1095,1054],{"class":316},[291,1097,1098],{"class":305}," id",[291,1100,1101],{"class":305},"                     =",[291,1103,1064],{"class":1063},[291,1105,1067],{"class":305},[291,1107,1070],{"class":305},[291,1109,1073],{"class":1063},[291,1111,1112,1114,1117,1120,1122,1124,1126],{"class":293,"line":489},[291,1113,1054],{"class":316},[291,1115,1116],{"class":305}," images_count",[291,1118,1119],{"class":305},"           =",[291,1121,1064],{"class":1063},[291,1123,1067],{"class":305},[291,1125,1070],{"class":305},[291,1127,1073],{"class":1063},[291,1129,1130,1132,1135,1138,1140,1142],{"class":293,"line":494},[291,1131,1054],{"class":316},[291,1133,1134],{"class":305}," name",[291,1136,1137],{"class":305},"                   =",[291,1139,302],{"class":301},[291,1141,1044],{"class":305},[291,1143,1144],{"class":301},"\"\n",[291,1146,1147,1149,1152,1155,1157,1159,1161],{"class":293,"line":500},[291,1148,1054],{"class":316},[291,1150,1151],{"class":305}," total_resource_count",[291,1153,1154],{"class":305},"   =",[291,1156,1064],{"class":1063},[291,1158,1067],{"class":305},[291,1160,1070],{"class":305},[291,1162,1073],{"class":1063},[291,1164,1165,1167,1170,1173,1175,1177,1179],{"class":293,"line":506},[291,1166,1054],{"class":316},[291,1168,1169],{"class":305}," volume_snapshots_count",[291,1171,1172],{"class":305}," =",[291,1174,1064],{"class":1063},[291,1176,1067],{"class":305},[291,1178,1070],{"class":305},[291,1180,1073],{"class":1063},[291,1182,1183,1185,1188,1191,1193,1195,1197],{"class":293,"line":511},[291,1184,1054],{"class":316},[291,1186,1187],{"class":305}," volumes_count",[291,1189,1190],{"class":305},"          =",[291,1192,1064],{"class":1063},[291,1194,1067],{"class":305},[291,1196,1070],{"class":305},[291,1198,1073],{"class":1063},[291,1200,1201],{"class":293,"line":517},[291,1202,456],{"class":1063},[291,1204,1205],{"class":293,"line":523},[291,1206,351],{"emptyLinePlaceholder":350},[291,1208,1209,1212,1216,1218,1221,1224,1226,1229,1231,1233],{"class":293,"line":529},[291,1210,1211],{"class":316},"Plan:",[291,1213,1215],{"class":1214},"so6kZ"," 1",[291,1217,752],{"class":305},[291,1219,1220],{"class":305}," add,",[291,1222,1223],{"class":1214}," 0",[291,1225,752],{"class":305},[291,1227,1228],{"class":305}," change,",[291,1230,1223],{"class":1214},[291,1232,752],{"class":305},[291,1234,1235],{"class":305}," destroy.\n",[12,1237,1238],{},"We can now apply our plan",[281,1240,1242],{"className":283,"code":1241,"filename":285,"language":286,"meta":287,"style":272},"terraform apply\n",[41,1243,1244],{"__ignoreMap":272},[291,1245,1246,1248],{"class":293,"line":294},[291,1247,608],{"class":316},[291,1249,1250],{"class":305}," apply\n",[12,1252,1253],{},"Which should confirm the execution of our plan",[281,1255,1257],{"className":283,"code":1256,"filename":285,"language":286,"meta":287,"style":272},"\nTerraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:\n  + create\n\nTerraform will perform the following actions:\n\n  # digitalocean_tag.foobar will be created\n  + resource \"digitalocean_tag\" \"foobar\" {\n      + databases_count        = (known after apply)\n      + droplets_count         = (known after apply)\n      + id                     = (known after apply)\n      + images_count           = (known after apply)\n      + name                   = \"foobar\"\n      + total_resource_count   = (known after apply)\n      + volume_snapshots_count = (known after apply)\n      + volumes_count          = (known after apply)\n    }\n\nPlan: 1 to add, 0 to change, 0 to destroy.\n\nDo you want to perform these actions?\n  Terraform will perform the actions described above.\n  Only 'yes' will be accepted to approve.\n\n  Enter a value: yes\n\ndigitalocean_tag.foobar: Creating...\ndigitalocean_tag.foobar: Creation complete after 1s [id=foobar]\n\nApply complete! Resources: 1 added, 0 changed, 0 destroyed.\n",[41,1258,1259,1263,1303,1309,1313,1327,1331,1335,1355,1371,1387,1403,1419,1433,1449,1465,1481,1485,1489,1511,1515,1535,1554,1581,1585,1599,1603,1611,1630,1634],{"__ignoreMap":272},[291,1260,1261],{"class":293,"line":294},[291,1262,351],{"emptyLinePlaceholder":350},[291,1264,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1289,1291,1293,1295,1297,1299,1301],{"class":293,"line":327},[291,1266,698],{"class":316},[291,1268,944],{"class":305},[291,1270,627],{"class":305},[291,1272,949],{"class":305},[291,1274,952],{"class":305},[291,1276,752],{"class":305},[291,1278,957],{"class":305},[291,1280,627],{"class":305},[291,1282,962],{"class":305},[291,1284,965],{"class":305},[291,1286,968],{"class":305},[291,1288,971],{"class":305},[291,1290,974],{"class":305},[291,1292,769],{"class":305},[291,1294,979],{"class":305},[291,1296,734],{"class":305},[291,1298,627],{"class":305},[291,1300,962],{"class":305},[291,1302,988],{"class":305},[291,1304,1305,1307],{"class":293,"line":347},[291,1306,993],{"class":316},[291,1308,996],{"class":305},[291,1310,1311],{"class":293,"line":354},[291,1312,351],{"emptyLinePlaceholder":350},[291,1314,1315,1317,1319,1321,1323,1325],{"class":293,"line":361},[291,1316,698],{"class":316},[291,1318,882],{"class":305},[291,1320,1009],{"class":305},[291,1322,627],{"class":305},[291,1324,962],{"class":305},[291,1326,1016],{"class":305},[291,1328,1329],{"class":293,"line":453},[291,1330,351],{"emptyLinePlaceholder":350},[291,1332,1333],{"class":293,"line":459},[291,1334,1025],{"class":357},[291,1336,1337,1339,1341,1343,1345,1347,1349,1351,1353],{"class":293,"line":465},[291,1338,993],{"class":316},[291,1340,1032],{"class":305},[291,1342,302],{"class":301},[291,1344,1037],{"class":305},[291,1346,309],{"class":301},[291,1348,302],{"class":301},[291,1350,1044],{"class":305},[291,1352,309],{"class":301},[291,1354,1049],{"class":305},[291,1356,1357,1359,1361,1363,1365,1367,1369],{"class":293,"line":471},[291,1358,1054],{"class":316},[291,1360,1057],{"class":305},[291,1362,1060],{"class":305},[291,1364,1064],{"class":1063},[291,1366,1067],{"class":305},[291,1368,1070],{"class":305},[291,1370,1073],{"class":1063},[291,1372,1373,1375,1377,1379,1381,1383,1385],{"class":293,"line":477},[291,1374,1054],{"class":316},[291,1376,1080],{"class":305},[291,1378,1083],{"class":305},[291,1380,1064],{"class":1063},[291,1382,1067],{"class":305},[291,1384,1070],{"class":305},[291,1386,1073],{"class":1063},[291,1388,1389,1391,1393,1395,1397,1399,1401],{"class":293,"line":483},[291,1390,1054],{"class":316},[291,1392,1098],{"class":305},[291,1394,1101],{"class":305},[291,1396,1064],{"class":1063},[291,1398,1067],{"class":305},[291,1400,1070],{"class":305},[291,1402,1073],{"class":1063},[291,1404,1405,1407,1409,1411,1413,1415,1417],{"class":293,"line":489},[291,1406,1054],{"class":316},[291,1408,1116],{"class":305},[291,1410,1119],{"class":305},[291,1412,1064],{"class":1063},[291,1414,1067],{"class":305},[291,1416,1070],{"class":305},[291,1418,1073],{"class":1063},[291,1420,1421,1423,1425,1427,1429,1431],{"class":293,"line":494},[291,1422,1054],{"class":316},[291,1424,1134],{"class":305},[291,1426,1137],{"class":305},[291,1428,302],{"class":301},[291,1430,1044],{"class":305},[291,1432,1144],{"class":301},[291,1434,1435,1437,1439,1441,1443,1445,1447],{"class":293,"line":500},[291,1436,1054],{"class":316},[291,1438,1151],{"class":305},[291,1440,1154],{"class":305},[291,1442,1064],{"class":1063},[291,1444,1067],{"class":305},[291,1446,1070],{"class":305},[291,1448,1073],{"class":1063},[291,1450,1451,1453,1455,1457,1459,1461,1463],{"class":293,"line":506},[291,1452,1054],{"class":316},[291,1454,1169],{"class":305},[291,1456,1172],{"class":305},[291,1458,1064],{"class":1063},[291,1460,1067],{"class":305},[291,1462,1070],{"class":305},[291,1464,1073],{"class":1063},[291,1466,1467,1469,1471,1473,1475,1477,1479],{"class":293,"line":511},[291,1468,1054],{"class":316},[291,1470,1187],{"class":305},[291,1472,1190],{"class":305},[291,1474,1064],{"class":1063},[291,1476,1067],{"class":305},[291,1478,1070],{"class":305},[291,1480,1073],{"class":1063},[291,1482,1483],{"class":293,"line":517},[291,1484,456],{"class":1063},[291,1486,1487],{"class":293,"line":523},[291,1488,351],{"emptyLinePlaceholder":350},[291,1490,1491,1493,1495,1497,1499,1501,1503,1505,1507,1509],{"class":293,"line":529},[291,1492,1211],{"class":316},[291,1494,1215],{"class":1214},[291,1496,752],{"class":305},[291,1498,1220],{"class":305},[291,1500,1223],{"class":1214},[291,1502,752],{"class":305},[291,1504,1228],{"class":305},[291,1506,1223],{"class":1214},[291,1508,752],{"class":305},[291,1510,1235],{"class":305},[291,1512,1513],{"class":293,"line":535},[291,1514,351],{"emptyLinePlaceholder":350},[291,1516,1517,1520,1522,1525,1527,1529,1532],{"class":293,"line":541},[291,1518,1519],{"class":316},"Do",[291,1521,812],{"class":305},[291,1523,1524],{"class":305}," want",[291,1526,752],{"class":305},[291,1528,1009],{"class":305},[291,1530,1531],{"class":305}," these",[291,1533,1534],{"class":305}," actions?\n",[291,1536,1537,1540,1542,1544,1546,1548,1551],{"class":293,"line":547},[291,1538,1539],{"class":316},"  Terraform",[291,1541,882],{"class":305},[291,1543,1009],{"class":305},[291,1545,627],{"class":305},[291,1547,974],{"class":305},[291,1549,1550],{"class":305}," described",[291,1552,1553],{"class":305}," above.\n",[291,1555,1556,1559,1562,1565,1568,1570,1573,1576,1578],{"class":293,"line":553},[291,1557,1558],{"class":316},"  Only",[291,1560,1561],{"class":301}," '",[291,1563,1564],{"class":305},"yes",[291,1566,1567],{"class":301},"'",[291,1569,882],{"class":305},[291,1571,1572],{"class":305}," be",[291,1574,1575],{"class":305}," accepted",[291,1577,752],{"class":305},[291,1579,1580],{"class":305}," approve.\n",[291,1582,1583],{"class":293,"line":558},[291,1584,351],{"emptyLinePlaceholder":350},[291,1586,1587,1590,1593,1596],{"class":293,"line":563},[291,1588,1589],{"class":316},"  Enter",[291,1591,1592],{"class":305}," a",[291,1594,1595],{"class":305}," value:",[291,1597,1598],{"class":305}," yes\n",[291,1600,1601],{"class":293,"line":568},[291,1602,351],{"emptyLinePlaceholder":350},[291,1604,1605,1608],{"class":293,"line":574},[291,1606,1607],{"class":316},"digitalocean_tag.foobar:",[291,1609,1610],{"class":305}," Creating...\n",[291,1612,1613,1615,1618,1621,1624,1627],{"class":293,"line":580},[291,1614,1607],{"class":316},[291,1616,1617],{"class":305}," Creation",[291,1619,1620],{"class":305}," complete",[291,1622,1623],{"class":305}," after",[291,1625,1626],{"class":305}," 1s",[291,1628,1629],{"class":1063}," [id=foobar]\n",[291,1631,1632],{"class":293,"line":585},[291,1633,351],{"emptyLinePlaceholder":350},[291,1635,1637,1640,1643,1646,1648,1651,1653,1656,1658],{"class":293,"line":1636},30,[291,1638,1639],{"class":316},"Apply",[291,1641,1642],{"class":305}," complete!",[291,1644,1645],{"class":305}," Resources:",[291,1647,1215],{"class":1214},[291,1649,1650],{"class":305}," added,",[291,1652,1223],{"class":1214},[291,1654,1655],{"class":305}," changed,",[291,1657,1223],{"class":1214},[291,1659,1660],{"class":305}," destroyed.\n",[12,1662,1663],{},"After your plan is completed you should now be able to navigate to the DigitalOcean spaces store and see your shiny new\nstate file has been created.",[30,1665,1667],{"id":1666},"summary","Summary",[12,1669,1670],{},"We provided a detailed guide on storing Terraform state files in DigitalOcean Spaces, an object storage service similar\nto AWS S3 or Azure Blob Storage. The post starts by explaining DigitalOcean Spaces' capabilities, such as data storage\nand serving, and the benefits of using its built-in CDN for improved performance.",[12,1672,1673],{},"The article then delves into the importance of Terraform state, which keeps track of the infrastructure managed by\nTerraform, ensuring synchronisation between the actual and desired states of the infrastructure. Key benefits of\nmaintaining Terraform state include tracking infrastructure, ensuring configuration consistency, optimising performance,\nand facilitating team collaboration.",[12,1675,1676],{},"Best practices for managing Terraform state are highlighted, such as storing state files remotely to ensure security\nand accessibility. The post ultimately helps readers understand how to effectively use DigitalOcean Spaces to manage\ntheir Terraform state, promoting reliable and scalable infrastructure management.",[1678,1679,1680],"style",{},"html pre.shiki code .sSYhn, html code.shiki .sSYhn{--shiki-light:#6182B8;--shiki-default:#66D9EF;--shiki-dark:#66D9EF;--shiki-sepia:#66D9EF}html pre.shiki code .sxJtY, html code.shiki .sxJtY{--shiki-light:#39ADB5;--shiki-default:#E6DB74;--shiki-dark:#E6DB74;--shiki-sepia:#E6DB74}html pre.shiki code .sKdu0, html code.shiki .sKdu0{--shiki-light:#91B859;--shiki-default:#E6DB74;--shiki-dark:#E6DB74;--shiki-sepia:#E6DB74}html pre.shiki code .sb10O, html code.shiki .sb10O{--shiki-light:#39ADB5;--shiki-default:#F92672;--shiki-dark:#F92672;--shiki-sepia:#F92672}html pre.shiki code .sC-bC, html code.shiki .sC-bC{--shiki-light:#E2931D;--shiki-default:#A6E22E;--shiki-dark:#A6E22E;--shiki-sepia:#A6E22E}html pre.shiki code .sbSe9, html code.shiki .sbSe9{--shiki-light:#91B859;--shiki-default:#AE81FF;--shiki-dark:#AE81FF;--shiki-sepia:#AE81FF}html pre.shiki code .sw-b4, html code.shiki .sw-b4{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#88846F;--shiki-default-font-style:inherit;--shiki-dark:#88846F;--shiki-dark-font-style:inherit;--shiki-sepia:#88846F;--shiki-sepia-font-style:inherit}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html pre.shiki code .sRVMn, html code.shiki .sRVMn{--shiki-light:#90A4AE;--shiki-default:#F8F8F2;--shiki-dark:#F8F8F2;--shiki-sepia:#F8F8F2}html pre.shiki code .so6kZ, html code.shiki .so6kZ{--shiki-light:#F76D47;--shiki-default:#AE81FF;--shiki-dark:#AE81FF;--shiki-sepia:#AE81FF}",{"title":272,"searchDepth":327,"depth":327,"links":1682},[1683,1684,1685,1686,1687,1688,1689,1690],{"id":32,"depth":347,"text":33},{"id":55,"depth":347,"text":56},{"id":136,"depth":347,"text":137},{"id":160,"depth":347,"text":161},{"id":211,"depth":347,"text":212},{"id":369,"depth":347,"text":370},{"id":591,"depth":347,"text":592},{"id":1666,"depth":347,"text":1667},"development","2024-10-06","using DigitalOcean Spaces as a Terraform state Backend","md",{"url":1696,"title":5},"v1690313893\u002Fterraform-header_ixmkgg",{"publishDateTime":1698},"2024-10-06:17:30","\u002Fposts\u002Fhow-to-store-terraform_state-in-digital-ocean-space",{"title":5,"description":1693},{"loc":1699,"lastmod":1692,"changefreq":1702,"priority":1703,"images":1704},"monthly",0.8,[1705,1707],{"loc":1706},"https:\u002F\u002Fres.cloudinary.com\u002Fthreenine-co-uk\u002Fimage\u002Fupload\u002Ff_jpg,w_1200\u002Fv1690313893\u002Fterraform-header_ixmkgg",{"loc":1708},"https:\u002F\u002Fres.cloudinary.com\u002Fthreenine-co-uk\u002Fimage\u002Fupload\u002Ff_jpg,w_1200\u002Fdigitalocena-spaces-keys_jdym5z","posts\u002Fhow-to-store-terraform_state-in-digital-ocean-space","ssmFdiF5wjhTP0zoU6N1EWZKlb-gujL20wa5K3b43JQ",{"name":1712,"to":1713,"avatar":1714,"sameAs":1715},"Gary Woodfine","https:\u002F\u002Fgarywoodfine.com","garywoodfine_tlccjw",[1716,1717,1718,1719],"https:\u002F\u002Fgithub.com\u002Fgarywoodfine","https:\u002F\u002Fwww.youtube.com\u002F@Threenineio","https:\u002F\u002Fnjump.me\u002Fnpub1a3jz7w9laar2k77dkkh2rhxunr9zpja5emrl5yrxetamt29swqyqmmt32y","nostr:npub1a3jz7w9laar2k77dkkh2rhxunr9zpja5emrl5yrxetamt29swqyqmmt32y",[1721,1726],{"title":1722,"path":1723,"stem":1724,"description":1725,"children":-1},"How to create a WebSocket server in dotnet","\u002Fposts\u002Fhow-to-create-a-websocket-server-in-dotnet","posts\u002Fhow-to-create-a-websocket-server-in-dotnet","A walk-through guide on how to implement WebSocket end points in dotnet",{"title":1727,"path":1728,"stem":1729,"description":1730,"children":-1},"How to use layouts and pages in Nuxt","\u002Fposts\u002Fhow-to-use-layouts-and-pages-in-nuxt","posts\u002Fhow-to-use-layouts-and-pages-in-nuxt","Explore how to use layouts and pages in your Nuxt Application",{"id":1732,"extension":1733,"items":1734,"meta":1776,"stem":1777,"__hash__":1778},"navigation\u002Fnavigation.yaml","yaml",[1735,1748,1761,1769],{"label":1736,"children":1737},"products",[1738,1743],{"label":1739,"icon":1740,"description":1741,"to":1742},"Diogel","material-symbols:preview","Keep your Nostr identity in your hands, in your browser, on your phone or on your own server.","\u002Fproducts\u002Fdiogel",{"label":1744,"icon":1745,"description":1746,"to":1747},"Nostrfi","i-lucide-radio-tower","Nostr relay, storage and backend-service infrastructure for builders and operators.","\u002Fproducts\u002Fnostrfi",{"label":1749,"children":1750},"services",[1751,1756],{"label":1752,"description":1753,"icon":1754,"to":1755},"Nostr product development","Focused engineering support for teams building Nostr-native products, tools and protocol-aware user experiences.","game-icons:ostrich","\u002Fservices\u002Fnostr-product-development",{"label":1757,"description":1758,"icon":1759,"to":1760},"Bitcoin product development","Engineering for Bitcoin payments, wallet-connected flows and products where users hold their own keys.","bx:bxl-bitcoin","\u002Fservices\u002Fbitcoin-product-development",{"label":1762,"children":1763},"company",[1764],{"label":1765,"icon":1766,"description":1767,"to":1768},"About","i-lucide-file-text","What we believe, what we build and how we work.","\u002Fcompany\u002Fabout",{"label":1770,"children":1771},"resources",[1772],{"label":1773,"icon":1766,"description":1774,"to":1775},"Blog","Practical Bitcoin, Nostr and product engineering guides.","https:\u002F\u002Fthreenine.blog",{},"navigation","n-Xc9COCwoCHJiMCeBNLauHtuhxcGol-wu9S2og3Rqs",{"id":1780,"title":1712,"avatar":1714,"body":1781,"description":1785,"extension":1694,"meta":1800,"name":1712,"navigation":350,"path":1801,"role":1802,"sameAs":1803,"seo":1804,"stem":1805,"summary":1806,"to":1713,"username":7,"__hash__":1807},"authors\u002Fauthors\u002FGary Woodfine.md",{"type":9,"value":1782,"toc":1798},[1783,1786,1789,1792,1795],[12,1784,1785],{},"Polyglot software engineer with extensive experience in software engineering, with a passion to build great scalable software to solve complex business problems. A track record in developing high-performance backend systems, optimizing architecture, and ensuring continuous availability of critical APIs.",[12,1787,1788],{},"I'm an independent software developer, vendor, architect, consultant, blogger, Bitcoin & Nostr Enthusiast. I've provided software development expertise and helped augment software development skills and teams for a number of startups, product companies, corporate IT shops, and consulting firms.",[12,1790,1791],{},"I started out in the software world back in 1995, building websites with HoTMetaL Pro & ASP and moved on to building web apps with .NET when it released in Beta in 2001, since then, I've shipped systems in just about every industry.",[12,1793,1794],{},"Along my journey, I have also shipped various platforms & products in a number of other programming languages or software development frameworks that have had their moments in the sun, but somehow I have always made way back to C# & .Net.",[12,1796,1797],{},"Over the years, I've strived to improve how I and my teams deliver value to the clients, customers, and end-users. That has led me down the path of exploring Agile, Domain-Driven Design, REST, messaging, distributed systems, and anything else I thought could help.",{"title":272,"searchDepth":327,"depth":327,"links":1799},[],{},"\u002Fauthors\u002Fgary-woodfine","Managing Director",[1716,1717,1718,1719],{"title":1712,"description":1785},"authors\u002FGary Woodfine","independent software developer, vendor, architect, consultant, blogger, Bitcoin & Nostr Enthusiast. I've provided software development expertise and helped augment software development skills and teams for a number of startups, product companies, corporate IT shops, and consulting firms.","30ZWJ-6T2g8S0kLLgUhZWA7_QFUOpa5CElif7tAhsLo",{"title":1712,"name":1712,"role":1802,"summary":1806,"avatar":1714,"username":7,"to":1713},[1810,1822,1833,1840,1847,1854,1865,1874,1880,1887,1893,1900,1910,1919,1925,1931,1936,1941,1950,1956,1960,1966,1969,1971,1975,1980,1985,1990,1996,2001,2008,2017,2021,2026,2034,2039,2045,2050,2055,2059,2065,2070,2074],{"path":1811,"title":1812,"date":1813,"tags":1814,"category":1815,"featureImage":1820},"\u002Fposts\u002Fwhat-is-a-nostr-client","What is a Nostr client?","2026-10-26",[1815,1816,1817,1818,1819],"nostr","nostr-client","privacy","keys","getting-started",{"url":1821,"title":1812},"v1690313893\u002Fnostr-logo_hwrql1",{"path":1823,"title":1824,"date":1825,"tags":1826,"category":1815,"featureImage":1831},"\u002Fposts\u002Fhow-to-choose-nostr-relays","How to Choose Nostr Relays","2026-04-11",[1815,1827,1817,1828,1829,1830],"relay","security","nostr-relays","censorship-resistance",{"url":1821,"title":1832},"How to choose nostr relays",{"path":1834,"title":1835,"date":1825,"tags":1836,"category":1815,"featureImage":1839},"\u002Fposts\u002Fnostr-relays-privacy-and-security","Nostr Relays, Privacy, and Security",[1815,1827,1817,1828,1837,1838],"key-management","nostr-relay",{"url":1821,"title":1835},{"path":1841,"title":1842,"date":1825,"tags":1843,"category":1815,"featureImage":1845},"\u002Fposts\u002Fwhat-is-a-nostr-relay","What is a Nostr Relay?",[1815,1827,1817,1830,1844,1838],"decentralization",{"url":1821,"title":1846}," What is a Nostr Relay?",{"path":1848,"title":1849,"date":1850,"tags":1851,"category":1815,"featureImage":1853},"\u002Fposts\u002Fwhy-nostr-keys-better-privacy","Why Nostr keys and identity are better for privacy","2026-04-06",[1815,1817,1852,1828],"identity",{"url":1821,"title":1849},{"path":1855,"title":1856,"date":1857,"tags":1858,"category":1815,"featureImage":1864},"\u002Fposts\u002Fbest-nostr-browser-extensions-2026","Best Nostr Browser Extensions (2026): Complete Comparison","2026-03-24",[1815,1859,1860,1828,1861,1862,1863],"browser-extension","nip-07","comparison","porwr","diogel",{"url":1821,"title":1856},{"path":1866,"title":1867,"date":1857,"tags":1868,"category":1815,"featureImage":1871},"\u002Fposts\u002Fhow-to-get-started-with-porwr","Getting Started with Nostr: Porwr Setup Guide (2026)",[1869,1817,1815,1862,1863,1870,1860,1859],"social","cryptography",{"url":1872,"title":1873},"v1690313893\u002Fblog\u002Fdiogel-product-header_x3az6t","Porwr Browser Extension",{"path":1875,"title":1876,"date":1877,"tags":1878,"category":1815,"featureImage":1879},"\u002Fposts\u002Fhow-to-manage-keys-for-nostr","How to manage keys for Nostr","2025-12-15",[1815,1818,1817,1828],{"url":1821,"title":1876},{"path":1881,"title":1882,"date":1877,"tags":1883,"category":1815,"featureImage":1886},"\u002Fposts\u002Fhow-to-self-host-your-nip-05-identity","How to self-host your NIP-05 identity",[1815,1884,1817,1885],"nip-05","self-hosting",{"url":1821,"title":1882},{"path":1888,"title":1889,"date":1890,"tags":6,"category":1817,"featureImage":1891},"\u002Fposts\u002Fwhy-privacy-is-a-fundamental-human-right","Why privacy is a fundamental human right","2025-12-09",{"url":1892,"title":1889},"v1690313893\u002Fprivacy-header_exiblo",{"path":1894,"title":1895,"date":1896,"tags":6,"category":1897,"featureImage":1898},"\u002Fposts\u002Fhow-government-monetary-policy-erodes-the-value-of-money","How government monetary policy erodes the value of money","2025-12-01","bitcoin",{"url":1899,"title":1895},"v1719908027\u002Fbitcoin_szcm1m",{"path":1901,"title":1902,"date":1903,"tags":1904,"category":1897,"featureImage":1908},"\u002Fposts\u002Fbitaxe-touch-genesis-batch","Bitaxe Touch Genesis Batch","2025-07-23",[1905,1906,1907],"bitaxe","mining","solo",{"url":1909,"title":1902},"v1690313878\u002Fbitaxe-touch_c6qrjd",{"path":1911,"title":1912,"date":1913,"tags":1914,"category":1897,"featureImage":1918},"\u002Fposts\u002Fbitcoin-is-not-a-ponzi-scheme","Bitcoin is not a Ponzi Scheme","2025-07-22",[1915,1916,1917],"ponzi","economics","investment",{"url":1899,"title":1912},{"path":1920,"title":1921,"date":1913,"tags":1922,"category":1897,"featureImage":1924},"\u002Fposts\u002Fgetting-started-with-public-pool-mining","Getting started with Public Pool Mining",[1906,1907,1923],"lottery",{"url":1899,"title":1921},{"path":1926,"title":1927,"date":1928,"tags":1929,"category":1897,"featureImage":1930},"\u002Fposts\u002Fgetting-started-with-solo-mining","Getting started with solo mining","2025-07-19",[1905,1906,1907,1923],{"url":1899,"title":1927},{"path":1932,"title":1933,"date":1928,"tags":1934,"category":1897,"featureImage":1935},"\u002Fposts\u002Fwhat-is-bitcoin-mining","What is Bitcoin mining",[1906,1897],{"url":1899,"title":1933},{"path":1937,"title":1938,"date":1928,"tags":1939,"category":1897,"featureImage":1940},"\u002Fposts\u002Fwhat-is-solo-mining","What is solo mining",[1907],{"url":1899,"title":1938},{"path":1942,"title":1943,"date":1944,"tags":1945,"category":1897,"featureImage":1948},"\u002Fposts\u002Fhow-to-run-a-bitcoin-node","How to run a Bitcoin Node with Umbrel Home","2025-07-14",[1946,1947],"node","umbrel",{"url":1899,"title":1949},"How to run a Bitcoin node",{"path":1951,"title":1952,"date":1953,"tags":1954,"category":1815,"featureImage":1955},"\u002Fposts\u002Fhow-to-get-started-with-nostr","How to get started with Nostr","2024-10-09",[1815,1819,1817,1818],{"url":1821,"title":1952},{"path":1728,"title":1727,"date":1957,"tags":6,"category":1691,"featureImage":1958},"2024-10-08",{"url":1959,"title":1727},"v1690313878\u002Fnuxt-header_tbc9cp",{"path":1961,"title":1962,"date":1963,"tags":6,"category":1691,"featureImage":1964},"\u002Fposts\u002Fhow-to-add-tailwindcss-to-nuxt","How to add tailwindcss to nuxt","2024-10-07",{"url":1959,"title":1965},"Getting started with Nuxt",{"path":1967,"title":1965,"date":1692,"tags":6,"category":1691,"featureImage":1968},"\u002Fposts\u002Fgetting-started-with-nuxt",{"url":1959,"title":1965},{"path":1699,"title":5,"date":1692,"tags":6,"category":1691,"featureImage":1970},{"url":1696,"title":5},{"path":1972,"title":19,"date":1973,"tags":6,"category":1691,"featureImage":1974},"\u002Fposts\u002Fhow-to-use-terraform-with-digitalocean","2024-10-05",{"url":1696,"title":19},{"path":1976,"title":1977,"date":1978,"tags":6,"category":1817,"featureImage":1979},"\u002Fposts\u002Fhow-to-add-fathom-analytics-to-nuxt","How to add Fathom Analytics to Nuxt","2024-07-01",{"url":1959,"title":1977},{"path":1981,"title":1982,"date":1978,"tags":6,"category":1817,"featureImage":1983},"\u002Fposts\u002Fimportance-of-privacy-in-web-analytics","The Importance of Privacy in Web Analytics",{"url":1984,"title":1982},"v1690313893\u002Fanalytics_nlew9f",{"path":1986,"title":1987,"date":1978,"tags":1988,"category":1815,"featureImage":1989},"\u002Fposts\u002Fwhat-is-a-nip-07-signer","What is a NIP-07 signer?",[1815,1860,1859,1828],{"url":1821,"title":1987},{"path":1991,"title":1992,"date":1978,"tags":1993,"category":1815,"featureImage":1995},"\u002Fposts\u002Fwhat-is-nostr","What is Nostr?",[1815,1994,1817,1844],"relays",{"url":1821,"title":1992},{"path":1997,"title":1998,"date":1978,"tags":6,"category":1817,"featureImage":1999},"\u002Fposts\u002Fwhy-choose-privacy-focused-analytics","Why choose privacy focused Analytics",{"url":2000,"title":1998},"v1690313893\u002Fblog\u002Ffathom-header_y7s0x2",{"path":2002,"title":2003,"date":2004,"tags":6,"category":1691,"featureImage":2005},"\u002Fposts\u002Fwhat-is-api-integration","What is API Integration?","2024-06-04",{"url":2006,"title":2007},"v1719908247\u002Fapi_f3f1mh","What is API integration?",{"path":2009,"title":2010,"date":2011,"tags":2012,"category":1897,"featureImage":2014},"\u002Fposts\u002Fhow-blockchain-uses-cryptography","How Blockchain uses Cryptography","2024-05-18",[2013,1870],"blockchain",{"url":2015,"title":2016},"v1690313893\u002Fblockchain_tfrcrd","What is blockchain?",{"path":1723,"title":1722,"date":2018,"tags":6,"category":1691,"featureImage":2019},"2024-05-15",{"url":2020,"title":1722},"v1719908486\u002Fwebsockets_pjqtld",{"path":2022,"title":2023,"date":2018,"tags":2024,"category":1897,"featureImage":2025},"\u002Fposts\u002Fwhat-is-blockchain","What is Blockchain",[2013,1897],{"url":2015,"title":2016},{"path":2027,"title":2028,"date":2029,"tags":2030,"category":1897,"featureImage":2032},"\u002Fposts\u002Fintroduction-to-public-and-private-key-cryptography","Public Key Cryptography Explained: A Beginner's Guide","2024-05-12",[2031,1897,1815],"encryption",{"url":2015,"title":2033},"Introduction to public and private key cryptography",{"path":2035,"title":2036,"date":2029,"tags":2037,"category":1897,"featureImage":2038},"\u002Fposts\u002Fwhat-is-bitcoin","What is Bitcoin?",[2013,1897],{"url":1899,"title":2036},{"path":2040,"title":2041,"date":2042,"tags":6,"category":1691,"featureImage":2043},"\u002Fposts\u002Fwhat-are-web-sockets","What are Web Sockets","2023-09-06",{"url":2020,"title":2044},"What are Websockets",{"path":2046,"title":2047,"date":2048,"tags":6,"category":1691,"featureImage":2049},"\u002Fposts\u002Fwhat-is-api-first","What is API First?","2023-07-13",{"url":2006,"title":2047},{"path":2051,"title":2052,"date":2053,"tags":6,"category":1691,"featureImage":2054},"\u002Fposts\u002Fapi-gateway-pattern","API Gateway Pattern","2023-06-10",{"url":2006,"title":2052},{"path":2056,"title":2057,"date":2053,"tags":6,"category":1691,"featureImage":2058},"\u002Fposts\u002Fbackend-for-frontend-design-pattern","Backend for Frontend Design Pattern",{"url":2006,"title":2057},{"path":2060,"title":2061,"date":2062,"tags":6,"category":1691,"featureImage":2063},"\u002Fposts\u002Fguide-api-development","An introductory guide to API Development","2023-06-05",{"url":2006,"title":2064},"API Development",{"path":2066,"title":2067,"date":2062,"tags":6,"category":1691,"featureImage":2068},"\u002Fposts\u002Fwhat-is-a-rest-api","What is a REST API?",{"url":2006,"title":2069},"What is an API?",{"path":2071,"title":2069,"date":2072,"tags":6,"category":1691,"featureImage":2073},"\u002Fposts\u002Fwhat-is-an-api","2023-06-01",{"url":2006,"title":2069},{"path":2075,"title":2076,"date":2072,"tags":6,"category":1691,"featureImage":2077},"\u002Fposts\u002Fwhat-is-api-development","What is API Development ?",{"url":2006,"title":2078},"What is API development?",[2080,2081],{"label":1752,"description":1753,"icon":1754,"to":1755},{"label":1757,"description":1758,"icon":1759,"to":1760},[2083,2084],{"label":1739,"icon":1740,"description":1741,"to":1742},{"label":1744,"icon":1745,"description":1746,"to":1747},[2086],{"label":1765,"icon":1766,"description":1767,"to":1768},[2088,2091,2094,2097,2100],{"path":2089,"title":2090},"\u002Flegals\u002Fcookie-policy","Cookie Policy",{"path":2092,"title":2093},"\u002Flegals\u002Fcopyright","Copyright",{"path":2095,"title":2096},"\u002Flegals\u002Fcustomer-support","Customer Support",{"path":2098,"title":2099},"\u002Flegals\u002Fprivacy-policy","Privacy Policy",{"path":2101,"title":2102},"\u002Flegals\u002Fterms-of-service","Terms of Service",1793132669390]