Skip to content

Commit 80cc45f

Browse files
authored
WAF seo improvements and new cost document (#1292)
Please go to the `Preview` tab and select the appropriate template: * [HCP services](?expand=1&template=hcp_pull_request_template.md) * [Terraform Enterprise](?expand=1&template=ptfe_release_pull_request_template.md)
2 parents 326f938 + 2c415ee commit 80cc45f

File tree

11 files changed

+149
-110
lines changed

11 files changed

+149
-110
lines changed

content/well-architected-framework/data/docs-nav-data.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,10 @@
496496
{
497497
"title": "Create cloud budgets",
498498
"path": "optimize-systems/manage-cost/create-cloud-budgets"
499+
},
500+
{
501+
"title": "Detect cloud spending anomalies",
502+
"path": "optimize-systems/manage-cost/detect-cloud-spending-anomalies"
499503
}
500504
]
501505
},

content/well-architected-framework/docs/docs/define-and-automate-processes/deploy/atomic-deployments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ In this section of Deploy with confidence, you learned how to implement atomic d
2424

2525
Refer to the following documents to learn more about deployment strategies:
2626

27-
- [Zero-downtime deployments](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments) to implement zero-downtime deployment strategies
27+
- [Implement zero-downtime deployments with blue/green, canary, and rolling strategies](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments)
2828
- [Automate deployments](/well-architected-framework/define-and-automate-processes/automate/deployments) to automate your deployment processes
2929
- [Automation maturity model](/well-architected-framework/define-and-automate-processes/process-automation) to understand your current automation level

content/well-architected-framework/docs/docs/define-and-automate-processes/deploy/zero-downtime-deployments/applications.mdx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
page_title: Application deployments
3-
description: Implement zero-downtime application deployments using blue/green, canary, and rolling strategies for virtual machines and containers.
2+
page_title: Deploy applications with zero downtime
3+
description: Learn how blue/green, canary, and rolling deployment strategies mitigate downtime during application updates. Compare approaches for VMs and containers to choose the right method for your application.
44
---
55

6-
# Zero-downtime application deployments
6+
# Deploy applications with zero downtime
77

88
Application changes can use blue/green, canary, rolling, or a combination of the three. Your deployment method depends on whether you use virtual machines or containers, along with the criticality of your application. In the following sections, you will learn how these deployment strategies work with load balancers, non-containerized applications, and containerized applications.
99

@@ -24,7 +24,7 @@ External resources:
2424
- [Azure Blue-Green deployments using Azure Traffic Manager](https://azure.microsoft.com/en-us/blog/blue-green-deployments-using-azure-traffic-manager/)
2525
- [F5 Flexible Load Balancing for Blue/Green Deployments and Beyond](https://www.f5.com/resources/solution-guides/flexible-load-balancing-for-blue-green-deployments-and-beyond)
2626

27-
## Non-containerized applications
27+
## Deploy applications on virtual machines
2828

2929
Using a blue/green or rolling deployment is a good approach if you are deploying applications on virtual machines. Blue/green deployments limit downtime and reduce risk by maintaining two identical production environments - one live, one idle. You deploy to the idle environment, test thoroughly, then switch traffic over. If problems occur, you can roll back immediately by switching traffic back.
3030

@@ -40,7 +40,7 @@ If the canary test succeeds without errors, you can incrementally direct traffic
4040

4141
![Rolling deployment. After the initial canary test, traffic to the green environment is split evenly with the blue environment (50/50). Finally, all traffic is directed to the green environment.](/img/well-architected-framework/blue-green-canary-tests-deployments/rolling-deployment.png)
4242

43-
## Containerized applications
43+
## Deploy containerized applications with orchestration tools
4444

4545
Containers can use rolling, blue/green, and canary deployments, through orchestration tools like Nomad and Kubernetes.
4646

@@ -56,7 +56,7 @@ Nomad supports rolling updates as a first-class feature. To enable rolling updat
5656

5757
By default, Kubernetes uses rolling updates. Kubernetes does this by incrementally replacing current pods with new ones. The new Pods are scheduled on Nodes with available resources, and Kubernetes waits for those new Pods to start before removing the old Pods.
5858

59-
As described in [infrastructure-changes](#infrastructure-changes), both Nomad and Kubernetes support blue/green deployments. Before sending all your traffic to your new cluster, you can use canary testing to ensure the new cluster is working as intended.
59+
Both Nomad and Kubernetes support blue/green deployments. Before sending all your traffic to your new cluster, you can use canary testing to ensure the new cluster is working as intended.
6060

6161
HashiCorp resources:
6262
- Learn how to use blue/green deployments with the [Nomad blue/green and canary deployments](/nomad/tutorials/job-updates/job-blue-green-and-canary-deployments#blue-green-deployments) tutorial.
@@ -69,3 +69,7 @@ External resources:
6969
## Next steps
7070

7171
In this section of [Zero-downtime deployments](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments), you learned about methods to deploy application changes with zero-downtime. Zero-downtime deployments is part of the [Define and automate processes pillar](/well-architected-framework/define-and-automate-processes).
72+
73+
- [Implement zero-downtime deployments with blue/green, canary, and rolling strategies](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments)
74+
- [Deploy blue/green infrastructure for zero-downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/applications)
75+
- [Deploy applications with traffic splitting for zero-downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/service-mesh)

content/well-architected-framework/docs/docs/define-and-automate-processes/deploy/zero-downtime-deployments/index.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
page_title: Zero-downtime deployments
3-
description: Implement zero-downtime deployment strategies to eliminate service disruption during updates and enable continuous delivery with minimal risk.
2+
page_title: Implement zero-downtime deployments with blue/green, canary, and rolling strategies
3+
description: Learn how to eliminate service disruption with zero-downtime deployment strategies. Compare blue/green, canary, and rolling deployments to choose the right approach for your infrastructure and applications.
44
---
55

6-
# Zero-downtime deployments
6+
# Implement zero-downtime deployments with blue/green, canary, and rolling strategies
77

88
Zero-downtime deployment strategies aim to reduce or eliminate downtime when you update your infrastructure or applications. These strategies involve deploying new versions incrementally rather than all at once to detect and resolve issues. Each strategy lets you test the new version in an environment with real user traffic. This helps validate the new release's performance and reliability.
99

@@ -25,6 +25,8 @@ Blue/green, canary, and rolling deployments all improve application reliability
2525

2626
The difference between these strategies is how and where the application deploys. This involves the environment the application runs in, cost considerations, deployment methods, and traffic direction.
2727

28+
## When to use each deployment strategy
29+
2830
| | Blue/Green | Canary | Rolling |
2931
|-----------------------|-------------------------------------------------|---------------------------------------------------------------------------------------------|-------------------------------------------------|
3032
| **Environment Setup** | Requires two nearly identical environments. | Requires two nearly identical environments. Starts with a small subset of users or servers. | Updates subsets of servers in batches. |
@@ -49,6 +51,6 @@ External resources:
4951

5052
In this overview of Zero-downtime deployments, you learned the benefits and tradeoffs of zero-downtime deployments techniques. Visit the following documents to learn specifics on infrastructure, application, and service mesh. Zero-downtime deployments is part of the [Define and automate processes pillar](/well-architected-framework/define-and-automate-processes).
5153

52-
- [Zero-downtime infrastructure deployments](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/infrastructure)
53-
- [Zero-downtime application deployments](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/applications)
54-
- [Zero-downtime deployments with service mesh](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/service-mesh)
54+
- [Deploy applications with zero downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/infrastructure)
55+
- [Deploy blue/green infrastructure for zero-downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/applications)
56+
- [Deploy applications with traffic splitting for zero-downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/service-mesh)
Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
---
2-
page_title: Deploy blue green infrastructure for zero-downtime
3-
description: Learn how to implement blue green deployment strategies for zero-downtime infrastructure changes.
2+
page_title: Deploy blue/green infrastructure for zero-downtime
3+
description: Learn how to implement blue/green deployment strategies for zero-downtime infrastructure changes.
44
---
55

6-
# Deploy blue green infrastructure
6+
# Deploy blue/green infrastructure
77

8-
Infrastructure changes like server or network policy updates can cause costly downtime if not managed correctly. Blue green deployment strategies lower this risk by maintaining two identical production environments, allowing you to test changes before switching traffic. This guide explains what blue green infrastructure is and how Terraform can help you implement it.
8+
Infrastructure changes like server or network policy updates can cause costly downtime if not managed correctly. Blue/green deployment strategies lower this risk by maintaining two identical production environments, allowing you to test changes before switching traffic. This guide explains what blue/green infrastructure is and how Terraform can help you implement it.
99

10-
## What is blue green infrastructure
10+
## What is blue/green infrastructure
1111

12-
Blue green deployments require two identical application infrastructure environments, a method for deploying your application to your two environments, and a way to route your traffic between them.
12+
Blue/green deployments require two identical application infrastructure environments, a method for deploying your application to your two environments, and a way to route your traffic between them.
1313

14-
The following diagram shows a basic blue green deployment. The blue environment is the infrastructure where your current application runs. The green environment is identical, except that you have upgraded it to host the new version of the application.
14+
The following diagram shows a basic blue/green deployment. The blue environment is the infrastructure where your current application runs. The green environment is identical, except that you have upgraded it to host the new version of the application.
1515

16-
![Typical blue green deployment. The green environment runs in parallel with the blue environment. When you are ready to switch to the green environment the load balancer directs traffic to the green environment.](/img/well-architected-framework/blue-green-canary-tests-deployments/blue-green-deployment.png)
16+
![Typical blue/green deployment. The green environment runs in parallel with the blue environment. When you are ready to switch to the green environment the load balancer directs traffic to the green environment.](/img/well-architected-framework/blue-green-canary-tests-deployments/blue-green-deployment.png)
1717

1818
You set up the blue and green environments as similar as possible. Infrastructure as code (IaC) lets you describe your environment as code and consistently deploy identical environments.
1919

2020
IaC makes your operations more cost-effective by allowing you to easily build and remove resources when you do not need them. Using IaC also lets you spin up your green environment whenever you need it. Instead of letting your blue and green environments persist indefinitely or allocating time to build them, you
2121
deploy your green infrastructure environment when you want to deploy your new software application. Once your green environment is stable, you can tear down your blue environment.
2222

23-
## Using Terraform for blue green deployments
23+
## Using Terraform for blue/green deployments
2424

25-
HashiCorp's Terraform is an infrastructure as code tool that can help you deploy and manage blue green infrastructure environments. By using Terraform modules, you can consistently deploy identical infrastructure using the same code but in different environments through variables. You can also define feature toggles in your Terraform code to create a blue and green deployment environment simultaneously. You can then test your application in your new green environment, and then, when you are ready, set the toggle in your code to destroy your blue environment.
25+
HashiCorp's Terraform is an infrastructure as code tool that can help you deploy and manage blue/green infrastructure environments. By using Terraform modules, you can consistently deploy identical infrastructure using the same code but in different environments through variables. You can also define feature toggles in your Terraform code to create a blue and green deployment environment simultaneously. You can then test your application in your new green environment, and then, when you are ready, set the toggle in your code to destroy your blue environment.
2626

2727
HashiCorp resources:
2828

@@ -36,4 +36,8 @@ External resources:
3636

3737
## Next steps
3838

39-
In this section of [Zero-downtime deployments](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments), you learned about methods to deploy infrastructure changes with zero-downtime. Zero-downtime deployments is part of the [Define and automate processes pillar](/well-architected-framework/define-and-automate-processes).
39+
In this section of [Zero-downtime deployments](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments), you learned about methods to deploy infrastructure changes with zero-downtime. Zero-downtime deployments is part of the [Define and automate processes pillar](/well-architected-framework/define-and-automate-processes).
40+
41+
- [Implement zero-downtime deployments with blue/green, canary, and rolling strategies](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments)
42+
- [Deploy applications with zero downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/infrastructure)
43+
- [Deploy applications with traffic splitting for zero-downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/service-mesh)

content/well-architected-framework/docs/docs/define-and-automate-processes/deploy/zero-downtime-deployments/service-mesh.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
page_title: Service mesh deployments
3-
description: Use service splitters and traffic routing to implement zero-downtime deployments with gradual traffic shifting and rollback capabilities.
2+
page_title: Deploy applications with traffic splitting for zero downtime
3+
description: Deploy application updates without downtime by routing traffic between versions dynamically. Learn gradual traffic shifting strategies that enable instant rollback and reduce deployment risk.
44
---
55

6-
# Zero-downtime deployments with service mesh
6+
# Deploy applications with traffic splitting for zero downtime
77

88
You can use service splitters to implement zero-downtime deployments. These components, often used in service mesh architectures, allow traffic to route between different versions of an application dynamically.
99

@@ -36,3 +36,7 @@ HashiCorp resources:
3636
## Next steps
3737

3838
In this section of [Zero-downtime deployments](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments), you learned how to use service mesh to deploy with zero-downtime. Zero-downtime deployments is part of the [Define and automate processes pillar](/well-architected-framework/define-and-automate-processes).
39+
40+
- [Implement zero-downtime deployments with blue/green, canary, and rolling strategies](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments)
41+
- [Deploy applications with zero downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/infrastructure)
42+
- [Deploy blue/green infrastructure for zero-downtime](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments/applications)

content/well-architected-framework/docs/docs/optimize-systems/lifecycle-management/data-management.mdx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
page_title: Implement data management policies
3-
description: Implement data management policies to reduce storage costs, ensure compliance, and manage data lifecycles with infrastructure as code.
2+
page_title: Automate cloud storage lifecycle policies
3+
description: Learn how to automate data lifecycle policies using Terraform and infrastructure as code. Reduce cloud storage costs, ensure compliance, and manage AWS S3, GCP, and Azure data retention policies.
44
---
55

6-
# Implement data management policies
6+
# Automate cloud storage lifecycle policies
77

8-
You can use data management policies to manage the lifecycle of your organization's data. When you store data either in the cloud or on-premises, it is important to define and automate the policies around managing that data. Defining management with infrastructure as code tools, such as Terraform, ensures you consistently apply these policies across all environments and resources.
8+
Data lifecycle management policies help organizations automatically manage cloud storage costs, meet compliance requirements, and secure sensitive data. Using infrastructure as code tools like Terraform, you can define, version, and apply lifecycle rules across AWS S3, Google Cloud Storage, and Azure Blob Storage.
99

10-
## Why you should use lifecycle policies
10+
## Benefits of automated data lifecycle policies
1111

1212
Most major cloud providers offer lifecycle management features for their storage services. These features allow you to define rules that automatically transition data between different storage classes based on age or access patterns, and delete data that has reached the end of its retention period.
1313

@@ -77,8 +77,8 @@ Other cloud providers, such as [Google Cloud Platform](https://registry.terrafor
7777
HashiCorp resources:
7878

7979
- Search the [Terraform Registry](https://registry.terraform.io/browse/providers) for the [cloud](https://registry.terraform.io/browse/providers?category=public-cloud) or [database](https://registry.terraform.io/browse/providers?category=database) provider you use.
80-
8180
- Learn best practices for writing Terraform with the Terraform [style guide](/terraform/language/style).
81+
- Start learning Terraform with the [Get started tutorials](/terraform/tutorials).
8282

8383
External resources:
8484

@@ -91,4 +91,7 @@ External resources:
9191
In this section of Lifecycle management, you learned about implementing data management policies, including why you should use lifecycle policies and how to automate policy management with infrastructure as code. Implement data management policies is part of the [Optimize systems](/well-architected-framework/optimize-systems) pillar.
9292

9393
To learn more about infrastructure and resource management, refer to the following resources:
94+
9495
- [Automate infrastructure provisioning](/well-architected-framework/define-and-automate-processes/process-automation/process-automation-workflow)
96+
- [Tag cloud resources](/well-architected-framework/define-and-automate-processes/infrastructure-and-resource-management/tag-cloud-resources)
97+
- [Decommission infrastructure resources](/well-architected-framework/optimize-systems/lifecycle-management/decommission-infrastructure)

0 commit comments

Comments
 (0)