Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Integrating Scaleway Generative APIs with popular AI tools
description: Learn how to integrate Scaleway's Generative APIs with popular AI tools to unlock the full potential of your applications.
tags: generative-apis ai language-models
dates:
validation: 2025-02-18
validation: 2025-08-26
posted: 2025-02-18
---

Expand Down Expand Up @@ -63,6 +63,10 @@ response = client.chat.completions.create(
print(response.choices[0].message.content)
```

<Message type="tip">
You can also use the [Responses API](https://www.scaleway.com/en/developers/api/generative-apis/#technical-information) as an alternative to Chat Completions, but note that Scaleway's support of this API is currently at beta stage.
</Message>

## LangChain (RAG & LLM applications)

LangChain is a popular library for building AI applications. Scaleway's Generative APIs support LangChain for both inference and embeddings.
Expand Down Expand Up @@ -158,7 +162,7 @@ LlamaIndex is an open-source framework for building Large Language Models (LLMs)
Make sure to replace `<API secret key>` with your actual API key.
</Message>

3. You can then interact with the LLM by sending messages to the model with the following code:
3. Interact with the LLM by sending messages to the model with the following code:
```python
response = llm.chat([ChatMessage("Could you tell me about Scaleway please ?")])
print(response)
Expand Down
2 changes: 1 addition & 1 deletion pages/managed-inference/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Managed Inference FAQ
description: Get answers to the most frequently asked questions about Scaleway Managed Inference.
dates:
validation: 2025-02-12
validation: 2025-08-26
productIcon: InferenceProductIcon
---

Expand Down
Binary file modified pages/vpc/assets/scaleway-attach-resource.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pages/vpc/how-to/assets/scaleway-attach-resource.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 20 additions & 28 deletions pages/vpc/how-to/attach-resources-to-pn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ title: How to attach resources to a Private Network
description: This page explains how to attach resources to a Private Network in a Scaleway VPC
tags: regional-private-network private-network vpc virtual-private-cloud attach detach resources regional
dates:
validation: 2025-02-20
validation: 2025-08-26
posted: 2023-03-21
---
import Requirements from '@macros/iam/requirements.mdx'

import image from './assets/scaleway-pn-overview.webp'
import image2 from './assets/scaleway-pn-attached-resources.webp'
import image3 from './assets/scaleway-attach-resource.webp'
import image4 from './assets/scaleway-attach-custom.webp'
import image5 from './assets/scaleway-attached-resources.webp'
import PNAttachedResources from './assets/scaleway-pn-attached-resources.webp'
import AttachResource from './assets/scaleway-attach-resource.webp'
import AttachCustomResource from './assets/scaleway-attach-custom.webp'


VPC allows you to build your own **V**irtual **P**rivate **C**loud on top of Scaleway's shared public cloud. Within each VPC, you can create multiple **Private Networks** and attach Scaleway resources to them, as long as the resources are in an AZ within the network's region. Attached resources can then communicate between themselves in an isolated and secure layer 2 network, away from the public internet.
Expand Down Expand Up @@ -56,28 +54,26 @@ The following resource types can be attached to a Private Network:

3. Click the Private Network to which you want to attach a resource.

The Private Network's dashboard displays.
The Private Network's **Attached Resources** tab displays.

<Lightbox image={image} alt="" />
<Lightbox image={PNAttachedResources} alt="" />

4. Click the **Attached resources** tab.

<Lightbox image={image2} alt="" />

5. Use the toggle to select the type of resource you want to attach:
<Message type="tip">
You can use the toggle to view the different types of resources already attached to this Private Network:

- **Managed** resources are created and managed via Scaleway, e.g. Instances, Elastic Metal servers, Load Balancers, Managed Databases, Kubernetes Kapsules, Public Gateways, Apple silicon etc.
- **Custom** resources are created and managed by yourself, e.g. virtual machines you are hosting on a Proxmox cluster on an Elastic Metal server.
</Message>

6. Click **+ Attach resource**. A pop-up displays.
4. Click **+ Attach resource**. A pop-up displays.

7. Complete the required information about the resource to attach. This depends on whether you are attaching a managed or custom resource.
5. Complete the required information about the resource to attach. This depends on whether you are attaching a managed or custom resource.

<Tabs id="attach-resource">

<TabsTab label="Managed resource">

<Lightbox image={image3} alt="" />
<Lightbox image={AttachResource} alt="" />

- From the first drop-down, select the **type** of managed resource (Instance, Elastic Metal server etc.) to attach.
- From the second drop-down, select the **specific resource** of this type to attach. Only resources within the same region as the Private Network will be displayed.
Expand All @@ -90,7 +86,7 @@ The following resource types can be attached to a Private Network:

<TabsTab label="Custom resource">

<Lightbox image={image4} alt="" />
<Lightbox image={AttachCustomResource} alt="" />

<Message type="important">
This method is intended for custom resources such as VMs hosted on Elastic Metal. Do **not** attempt to attach a managed resource, such as an Instance, via this method - use the **Managed resource** attachment instead.
Expand All @@ -102,7 +98,7 @@ The following resource types can be attached to a Private Network:
</TabsTab>
</Tabs>

8. Click **Attach to Private Network** to finish.
6. Click **Attach to Private Network** to finish.

You are returned to the list of attached resources, where the newly-attached resource now displays.

Expand All @@ -129,9 +125,9 @@ When you attach a resource to a Private Network, it gets a private IPv4 address

No matter whether it is auto-allocated or pre-reserved, the IP remains stable for as long as the resource is attached to the Private Network, and does not risk changing even across reboots and long poweroffs. An auto-allocated IP is lost only when you delete the resource or detach it from the Private Network. Reserved IPs remain reserved even after you delete the resource or detach it from the Private Network, until you [release the address](/ipam/how-to/reserve-ip/#how-to-release-a-reserved-private-ip-address).

You can view a resource's IPv4 or v6 address in the **Attached Resources** tab of the Private Network itself (follow steps 1 - 5 above).
You can view a resource's IPv4 or v6 address in the **Attached Resources** tab of the Private Network itself (follow steps 1 - 3 above).

<Lightbox image={image5} alt="" />
<Lightbox image={PNAttachedResources} alt="" />

It can also be viewed via the **Private Networks** tab of the resource's own dashboard.

Expand Down Expand Up @@ -169,20 +165,16 @@ For full information on Scaleway internal DNS and hostname formats, including tr

3. Click the Private Network from which you want to detach a resource.

4. Click the **Attached resources** tab.

The Private Network's dashboard displays.

5. Click the **Attached resources** tab.
The Private Network's **Attached Resources** tab displays.

6. Use the toggle to select the type of resource you want to detach:
4. Use the toggle to select the type of resource you want to detach:

- **Managed** resources are created and managed via Scaleway, e.g. Instances, Elastic Metal servers, Load Balancers, Managed Databases, Kubernetes Kapsules, Public Gateways, Apple silicon etc.
- **Custom** resources are created and managed by yourself, e.g. virtual machines you are hosting on a Proxmox cluster on an Elastic Metal server.

7. Click the <Icon name="unlink" /> icon next to the resource you want to detach.
5. Click the <Icon name="unlink" /> icon next to the resource you want to detach.

8. Click **Detach resource** when prompted to confirm.
6. Click **Detach resource** when prompted to confirm.

<Message type="tip">
You can also detach a managed resource to a Private Network from the resource's own section of the console.
Expand Down
2 changes: 1 addition & 1 deletion pages/vpc/troubleshooting/cant-delete-vpc-pn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: I can't delete my VPC or Private Network
description: Resolve issues deleting your Scaleway VPC or Private Network with this troubleshooting guide. Find solutions to common errors and get back to managing your infrastructure.
tags: vpc private-network delete resources ipam error
dates:
validation: 2025-02-21
validation: 2025-08-26
posted: 2025-02-21
---
import image from './assets/scaleway-vpc-pns.webp'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: I am experiencing connectivity or routing issues with my VPC or Private N
description: Troubleshoot access and connectivity issues with your Scaleway VPC or Private Network. Learn how to resolve common problems and get your network up and running smoothly.
tags: vpc private-network access connectivity ssh ip
dates:
validation: 2025-02-21
validation: 2025-08-26
posted: 2025-02-21
---

Expand Down