Skip to content

Commit c7abd51

Browse files
rough pass on deployment modes
1 parent a15e76e commit c7abd51

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

docs/concepts/deployment-modes.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Defang Deployment Modes
3+
description: Defang provides three deployment modes which allow you to balance cost and resiliency.
4+
sidebar_position: 501
5+
---
6+
7+
# Defang Deployment Modes
8+
9+
Defang provides three deployment modes: development, staging, and production. These modes allow you to balance cost and resiliency according to your needs.
10+
11+
* **Development**: This mode is used for development and testing purposes. It typically involves less stringent resource allocations and may include debugging tools and verbose logging to aid in development.
12+
* **Staging**: This mode serves as a pre-production environment where applications are tested in conditions that closely mimic production. It helps in identifying issues that might not be apparent in the development environment.
13+
* **Production**: This mode is used for live deployments. It involves optimized configurations for performance, security, and reliability. Resource allocations are typically higher, and debugging tools are minimized to ensure stability.
14+
15+
## Deployment Mode Comparison
16+
17+
| Feature | Development | Staging | Production |
18+
|-|-|-|-|
19+
| Build Resources | Builds will be run with 2x vCPUs | Builds will be run with 2x vCPUs | Builds will be run with 4x vCPUs |
20+
| Databases | Defang will provision resources optimized for burstable memory | | Defang will provision resources optimized for production |
21+
| Static Resources | | | Defang will provision a CDN |
22+
| Object Storage | S3 contents will be lost when deprovisioned. | | S3 contents will be retained if the bucket is deprovisioned. |
23+
| Deployment | Previous deployments will be spun down before new deployments are spun up. | | Rolling updates will be used to deploy new versions. |
24+
| Logging | Logs retained for 1 day to save costs. | | Logs retained for 30 days for compliance. |
25+
| Networking | Defang will provision a bastion box. | | Defang will provision a NAT gateway. |
26+
| DNS | Defang will provision shorter TTLs | | Defang will provision longer TTLs |

docs/faq.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ description: Frequently asked questions about Defang.
6363
3. In the 'Allow applications downloaded from:' section, you should see a message about Defang being blocked. Click 'Open Anyway'.
6464
4. Alternatively, select the option "App Store and identified developers" to allow all applications from the App Store and identified developers to run.
6565

66-
### Does Defang Support
67-
6866
## Warnings
6967

7068
### "The folder is not empty. Files may be overwritten."

0 commit comments

Comments
 (0)