Add daily email

This commit is contained in:
Oliver Davies 2025-07-04 13:03:15 +01:00
parent 1e9379ba2d
commit 6e974b6559
3 changed files with 131 additions and 0 deletions

View file

@ -6727,5 +6727,12 @@
"user.b8966985-d4b2-42a7-a319-2e94ccfbb849",
"file.d7b687a0-e012-475e-addb-dd9a59a42af4",
"taxonomy_term.5a23da64-7e26-42fd-8d5d-d7e5f98f54a1"
],
"node.d8a2b106-99f5-455d-b8a9-f1bdcbf12e53": [
"user.b8966985-d4b2-42a7-a319-2e94ccfbb849",
"node.20cde1b4-efdc-46a4-a6a4-4fd2264f617e"
],
"path_alias.a85920d4-a113-4497-8861-c8f45b0708e8": [
"node.d8a2b106-99f5-455d-b8a9-f1bdcbf12e53"
]
}

View file

@ -0,0 +1,97 @@
{
"uuid": [
{
"value": "d8a2b106-99f5-455d-b8a9-f1bdcbf12e53"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email",
"target_type": "node_type",
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
}
],
"revision_timestamp": [
{
"value": "2025-07-04T12:02:12+00:00"
}
],
"revision_uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"revision_log": [],
"status": [
{
"value": true
}
],
"uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"title": [
{
"value": "What is \"Infrastructure as code\"?"
}
],
"created": [
{
"value": "2025-07-02T11:19:43+00:00"
}
],
"changed": [
{
"value": "2025-07-04T12:02:12+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2025\/07\/02\/what-infrastructure-code",
"langcode": "en"
}
],
"body": [
{
"value": "What are the usual steps you need to follow to create and provision a server to host a website?\r\n\r\nFirst, if you don't have hardware, you need to purchase a VPS through a site like DigitalOcean, Linode or Amazon AWS.\r\n\r\nYou need to select an operating system to install and provide your SSH keys so you can log in.\r\n\r\nOnce installed, you should apply any software updates and upgrades, and perform any initial configuration steps, so things are up to date and secure.\r\n\r\nThen, you can install a web server like Apache, Nginx or Caddy, as well as any other software you need, such as a database server.\r\n\r\nThese all need to be configured, too, such as creating a virtual host for each website and declaring which services should start automatically when the server boots.\r\n\r\nBecause this is done manually, you need to document or remember everything, in case you need to repeat the same process in the future.\r\n\r\nBut, what if it didn't need to be manual?\r\n\r\n## Introducing \"Infrastructure as Code\"\r\n\r\nInfrastructure as Code (IaC) tools, such as Ansible, Terraform and NixOS, allow you to define your configuration in code and apply it to your server or other infrastructure.\r\n\r\nThe code acts as living documentation that you can apply over and over again.\r\n\r\nIt speeds up the process and makes it more robust than re-typing or copying and pasting commands.\r\n\r\nBut, you aren't limited to web servers.\r\n\r\nI use IaC to manage the DNS for my domains rather than using UIs.\r\n\r\nYou can even use it to provision the hardware, if you need to configure a new server.\r\n\r\nIf you have an API key for a provider, you can define in code how many servers you want, what specifications they have and what roles they perform.",
"format": "markdown",
"processed": "<p>What are the usual steps you need to follow to create and provision a server to host a website?<\/p>\n<p>First, if you don't have hardware, you need to purchase a VPS through a site like DigitalOcean, Linode or Amazon AWS.<\/p>\n<p>You need to select an operating system to install and provide your SSH keys so you can log in.<\/p>\n<p>Once installed, you should apply any software updates and upgrades, and perform any initial configuration steps, so things are up to date and secure.<\/p>\n<p>Then, you can install a web server like Apache, Nginx or Caddy, as well as any other software you need, such as a database server.<\/p>\n<p>These all need to be configured, too, such as creating a virtual host for each website and declaring which services should start automatically when the server boots.<\/p>\n<p>Because this is done manually, you need to document or remember everything, in case you need to repeat the same process in the future.<\/p>\n<p>But, what if it didn't need to be manual?<\/p>\n<h2>Introducing \"Infrastructure as Code\"<\/h2>\n<p>Infrastructure as Code (IaC) tools, such as Ansible, Terraform and NixOS, allow you to define your configuration in code and apply it to your server or other infrastructure.<\/p>\n<p>The code acts as living documentation that you can apply over and over again.<\/p>\n<p>It speeds up the process and makes it more robust than re-typing or copying and pasting commands.<\/p>\n<p>But, you aren't limited to web servers.<\/p>\n<p>I use IaC to manage the DNS for my domains rather than using UIs.<\/p>\n<p>You can even use it to provision the hardware, if you need to configure a new server.<\/p>\n<p>If you have an API key for a provider, you can define in code how many servers you want, what specifications they have and what roles they perform.<\/p>\n",
"summary": ""
}
],
"field_daily_email_cta": [
{
"target_type": "node",
"target_uuid": "20cde1b4-efdc-46a4-a6a4-4fd2264f617e"
}
]
}

View file

@ -0,0 +1,27 @@
{
"uuid": [
{
"value": "a85920d4-a113-4497-8861-c8f45b0708e8"
}
],
"langcode": [
{
"value": "en"
}
],
"path": [
{
"value": "\/node\/d8a2b106-99f5-455d-b8a9-f1bdcbf12e53"
}
],
"alias": [
{
"value": "\/daily\/2025\/07\/02\/what-infrastructure-code"
}
],
"status": [
{
"value": true
}
]
}