Skip to content

Commit 5055888

Browse files
committed
2 parents e28d507 + 6bf0627 commit 5055888

File tree

93 files changed

+1697
-205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1697
-205
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# CODEOWNERS file automatically generated based on git history
2+
* @DefangLabs/devs

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ yarn-error.log*
2121

2222
defang
2323
samples
24-
/static/samples-v2.json
24+
/docs/samples.md
25+
/static/samples-v2.json

blog/2025-06-06-may-product-updates.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: "May 2025 Defang Compose Update"
33
description: "Monthly product updates from the Defang team - May 2025"
4-
slug: 2025-06-06-product-update
54
tags:
65
[
76
Cloud,

blog/2025-06-16-crew-ai-sample.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: "Sample: Starter Kit for RAG + Agents with CrewAI"
33
description: "Going over our sample for RAG + Agents with CrewAI"
4-
slug: rag-agents-crewai-sample
54
tags: [Cloud, NoDevOps, Docker Compose, Defang, Sample]
65
author: Defang Team
76
---
@@ -89,4 +88,3 @@ DEFANG_PROVIDER=<provider> defang compose up
8988
```
9089

9190
Want more? File an [issue](https://github.com/DefangLabs/samples/issues) to request a sample—we'll do everything we can to help you deploy better and faster!
92-

blog/2025-06-16-docker-compose-defang.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: "Bridging Local Development and Cloud Deployment"
33
description: "Announcing our new whitepaper: Bridging Local Development and Cloud Deployment with Docker Compose and Defang"
4-
slug: defang-docker-compose
54
tags: [Cloud, NoDevOps, Docker Compose, Defang, Whitepaper]
65
author: Defang Team
76
---
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
title: "June 2025 Defang Compose Update"
3+
description: "Monthly product updates from the Defang team - June 2025"
4+
slug: 2025-07-10-product-update
5+
tags:
6+
[
7+
Cloud,
8+
NoDevOps,
9+
BYOC,
10+
MCP,
11+
LLMs,
12+
Vibe Deploying,
13+
GCP,
14+
AWS,
15+
Events,
16+
Defang Compose Update,
17+
]
18+
author: Defang Team
19+
---
20+
21+
![Defang Compose Update](/img/defang-compose-update.webp)
22+
23+
June was a big month at Defang. We rolled out powerful features across our CLI, Playground, and Portal, expanded support for both AWS and GCP, and introduced new tools to help you ship faster and smarter. From real-time cloud cost estimation to internal infra upgrades and community highlights, here’s everything we accomplished.
24+
25+
## 🚀 Live AWS Cost Estimation
26+
27+
We just launched something we’re really excited about: live AWS cost estimation before you deploy.
28+
Most devs ship to the cloud without knowing what it’s going to cost and that’s exactly the problem we’re solving. With Defang, you can now estimate the cost of deployment of an Docker Compose application and choose the deployment mode - affordable / balanced / high_availability - that best suits your needs.
29+
30+
👉 [Check out the docs](https://docs.defang.io/docs/tutorials/estimating-aws-deployment-costs)
31+
32+
## 🧠 CrewAI + Defang Starter Kit
33+
34+
In June, we launched a full-stack starter kit for building real-time RAG and multi-agent apps with CrewAI + Defang.
35+
It’s designed to help you move fast with a production-style setup — including Django, Celery, Channels, Postgres (with pgvector), Redis for live updates, and Dockerized model runners you can easily customize. CrewAI handles the agent workflows, and with Defang, you can deploy the whole thing to the cloud in a single command.
36+
Whether you’re building a smart Q&A tool or a multi-agent research assistant, this stack gives you everything you need to get started.
37+
38+
👉 [Try it out here](https://github.com/DefangSamples/sample-crew-django-redis-postgres-template)
39+
40+
## 📊 Deployment Info in Portal
41+
42+
We’ve added active deployment information to the Defang Portal. You can now see your currently active deployments across various cloud providers and understand the details of each, while still managing your cloud environments through the provider’s own tools (e.g. the AWS Console).
43+
44+
## ☁️ Playground Now Runs on AWS + GCP
45+
46+
Internally, we also hit a big milestone: The Defang Playground now runs on both AWS and GCP, showing the power of Defang’s multi-cloud infrastructure. We’ve also enabled load balancing between the two platforms and plan to share a detailed blog post on how it works soon.
47+
48+
## 🧩 VS Code Extension Released
49+
50+
We also released the Defang VS Code Extension, making it even easier to deploy and manage cloud apps right from your editor. No terminal needed.
51+
52+
- One-click deploy
53+
- Built-in tools to manage services
54+
- Zero config, fast setup
55+
56+
👉 [Try it out here](https://marketplace.visualstudio.com/items?itemName=DefangLabs.defang)
57+
58+
## 💬 Ask Defang via Intercom
59+
60+
You can now try out the Ask Defang chatbot directly within Intercom! This new integration makes it easier than ever to get instant answers and support while you work. Ask Defang itself is deployed using Defang to our own cloud infrastructure.
61+
62+
## 🐳 Docker x Defang White Paper
63+
64+
And one more thing: bridging local development and cloud deployment just got easier. We’ve published white papers on how Defang extends Docker Compose and GCP workflows to the cloud — using familiar tools at scale. An AWS white paper is coming soon.
65+
66+
👉 [Read the white paper here](https://defang.io/whitepapers/docker-compose-defang/)
67+
68+
👉 [Read the GCP white paper](https://defang.io/whitepapers/gcp-defang/)
69+
70+
## Events and Community
71+
72+
In June, we showcased a powerful new demo at AWS events: “What If You Could See AWS Costs Before You Deployed?” Jordan Stephens walked through how to go from Docker Compose to AWS infra with real-time cost estimates and easy teardown, all via Defang.
73+
74+
👉 [Watch the demo here](https://www.youtube.com/watch?v=YHmE_6MgcYA)
75+
76+
We can’t wait to see what you deploy with Defang.
77+
👉 [Join our Discord](https://discord.gg/9FF5MFAm)
78+
79+
More coming in July.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: "Simple, Secure, and Scalable GCP Deployments from Docker Compose"
3+
description: "Announcing our latest whitepaper: How Defang simplifies Google Cloud deployments with Docker Compose"
4+
slug: defang-gcp-compose
5+
tags: [Google Cloud, GCP, Docker Compose, Cloud Deployment, Defang, Whitepaper]
6+
author: Defang Team
7+
---
8+
9+
**Introducing Our New Whitepaper: Simple, Secure, and Scalable GCP Deployments from Docker Compose**
10+
11+
We’re excited to share our latest whitepaper, _Defang + GCP: Simple, Secure, and Scalable Deployments from Docker Compose_.
12+
13+
:::tip[Want to skip the blog?]
14+
[Read the full whitepaper here.](https://defang.io/whitepapers/gcp-defang/)
15+
:::
16+
17+
Deploying to Google Cloud Platform (GCP) doesn’t have to be complicated. Docker Compose made defining local apps simple, and Defang makes cloud deployments just as easy.
18+
19+
With Defang, you can:
20+
21+
- **Deploy to GCP with a single command.** Go from Compose to Cloud Run, Cloud SQL, and more with just `defang compose up --provider=gcp`.
22+
- **Skip the DevOps overhead.** No need for Terraform, Pulumi, or custom scripts. Defang maps your Compose services to the right GCP resources — compute, storage, networking, and even managed LLMs.
23+
- **Enjoy built-in security and scalability.** Defang automates GCP best practices, handling service accounts, secret management, HTTPS, auto-scaling, and more.
24+
- **Integrate with your workflow.** Deploy from your terminal, GitHub Actions, or even natural language prompts in VS Code, Cursor, or Windsurf.
25+
- **Save costs and avoid surprises.** Choose from affordable, balanced, or high-availability modes with built-in cost estimation coming soon.
26+
27+
Our whitepaper walks through how Defang integrates with GCP, including how it:
28+
29+
✅ Builds your containers using Cloud Build
30+
✅ Manages secure deployments via Cloud Run and managed services
31+
✅ Supports custom domains, advanced networking, GPUs, LLMs, and more
32+
✅ Powers CI/CD pipelines with GitHub Actions and Pulumi
33+
34+
It also highlights how Defang itself deploys real apps like our Ask Defang chatbot using less than 100 lines of Compose on GCP.
35+
Want to simplify your GCP deployments? Start with Compose, scale with Defang.
36+
37+
import Link from '@docusaurus/Link';
38+
39+
<div style={{marginTop: '2rem', marginBottom: '2rem'}}>
40+
<Link
41+
className="button button--primary button--lg"
42+
to="https://defang.io/whitepapers/gcp-defang/"
43+
children="Read the full whitepaper"
44+
/>
45+
</div>
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: "Defang: Your AI DevOps Agent"
3+
description: "From Vibe-Coding to Production… Without a DevOps Team"
4+
slug: defang-your-ai-devops-agent
5+
tags: [Cloud, NoDevOps, BYOC, MCP, LLMs, Vibe Deploying, GCP, AWS]
6+
author: Defang Team
7+
---
8+
9+
![Defang Agent](/img/defang_agent/defang_agent.png)
10+
11+
## From Vibe-Coding to Production… Without a DevOps Team
12+
13+
Building apps has never been easier. Tools like Cursor, Windsurf, Lovable, V0, and Bolt have ushered in a new era of coding called **vibe coding**, rapid, AI-assisted app development where developers can go from idea to prototype in hours, bringing ideas to life faster than ever before.
14+
15+
And with the recently released AWS Kiro, we have now entered a new phase of AI-assisted development called "spec-driven development" where the AI breaks down the app development task even further. You can think of a "PM agent" that goes from prompt to a requirements document, and then an "Architect agent" that goes from the requirements document to a design document, which is then used by "Dev", "Test" and "Docs" agents to generate app code, tests, and documentation respectively. This approach is much more aligned with enterprise use cases and produces higher quality output.
16+
17+
## The Hard Part Isn’t Building. It’s Shipping.
18+
19+
However, cloud app deployment remains a major challenge! As Andrej Karpathy shared during his [recent YC talk](https://www.youtube.com/watch?v=LCEmiRjPEtQ):
20+
21+
> "_I vibe-coded the app in four hours… and spent the rest of the week deploying it._"
22+
23+
While AI-powered tools make building apps a breeze, deploying them to the cloud is still frustratingly complex. Kubernetes, Terraform, IAM policies, load balancers, DNS, CI/CD all add layers of difficulty. This complexity continues to be a significant bottleneck that AI tools have yet to fully address, making deployment a critical challenge for developers.
24+
25+
The bottleneck is no longer the code. It's the infrastructure.
26+
27+
## Enter Defang: Your AI DevOps Agent
28+
29+
**Defang** is an AI-enabled agent that takes care of your entire deployment workflow, going from app code to a production-ready deployment on your favorite cloud in a single step.
30+
31+
By understanding your app stack (using Docker Compose), **Defang** provisions the right infrastructure and securely deploys to AWS, GCP, or DigitalOcean, following each cloud's best practices.
32+
33+
Whether you're launching a side project or scaling a multi-agent app, **Defang** ensures secure, smooth, scalable cloud-native deployments.
34+
35+
## Defang Deployment Features at a Glance
36+
37+
- **One Command Deployment:** Run `defang compose up` and you're live
38+
- **Secure and Scalable:** Built-in TLS, secrets, autoscaling, IAM, and HTTPS
39+
- **Multi-Cloud Ready:** Deploy to your cloud (AWS, GCP, DO) using your own credentials
40+
- **Language & framework agnostic:** Next.js, Go, Python (Django/Flask), C#, …
41+
- **Managed LLM:** Add `x-defang-llm: true` and **Defang** auto-configures cloud-native LLMs like Bedrock, Vertex AI, and the Defang Playground
42+
- **Configures managed services** (e.g. managed Postgres, MongoDB, Redis) using the target cloud's native services (e.g. RDS for Postgres on AWS, Cloud SQL on GCP).
43+
- **Tailored deployment modes** (e.g. affordable, balance, high-availability) optimized for different environments (dev, staging, production)
44+
- **AI Debugging:** Get context-aware assistance to quickly identify and fix deployment issues
45+
46+
## Native Integration with AI-Assisted Coding Tools
47+
48+
**Defang** can be accessed directly from within your favorite IDE - Cursor, Windsurf, VS Code, Claude, or Kiro - via [Defang's MCP Server](https://docs.defang.io/docs/concepts/mcp). You can now deploy to the cloud with a natural language command like "deploy my app with Defang".
49+
50+
## For Developers and CTOs Who Want to Move Fast
51+
52+
If you're a developer shipping fast or a CTO scaling lean, **Defang** acts as your drop-in DevOps engineer without needing to build a team around it.
53+
54+
You focus on building great software.
55+
**Defang** gets it live.
56+
57+
## Try Defang Now
58+
59+
- Deploy your full-stack app with a single command
60+
- Explore [samples and templates](https://docs.defang.io/docs/samples)
61+
- Join our [Discord community](https://discord.gg/muaCHNBN6G)
62+
- Check out our [YouTube channel](https://www.youtube.com/@DefangLabs) for tutorials
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: "July 2025 Defang Compose Update"
3+
description: "Monthly product updates from the Defang team - July 2025"
4+
slug: 2025-08-12-product-update
5+
tags:
6+
[
7+
Cloud,
8+
NoDevOps,
9+
BYOC,
10+
GCP,
11+
AWS,
12+
AI,
13+
LLMs,
14+
Railpack,
15+
Cost Estimation,
16+
Defang Compose Update,
17+
]
18+
author: Defang Team
19+
---
20+
21+
![Defang Compose Update](/img/defang-compose-update.webp)
22+
23+
July was all about making cloud deployments even smoother and smarter. We focused on removing friction from deployments and giving you better visibility into costs. Railpack now builds production-ready images automatically when no Dockerfile is present, and our real-time cost estimation feature now supports Google Cloud alongside AWS. We also added managed MongoDB on GCP, introduced an Agentic LangGraph sample, and connected with builders at Bière & Code & Beer MTL. Here’s what’s new.
24+
25+
## Railpack Integration
26+
27+
We’ve integrated [Railpack](https://docs.defang.io/docs/concepts/railpack) into Defang to make deployments even smoother. Railpack automatically builds OCI-compliant images from your source code with minimal configuration. This helps eliminate one of the most common issues our users face: missing or invalid Dockerfiles, especially when they’re generated by LLMs or created by users with limited Docker experience. Now, if no Dockerfile is provided, Defang will seamlessly use Railpack to build a working image for you, so you can focus on your code, not your container setup.
28+
29+
## GCP Cost Estimation
30+
31+
In June, Defang announced real-time cost estimation for AWS. In July, we took our [live cloud cost estimation](https://docs.defang.io/docs/concepts/estimation) to the next level by extending support to GCP. Defang now makes it easy to compare real-time pricing for both cloud providers. All you need is your project's compose.yaml file. Whether you’re optimizing for cost, performance, or flexibility, Defang makes it easy to get the information you need to deploy with confidence.
32+
33+
## Managed MongoDB on GCP
34+
35+
Defang now supports [managed MongoDB](https://docs.defang.io/docs/concepts/managed-storage/managed-mongodb) on GCP through MongoDB-compatible APIs provided by Google Cloud. This integration allows you to spin up a fully managed Firestore datastore and interact with it just like a standard MongoDB instance without any manual setup or configuration.
36+
37+
## Agentic LangGraph Sample
38+
39+
We have published a new [Agentic LangGraph sample](https://github.com/DefangSamples/sample-agentic-langgraph-template/tree/main) project that demonstrates LangGraph agent deployment with Defang. As AI agent development grows, Defang makes it simple to deploy and scale agents, including those built with LangChain or LangGraph. You can explore the example to see how it works in practice.
40+
41+
## Events and Community
42+
43+
In July, we hosted the [Bière & Code & Beer MTL](https://www.linkedin.com/feed/update/urn:li:activity:7350573195004952578) during Startupfest in Montreal. It was an incredible evening with great energy, tech conversations, and the chance to connect with so many talented builders over drinks.
44+
45+
We are excited to see what you will deploy with Defang next. Join our [Discord](https://s.defang.io/discord) to ask questions, get support, and share your builds with the community.
46+
47+
More coming in August.

blog/2025-08-22-agentic-apps.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: "Deploying Agentic Apps to the Cloud Shouldn’t Be This Hard…"
3+
description: "Agentic apps, cloud-native infrastructure, and how Defang simplifies deployment"
4+
slug: agentic-apps
5+
tags:
6+
[Agentic Apps, AI, LLMs, Cloud, AWS, GCP, DigitalOcean, DevOps, Deployments]
7+
author: Defang Team
8+
---
9+
10+
![Agentic Apps](/img/agentic-apps/agentic-apps.png)
11+
12+
## Deploying Agentic Apps to the Cloud Shouldn’t Be This Hard…
13+
14+
Agentic apps are redefining how software is built: multi-agent workflows, persistent memory, tool-using LLMs, and orchestrated autonomy. But deploying them to the cloud is still painful - for example, your agentic app typically needs to provision:
15+
16+
- Managed databases like Postgres or MongoDB
17+
- Fast, scalable caching (hello Redis)
18+
- Containerized compute that scales
19+
- Secure networking and service discovery
20+
- Managed LLMs like AWS Bedrock or GCP Vertex AI
21+
22+
And for many teams, these apps must run inside the customer’s cloud, where sensitive data lives and compliance rules apply. That means you cannot just spin up your own environment and call it a day. Instead, you are deploying across AWS, GCP, DigitalOcean, or whichever stack your customers demand, each with its own APIs, quirks, and limitations.
23+
24+
Now you are not just building agents; you are picking the right infrastructure, rewriting IaC templates for every provider, and untangling the edge cases of each cloud.
25+
26+
The result: weeks of DevOps headaches, lost momentum, and engineers stuck wiring infrastructure instead of shipping agents.
27+
28+
## We Made it Simple with Cloud Native Support for Agentic Apps
29+
30+
That’s where Defang comes in. We make it easy to deploy full-stack agentic apps to your cloud of choice: native, secure, and scalable.
31+
Defang understands the common ingredients of agentic apps and makes them first-class citizens:
32+
33+
- Compute: Your Dockerized services deploy as cloud-native workloads (e.g. AWS ECS, or GCP Cloud Run)
34+
- Databases: Provision managed Postgres or MongoDB with one config line
35+
- Caching: Add Redis and Defang spins up a managed Redis instance in your cloud
36+
- LLMs: Integrate directly with Bedrock or Vertex AI - even provision an OpenAI gateway for compatibility with OpenAI APIs.
37+
- Secure Defaults: : TLS, secrets, IAM, and service accounts handled out of the box
38+
39+
## Built for All your Favorite Agentic Frameworks
40+
41+
Defang works seamlessly with leading agentic frameworks. Try them out with our ready-to-deploy samples:
42+
43+
- [Autogen](https://github.com/DefangLabs/samples/tree/main/samples/agentic-autogen) - demo featuring Mistral AI + FastAPI, deployable with Defang’s OpenAI Access Gateway.
44+
- [CrewAI](https://docs.defang.io/blog/2025/06/16/crew-ai-sample) - sample app showing multi-agent orchestration in action.
45+
- [LangGraph](https://github.com/DefangLabs/samples/tree/main/samples/agentic-langgraph) - workflow sample that defines and controls multi-step agentic graphs with LangChain.
46+
- [Agentic Strands](https://github.com/DefangSamples/sample-agentic-strands-template/tree/main) - A Strands Agent application.
47+
48+
49+
More framework templates coming soon.
50+
51+
## Why It Matters
52+
53+
Agentic apps need to be fast, secure, and ready to scale. Defang delivers cloud-native deployments in your environment (AWS, GCP, DO), so you can move from idea to production quickly with consistent behavior across dev, test, and prod.
54+
55+
## The Developer Journey, Simplified
56+
57+
1. Build your agentic app locally using Docker Compose
58+
2. Test in Defang's free playground with `defang compose up`
59+
3. Deploy to your cloud:
60+
61+
```bash
62+
defang compose up --provider=aws # or gcp, digitalocean
63+
```
64+
65+
It just works. No Terraform. No YAML explosion. No vendor lock-in.
66+
67+
## The Future of AI Apps Is Agentic and Cloud-Native
68+
69+
Agility and scalability should not be a trade-off. With Defang, you get both. Developers focus on agents, tools, and outcomes. Defang takes care of the cloud infrastructure.
70+
71+
## Try it out
72+
73+
Explore more samples at [docs.defang.io](https://docs.defang.io)
74+
Join our community on [Discord](https://s.defang.io/discord)

0 commit comments

Comments
 (0)