Skip to content

Commit 30d0435

Browse files
committed
minor styling and markdown tweaks
1 parent 51d4557 commit 30d0435

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

blog/2025-03-14-deploying-defang-with-defang-part-1.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags: [defang-with-defang, deployment, defang-portal]
77

88
![Defang Compose Update](/img/defang-on-defang/part-1/header.png)
99

10-
Deploying applications is hard. Deploying **complex, multi-service applications** is even harder. When we first built the Defang Portal, we quickly recognized the complexity required to deploy it, even with the early Defang tooling helping us simplify it a lot. But we’ve worked a lot to expand Defang’s capabilities over the last year+ so it could take on more of the work and simplify that process.
10+
Deploying applications is hard. Deploying complex, multi-service applications is even harder. When we first built the Defang Portal, we quickly recognized the complexity required to deploy it, even with the early Defang tooling helping us simplify it a lot. But we’ve worked a lot to expand Defang’s capabilities over the last year+ so it could take on more of the work and simplify that process.
1111

1212
This evolution wasn’t just based on our own instincts and what we saw in the Portal—it was informed by listening to developers who have been using Defang, as well as our experience building dozens of sample projects for different frameworks and languages. Each time we build a new sample, we learn more about the different requirements of various types of applications and developers and refine Defang’s feature set accordingly. The Portal became an extension of this learning process, serving as both a proving ground and an opportunity to close any remaining gaps, since it’s one of the most complex things we’ve built with Defang.
1313

@@ -45,7 +45,7 @@ As a result, we reached a point where we no longer needed custom infrastructure
4545
## **What Changed?**
4646

4747
- **Previously**: GitHub Actions ran infra-as-code scripts to provision databases, manage DNS, and define services *separately from the Docker Compose file we used for local dev*
48-
- **Now**: Our [Defang GitHub Action](https://github.com/marketplace/actions/defang-deployment-action) targets normal Compose files and deploys everything, using secrets and variables managed in GitHub Actions environments.
48+
- **Now**: Our [**Defang GitHub Action**](https://github.com/marketplace/actions/defang-deployment-action) targets normal Compose files and deploys everything, using secrets and variables managed in GitHub Actions environments.
4949
- **Result**: We **eliminated hundreds of lines of Infra-as-Code**, making our deployment leaner and easier to manage and reducing the differences between running the Portal locally and running it in the cloud.
5050

5151
This wasn’t just about reducing complexity—it was also a validation exercise. We knew that Defang had evolved enough to take over much of our deployment, but by going through the transition process ourselves, we could identify and close the remaining gaps and make sure our users could really make use of Defang for complex production-ready apps.
@@ -60,18 +60,18 @@ This wasn’t just about reducing complexity—it was also a validation exercise
6060
- [**Environment variable interpolation**](https://docs.defang.io/docs/concepts/configuration#interpolation) allows these **SSM-stored config values** to be referenced directly in the Compose file, ensuring the same configuration works in local and cloud environments.
6161
- **Defang provisions managed Postgres and Redis instances automatically** when using the `x-defang-postgres` and `x-defang-redis` extensions, securely injecting credentials where needed with variable interpolation.
6262

63-
### **Deployment Modes**
63+
### Deployment Modes
6464

65-
- [**Deployment modes](https://docs.defang.io/docs/concepts/deployment-modes) (`development`, `staging`, `production`)** adjust infrastructure settings across our dev/staging/prod deployments making sure dev is low cost, and production is secure and resilient.
65+
- [**Deployment modes**](https://docs.defang.io/docs/concepts/deployment-modes) (`development`, `staging`, `production`) adjust infrastructure settings across our dev/staging/prod deployments making sure dev is low cost, and production is secure and resilient.
6666

6767
### **DNS & Certs**
6868

69-
- When we first set up the portal (before we even released the private beta) DNS and certs had to be managed outside the Defang context. Now, [**we can provision certs](https://docs.defang.io/docs/concepts/domains) using ACM or Let’s Encrypt.**
69+
- When we first set up the portal (before we even released the private beta) DNS and certs had to be managed outside the Defang context. Now, **[we can provision certs using ACM or Let’s Encrypt](https://docs.defang.io/docs/concepts/domains)**.
7070

7171
### **CI/CD Integration**
7272

7373
- **Previously**: GitHub Actions ran custom infra-as-code scripts.
74-
- **Now**: The **Defang GitHub Action** installs Defang automatically and runs `defang compose up`, simplifying deployment.
74+
- **Now**: The [**Defang GitHub Action**](https://github.com/DefangLabs/defang-github-action) installs Defang automatically and runs `defang compose up`, simplifying deployment.
7575
- **Result**: A streamlined, repeatable CI/CD pipeline.
7676

7777
---

0 commit comments

Comments
 (0)