Skip to content

Add Azure Blob Storage service doc#476

Open
paolosalvatori wants to merge 7 commits intomainfrom
paolosalvatori/blob-storage
Open

Add Azure Blob Storage service doc#476
paolosalvatori wants to merge 7 commits intomainfrom
paolosalvatori/blob-storage

Conversation

@paolosalvatori
Copy link
Copy Markdown
Contributor

Fixes DOC-96

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 4, 2026

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: dc9657a
Status: ✅  Deploy successful!
Preview URL: https://d4af12b7.localstack-docs.pages.dev
Branch Preview URL: https://paolosalvatori-blob-storage.localstack-docs.pages.dev

View logs

@paolosalvatori
Copy link
Copy Markdown
Contributor Author

Hi @HarshCasper / @quetzalliwrites please review this PR, thanks.


`azlocal stop-interception`

This reconfigures the `az` CLI to send commands to the official Azure management REST API. At this time, there is no full parity between `azlocal` and `az` commands after running `az start-interception`. Therefore, this technique is not fully interchangeable.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This reconfigures the `az` CLI to send commands to the official Azure management REST API. At this time, there is no full parity between `azlocal` and `az` commands after running `az start-interception`. Therefore, this technique is not fully interchangeable.
This reconfigures the `az` CLI to send commands to the official Azure management REST API

Create a resource group to contain your storage resources:

```bash
azlocal group create \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
azlocal group create \
az group create \

Create a storage account in the resource group:

```bash
azlocal storage account create \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
azlocal storage account create \
az storage account create \

...
"placement": null,
"primaryEndpoints": {
"blob": "https://stblobdemolsblob.localhost.localstack.cloud:4566",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"blob": "https://stblobdemolsblob.localhost.localstack.cloud:4566",
"blob": "https://stblobdemols.blob.core.azure.localhost.localstack.cloud:456",

Comment on lines +83 to +84
"container": "https://stblobdemolscontainer.localhost.localstack.cloud:4566",
...
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"container": "https://stblobdemolscontainer.localhost.localstack.cloud:4566",
...

```bash
echo "Hello from LocalStack" > /tmp/hello.txt

azlocal storage blob upload \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
azlocal storage blob upload \
az storage blob upload \

List blobs in the container:

```bash
azlocal storage blob list \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
azlocal storage blob list \
az storage blob list \

Download the blob to a local file:

```bash
azlocal storage blob download \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
azlocal storage blob download \
az storage blob download \

Delete the blob:

```bash
azlocal storage blob delete \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
azlocal storage blob delete \
az storage blob delete \


This guide is designed for users new to Blob Storage and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script.

Start your LocalStack container using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/).
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Start your LocalStack container using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/).
Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running:
```bash
azlocal start-interception
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant