Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vpc): add first use case #4140

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

feat(vpc): add first use case #4140

wants to merge 9 commits into from

Conversation

RoRoJ
Copy link
Contributor

@RoRoJ RoRoJ commented Dec 20, 2024

Add first VPC use case

@RoRoJ RoRoJ added type: new content New pages or categories do not merge PR that shouldn't be merged before a specific date (eg release) labels Dec 20, 2024
network/vpc/reference-content/use-case-basic.mdx Outdated Show resolved Hide resolved
network/vpc/reference-content/use-case-basic.mdx Outdated Show resolved Hide resolved
network/vpc/reference-content/use-case-basic.mdx Outdated Show resolved Hide resolved
network/vpc/reference-content/use-case-basic.mdx Outdated Show resolved Hide resolved
network/vpc/reference-content/use-case-basic.mdx Outdated Show resolved Hide resolved
network/vpc/reference-content/use-case-basic.mdx Outdated Show resolved Hide resolved

The architecture diagram below shows the infrastructure for this use-case.

<Lightbox src="scaleway-vpc-infra-1.webp" size="large" alt="An architecture diagram shows how a Load Balancer inside a Scaleway VPC is attached to a Private Network. Also attached to the Private Network are three Instances (connected to Block Storage), a Managed Database, and a Public Gateway. Users access resources via a domain name which a Domains and DNS entry points to the Load Balancer's public flexible IP address. The Load Balancer distributes requests to the three Instances, which do not have public IP addresses. Instances can privately retrieve and store data in the Managed Database and Block Storage. The Public Gateway also has a flexible IP address, which allows admins to connect to resources in the Private Network via SSH bastion. The gateway's public flexible IP also allows connections to Scaleway resources outside the VPC, e.g. Object Storage, Transactional Email, Nats, Queues, Topics and Events, Serverless products, and Secret Manager." />
Copy link
Contributor

Choose a reason for hiding this comment

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

"Users access resources via a domain name which a Domains and DNS entry points to the Load Balancer's public flexible IP address." I feel like something is missing between "which" and "a Domains and DNS"


### Cost control

Creating Scaleway resources without their own public IP addresses saves money, as these addresses are billed resource, while the creation, configuration and assignment of IP addresses from a Private Network is free of charge.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Creating Scaleway resources without their own public IP addresses saves money, as these addresses are billed resource, while the creation, configuration and assignment of IP addresses from a Private Network is free of charge.
Creating Scaleway resources without their own public IP addresses saves money, as these addresses are billed resources, while the creation, configuration and assignment of IP addresses from a Private Network is free of charge.

Follow the steps below to create this infrastructure using the [Scaleway console](https://console.scaleway.com/organization):

1. [Create a VPC](/network/vpc/how-to/create-vpc/) (or use the [default VPC](/network/vpc/how-to/create-vpc/#how-to-identify-your-default-vpcs) pre-created for each Scaleway Project in the appropriate [region](/network/vpc/concepts/#region-and-availability-zone)).
2. [Create a Private Network](/network/vpc/how-to/create-private-network/) inside the VPC. You can either let Scaleway create the network with an auto-generate subnet, which will provide the private IP addresses for attached resources, or specify a self-defined subnet.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
2. [Create a Private Network](/network/vpc/how-to/create-private-network/) inside the VPC. You can either let Scaleway create the network with an auto-generate subnet, which will provide the private IP addresses for attached resources, or specify a self-defined subnet.
2. [Create a Private Network](/network/vpc/how-to/create-private-network/) inside the VPC. You can either let Scaleway create the network with an auto-generated subnet, which will provide the private IP addresses for attached resources, or specify a self-defined subnet.

2. [Create a Private Network](/network/vpc/how-to/create-private-network/) inside the VPC. You can either let Scaleway create the network with an auto-generate subnet, which will provide the private IP addresses for attached resources, or specify a self-defined subnet.
3. [Create a Public Gateway](/network/public-gateways/how-to/create-a-public-gateway/) (set it to advertise the [default route](/network/public-gateways/concepts/#default-route)) and [attach it to the Private Network](/network/public-gateways/how-to/configure-a-public-gateway/#how-to-attach-a-public-gateway-to-a-private-network).
4. [Set up SSH bastion](/network/public-gateways/how-to/use-ssh-bastion/) on the Public Gateway, to allow administrator access.
5. [Create a Managed Database](/managed-databases/postgresql-and-mysql/how-to/create-a-database/)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
5. [Create a Managed Database](/managed-databases/postgresql-and-mysql/how-to/create-a-database/)
5. [Create a Managed Database](/managed-databases/postgresql-and-mysql/how-to/create-a-database/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge PR that shouldn't be merged before a specific date (eg release) type: new content New pages or categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants