You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Support for [pre-built Docker containers](/docs/tutorials/deploy-container-using-the-cli.mdx), from public or private image registries
17
+
- Ability to express your project configuration using a [Docker Compose YAML](/docs/concepts/compose.md) file
18
+
- Ability to manage [encrypted configuration values](/docs/concepts/configuration.md)
19
+
- Pre-configured environments with built-in [security](/docs/concepts/security.md), [networking](/docs/concepts/networking.mdx), and [observability](/docs/concepts/observability.md)
Defang is a radically simpler way for developers to develop, deploy, and debug their cloud applications. Defang enables you to easily author cloud applications in any language, build and deploy to the cloud with a single command, and iterate quickly with AI-assisted tooling.
Copy file name to clipboardExpand all lines: docs/intro/use-cases.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
-
sidebar_position: 400
2
+
sidebar_position: 300
3
3
title: Use Cases
4
-
description: Use cases for Defang.
4
+
description: Use cases for Defang
5
5
---
6
6
7
-
# Use Cases
7
+
# Defang Use Cases
8
8
9
9
Defang can be used for a wide variety of use cases, generally in line with the [12 Factor architecture](https://12factor.net/). In this section we'll document some examples. At the end of this section we will also cover use cases that are not supported by Defang.
10
10
@@ -26,18 +26,18 @@ LLMs (Large Language Models) are a type of AI model that can be used for a wide
26
26
27
27
# Anti-patterns
28
28
29
-
While Defang is great for a wide variety of use cases, there are some use cases that are not a good fit for Defang. Generally, the use-cases that are Defang anti-patterns are the same as the ones that are [12 Factor](https://12factor.net/) anti-patterns.
29
+
While Defang is great for a wide variety of use cases, there are some use cases that are not a good fit for Defang. Generally, the use-cases that are Defang anti-patterns are the same as the ones that are [12 Factor](https://12factor.net/) anti-patterns.
30
30
31
31
## Stateful Services
32
32
33
33
Some applications are designed to run in stateful environments. For example, a CMS like WordPress can be coerced to work in a stateless environment, but most of the tooling for it expects to have a long-lived filesystem and a database. Defang is not a good fit for these types of applications, because [containers are ephemeral and can be replaced at any time](https://12factor.net/processes).
34
34
35
35
## Data Stores
36
36
37
-
Defang now offers support for stateful workloads through our [managed storage](./concepts/managed-storage) options, including [Postgres](./concepts/managed-storage/managed-postgres) and [Redis](./concepts/managed-storage/managed-redis) for data stores. However, we do not recommend using unsupported data stores with Defang, as this may lead to permanent data loss.
37
+
Defang now offers support for stateful workloads through our [managed storage](./concepts/managed-storage) options, including [Postgres](./concepts/managed-storage/managed-postgres) and [Redis](./concepts/managed-storage/managed-redis) for data stores. However, we do not recommend using unsupported data stores with Defang, as this may lead to permanent data loss.
38
38
39
-
:::info
40
-
To better serve our users, we will be introducing additional managed storage options, such as [Object Storage](concepts/managed-storage/managed-object-storage), in the near future.
39
+
:::info
40
+
To better serve our users, we will be introducing additional managed storage options, such as [Object Storage](concepts/managed-storage/managed-object-storage), in the near future.
41
41
:::
42
42
43
43
Please be aware that if you choose not to use a Defang-supported [managed storage](./concepts/managed-storage) option, there is a risk that any data stored in a container may be lost if the container is replaced.
<iframewidth="560"height="315"src="https://www.youtube.com/embed/afglsBYieuc?si=iKgUX4ejz7AixxqQ"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"referrerpolicy="strict-origin-when-cross-origin"allowfullscreenstyle={{marginBottom: "2rem"}}></iframe>
10
+
11
+
Defang is a radically simpler way for developers to develop, deploy, and debug their cloud applications. Defang enables you to easily author cloud application in any language, build and deploy to the cloud with a single command, and iterate quickly with AI-assisted tooling.
12
+
13
+
- The [Defang CLI](/docs/getting-started/installing.md) includes an AI-driven agent that translates natural language prompts to an outline for your project that you can then refine.
14
+
- Defang can automatically build and deploy your project with a single command.
15
+
- If you’re new to Defang, you can try deploying to the [Defang Playground](/docs/concepts/defang-playground.md), a hosted environment to learn to use Defang with non-production workloads.
16
+
- Once you’re ready, you can [deploy](/docs/concepts/deployments.md) it to your own cloud account - we call this [Defang BYOC](/docs/concepts/defang-byoc.md). Defang takes care of all the heavy lifting such as configuring networking, security, [observability](/docs/concepts/observability.md) and all the other details that usually slow down the average cloud developer.
17
+
- You can also use Defang to easily [publish updates](/docs/concepts/deployments.md#deploying-updates) to your deployed application with zero downtime.
0 commit comments