Skip to content

Commit 00c6865

Browse files
committed
categorize faq with headings
1 parent 5d5f6ff commit 00c6865

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

docs/faq/faq2.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
sidebar_position: 600
3+
title: Frequently Asked Questions
4+
description: Frequently asked questions about Defang.
5+
---
6+
import {Button, ButtonGroup, FormGroup, FormLabel} from "@mui/material"
7+
8+
# Frequently Asked Questions (FAQ)
9+
10+
## Deployment and Infrastructure
11+
### Which cloud/region is the app being deployed to?
12+
13+
- In the [Defang Playground](../concepts/defang-playground.md), the app is deployed to AWS `us-west-2`. In the [Defang BYOC](../concepts/defang-byoc.md) model, the region is determined by your [Defang BYOC Provider](/docs/category/providers) settings.
14+
15+
### Can I bring my own AWS or other cloud account?
16+
17+
- Yes! Defang makes it easy to deploy your application to your own cloud account. Please check out the [Defang BYOC](../concepts/defang-byoc.md) documentation for more information.
18+
19+
### On AWS, can I deploy to services such as EC2, EKS, or Lambda?
20+
21+
- The current release includes support for containers only, deployed to ECS. We are still exploring how to support additional execution models such as VMs and functions-as-a-service. However, using our Pulumi provider, it is possible to combine Defang services with other native AWS resources.
22+
23+
### Can I access AWS storage services such as S3 or database services such as RDS? How?
24+
25+
- Yes! You can access AWS services in the AWS Dashboard as you normally would when you are [deploying to your AWS account](../providers/aws) using Defang. In fact, you can access whatever other resources exist in the cloud account you are using for [Defang BYOC](../concepts/defang-byoc.md).
26+
27+
### Do you plan to support other clouds?
28+
29+
- While we currently support [AWS](../concepts/defang-byoc#aws) for production and [DigitalOcean](../concepts/defang-byoc#digitalocean) in preview, we plan to support other clouds in future releases, such as [GCP](../providers/gcp.md) and [Azure](../providers/azure.md).
30+
31+
## Deployment Process
32+
33+
### Can I run production apps with Defang?
34+
35+
- Yes! Defang makes it easy to deploy your app on production-ready infrastructure in your own cloud account. For example, you can deploy your app to AWS with `defang up --provider=aws --mode=production`. Check out your preferred cloud provider on [Defang BYOC](../concepts/defang-byoc.md).
36+
37+
### Does Defang support blue/green deployments?
38+
39+
- Defang does not currently support Blue/Green deploys, but it does support rolling updates with the `production` deployment mode. `defang up --mode=production`.
40+
41+
### Does Defang support rolling deployments?
42+
43+
- Yes! Defang supports rolling updates with the `production` deployment mode. `defang up --mode=production`.
44+
45+
### Can I cancel a deployment once it has started?
46+
47+
- No. Once a deployment has started, it cannot be canceled. However, you can always deploy a new version of your app which will replace the current deployment.
48+
49+
### Will deploying a new version of my app cause downtime?
50+
51+
- If you have deployed your application with the `--mode=production` flag, Defang will use the _production_ deployment mode. This mode will provision your app with multiple replicas and will perform a rolling update to ensure zero downtime. If you use another deployment mode, you may experience downtime during the deployment, as Defang will not provision multiple replicas to save cost.
52+
53+
### Can I deploy multiple services at once?
54+
55+
- Yes! You can deploy multiple services at once by defining them in a single compose.yaml file. When you run `defang compose up`, Defang will deploy all the services defined in the file at once.
56+
57+
### Can I deploy a service that depends on another service?
58+
59+
- Defang does not currently support service dependencies. All services will be deployed simultaneously. Defang will however run multiple healthchecks before marking a service as healthy and spinning down any previously deployed services when using the `production` deployment mode.
60+
61+
## Troubleshooting
62+
63+
### I'm having trouble running the binary on my Mac. What should I do?
64+
65+
- MacOS users will need to allow the binary to run due to security settings:
66+
1. Attempt to run the binary. You'll see a security prompt preventing you from running it.
67+
2. Go to System Preferences > Privacy & Security > General.
68+
3. In the 'Allow applications downloaded from:' section, you should see a message about Defang being blocked. Click 'Open Anyway'.
69+
4. Alternatively, select the option "App Store and identified developers" to allow all applications from the App Store and identified developers to run.
70+
71+
### I'm getting a warning/error. What does it mean?
72+
- See the Common Warnings and Errors page.
73+

0 commit comments

Comments
 (0)