Skip to content

Commit e998b41

Browse files
committed
number steps for headings
1 parent aa31452 commit e998b41

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/tutorials/deploy-using-pulumi.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ This tutorial will show you how to deploy Minio with Pulumi using the Defang Pro
2020
* [The Defang CLI](/docs/getting-started#install-the-defang-cli)
2121
* [The Defang Pulumi Provider](/docs/concepts/pulumi#install-the-defang-pulumi-provider)
2222

23-
## Authenticate With Defang
23+
## Step 1 - Authenticate With Defang
2424

2525
Make sure you are logged into the [Defang CLI](/docs/concepts/authentication.md). Don't worry about the Pulumi CLI for now.
2626

27-
## Configure the Pulumi Backend
27+
## Step 2 - Configure the Pulumi Backend
2828

2929
Navigate to your project directly. (If you don't have a project yet, try one of our [samples](https://defang.io/#samples))
3030

@@ -39,7 +39,7 @@ pulumi login file://./
3939

4040
This will make the Pulumi CLI store the state of your infrastructure in the current directory.
4141

42-
## Initialize the Pulumi Project
42+
## Step 3 - Initialize the Pulumi Project
4343

4444
Run the following command to set your encryption passphrase for this terminal session:
4545

@@ -61,7 +61,7 @@ Run the following command to add to the `.gitignore` file:
6161
echo ".pulumi" >> .gitignore
6262
```
6363

64-
## Write Your Pulumi Code
64+
## Step 4 - Write Your Pulumi Code
6565

6666
Create an `index.ts` file to contain your Pulumi code. This code will describe our services, our service's dependencies, and our service's configuration.
6767

@@ -107,23 +107,23 @@ export const service = new defang.DefangService('minio', {
107107
});
108108
```
109109

110-
## Deploy to Defang
110+
## Step 5 - Deploy to Defang
111111

112112
Now we're ready to deploy to Defang with Pulumi! Run the following command to deploy your service:
113113

114114
```bash
115115
pulumi up --stack=dev
116116
```
117117

118-
## Monitor the Deployment
118+
## Step 6 - Monitor the Deployment
119119

120120
You can monitor the deployment by running the following command:
121121

122122
```bash
123123
defang tail --name minio
124124
```
125125

126-
## Logging Into Minio
126+
### Logging Into Minio
127127

128128
The [Defang Playground](../concepts/defang-playground.md) will give you a domain, which you can obtain by running the following command:
129129

@@ -133,14 +133,14 @@ defang ls | grep 'minio.*9001'
133133

134134
If you navigate to the domain in your browser, you will be prompted to log in. Use the username `minio` and the password `minio123`.
135135

136-
## Clean Up
136+
### Clean Up
137137

138138
To clean up the deployment, run the following command:
139139

140140
```bash
141141
pulumi destroy --stack=dev
142142
```
143143

144-
## More Info
144+
---
145145

146146
See the [Pulumi concept docs](/docs/concepts/pulumi) for more information about the Defang Pulumi Provider.

0 commit comments

Comments
 (0)