Skip to content

Commit 66caa8b

Browse files
SamyOubouazizRoRoJ
andauthored
chore(gen): doc review + typos MTA-5259 (#3981)
* chore(gen): doc review + typos MTA-5259 * Update serverless/functions/concepts.mdx Co-authored-by: Rowena Jones <[email protected]> --------- Co-authored-by: Rowena Jones <[email protected]>
1 parent cc28bc5 commit 66caa8b

File tree

13 files changed

+29
-29
lines changed

13 files changed

+29
-29
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Relationship between VCPU and RAM rationalized
2+
title: Relationship between vCPU and RAM rationalized
33
status: changed
44
author:
55
fullname: 'Join the #serverless-containers channel on Slack.'
@@ -9,5 +9,5 @@ category: serverless
99
product: containers
1010
---
1111

12-
Serverless Containers now imposes constraints on RAM based on the selected VCPU. This is in order to promote coherent usage of memory and power.
12+
Serverless Containers now imposes constraints on RAM based on the selected vCPU. This is in order to promote coherent usage of memory and power.
1313

changelog/serverless/october2022/2022-10-13-containers-added-memory-cpu.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ category: serverless
99
product: containers
1010
---
1111

12-
New tiers for Serverless Containers (3GB/1680 mVCPU & 4GB/2240 mVCPU) available.
12+
New tiers for Serverless Containers (3GB/1680 mvCPU & 4GB/2240 mvCPU) available.

faq/serverless-containers.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Serverless Containers are billed on a pay-as-you-go basis, strictly on resource
5656
|--------------------------- |-------------- |
5757
| Monthly duration | 30 000 000 s |
5858
| Amount of memory allocated | 128 MB |
59-
| Amount of vCPU allocated | 70 mVCPU |
59+
| Amount of vCPU allocated | 70 mvCPU |
6060
| Free tier | Yes |
6161

6262
#### Price calculation
@@ -68,7 +68,7 @@ Serverless Containers are billed on a pay-as-you-go basis, strictly on resource
6868
* *Billed resources:* 3 750 000 - 400 000 = 3 350 000 GB-s
6969
* *Cost:* 3 350 000 * €0.0000010 = **€3.35**
7070
* **vCPU consumption**
71-
* *Allocated vCPU conversion:* 70mVCPU = 0.070 vCPU
71+
* *Allocated vCPU conversion:* 70mvCPU = 0.070 vCPU
7272
* *Resource consumption:* 30 000 000 s * 0.070 vCPU = 2 100 000 vCPU-s
7373
* *Free tier:* 200 000 vCPU-s
7474
* *Billed resources:* 2 100 000 - 200 000 = 1 900 000 vCPU-s

faq/serverless-jobs.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Serverless Jobs are billed on a pay-as-you-go basis, strictly on resource consum
5454
|--------------------------- |------------------|
5555
| Monthly duration | 432 000 s (120h) |
5656
| Amount of memory allocated | 2048 MB |
57-
| Amount of vCPU allocated | 1120 mVCPU |
57+
| Amount of vCPU allocated | 1120 mvCPU |
5858
| Free tier | Yes |
5959

6060
#### Price calculation
@@ -66,7 +66,7 @@ Serverless Jobs are billed on a pay-as-you-go basis, strictly on resource consum
6666
* *Billed resources:* 864 000 - 400 000 = 464 000 GB-s
6767
* *Cost:* 464 000 * €0.0000010 = **€0.47**
6868
* **vCPU consumption**
69-
* *Allocated vCPU conversion:* 1120 mVCPU = 1.12 vCPU
69+
* *Allocated vCPU conversion:* 1120 mvCPU = 1.12 vCPU
7070
* *Resource consumption:* 432 000 s * 1.12 vCPU = 483 840 vCPU-s
7171
* *Free tier:* 200 000 vCPU-s
7272
* *Billed resources:* 483 840 - 200 000 = 283 840 vCPU-s

serverless/containers/concepts.mdx

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ content:
77
paragraph: Key concepts of Scaleway Serverless Containers.
88
tags: containers cold-start concurrency container-registry gbs environment-variables jwt vcpu
99
dates:
10-
validation: 2024-05-06
10+
validation: 2024-11-14
1111
categories:
1212
- serverless
1313
---
@@ -19,7 +19,7 @@ Cold start is the time a Container takes to handle a request when it is called f
1919
Startup process steps are:
2020
* Downloading the container image to our infrastructure
2121
* Starting the container. Optimize your container startup speed to minimize this step (e.g., avoid waiting for slow connections or downloading large objects at startup)
22-
* Waiting for the containeer to listen on the configured port.
22+
* Waiting for the container to listen on the configured port.
2323

2424
[How to reduce cold starts](/faq/serverless-containers/#how-can-i-reduce-the-cold-starts-of-serverless-containers)
2525

@@ -29,7 +29,7 @@ Concurrency defines the number of simultaneous requests a single instance of you
2929

3030
## Container
3131

32-
A container is a package of software that includes all dependencies: code, runtime, configuration, and system libraries so that it can run on any host system. Scaleway provides custom Docker images that are entirely handled for you in the cloud. With Containers, you can rely on your favorite technologies such as Django or Ruby on Rails.
32+
A container is a package of software that includes all dependencies: code, runtime, configuration, and system libraries so that it can run on any host system. Scaleway provides custom Docker images that are entirely handled for you in the cloud. With Containers, you can rely on your favorite technologies such as Django, or Ruby on Rails.
3333

3434
## Container Registry
3535

@@ -41,11 +41,11 @@ A CRON trigger is a mechanism used to automatically invoke a Serverless Function
4141

4242
## Environment variables
4343

44-
An environment variable is a variable whose value is set outside the program, typically through functionality built into the operating system or microservice. An environment variable is made up of a name/value pair, and any number may be created and available for reference at a point in time.
44+
An environment variable is a variable whose value is set outside the program, typically through functionality built into the operating system, or microservice. An environment variable is made up of a name/value pair, and any number may be created and available for reference at a point in time.
4545

4646
## Ephemeral storage
4747

48-
In addition to VCPU and RAM, Serverless Containers also provide a storage volume for the duration of the task. This storage space allows to hold the data retrieved by the job, and disappears once the execution is complete. The maximum size of the ephemeral storage is tied to the allocated memory.
48+
In addition to vCPU and RAM, Serverless Containers also provide a storage volume for the duration of the task. This storage space allows to hold the data retrieved by the job, and disappears once the execution is complete. The maximum size of the ephemeral storage is tied to the allocated memory.
4949

5050
## GB-s
5151

@@ -59,9 +59,9 @@ An image is a blueprint from which an arbitrary number of brand-new containers c
5959

6060
JWT (JSON Web Token) is an access token you can create from the console or API to enable an application to access your Private Container. Consult the [Developer documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-tokens) for more details.
6161

62-
## mVCPU
62+
## mvCPU
6363

64-
A vCPU (Virtual Central Processing Unit) is equivalent to 1000 mVCPU.
64+
A [vCPU](#vcpu) (Virtual Central Processing Unit) is equivalent to 1000 mvCPU.
6565

6666
## Namespace
6767

serverless/functions/concepts.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ meta:
55
content:
66
h1: Functions - Concepts
77
paragraph: Learn the core concepts and principles behind Scaleway's Serverless Functions.
8-
tags: functions cold-start environment-variables gbs jwt handler serverless
8+
tags: functions cold-start environment-variables gbs jwt handler serverless concept definition
99
dates:
10-
validation: 2024-05-06
10+
validation: 2024-11-14
1111
categories:
1212
- serverless
1313
---
1414

1515
## Cold Start
1616

17-
Cold Start is the time a Fuction takes to handle a request when it is called for the first time.
17+
Cold Start is the time a function takes to handle a request when it is called for the first time.
1818

1919
Startup process steps are:
2020
* Downloading the container image (which contains the built Function) to our infrastructure
@@ -68,13 +68,13 @@ The runtime is the execution environment of your function. Regarding Serverless
6868

6969
## Sandbox
7070

71-
A sandbox is an isolation area for your container. Serverless Containers offer two sandboxing environments:
71+
A sandbox is an isolation area for your function. Serverless Functions offer two sandboxing environments:
7272
- **v2** - Recommended for faster cold starts.
7373
- **v1** - Legacy sandboxing with slower cold start, but fully supports Linux system call interface.
7474

7575
## Scale to zero
7676

77-
One of the advantages of Serverless Function is that when your function is not triggered, it does not consume any resources, which allows great savings.
77+
One of the advantages of Serverless Functions is that when your function is not triggered, it does not consume any resources, which allows for significant savings.
7878

7979
## Scaling
8080

serverless/jobs/concepts.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ content:
77
paragraph: Key concepts of Scaleway Serverless Jobs.
88
tags: jobs serverless-jobs definition glossary execution run
99
dates:
10-
validation: 2024-05-06
10+
validation: 2024-11-14
1111
categories:
1212
- serverless
1313
---

serverless/jobs/how-to/monitor-job.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Make sure that you have created a Grafana user and [retrieved their username and
3636
2. Click the name of the job you want to monitor. The **Overview** tab displays:
3737
- The **Job definition** section contains the parameters of your Serverless job, and provides the following elements:
3838
- Region
39-
- Provisioned mVCPU and memory
39+
- Provisioned mvCPU and memory
4040
- Provisioned ephemeral storage
4141
- Container image used
4242
- Cron schedule

serverless/jobs/reference-content/jobs-limitations.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This section contains usage limits that apply when using Serverless Jobs.
2323
| Number of job definitions max | 1000 | Organization |
2424
| Max parallel jobs | 400 | Organization |
2525
| Max ephemeral storage | 10 GB | Job run |
26-
| CPU max | 6 VCPU | Job run |
26+
| CPU max | 6 vCPU | Job run |
2727
| Memory max | 16 GB | Job run |
2828
| Timeout | 24h | Job run |
2929

serverless/sql-databases/concepts.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ content:
77
paragraph: Detailed explanation of concepts and architecture behind Scaleway's serverless SQL databases.
88
tags: sql databases serverless
99
dates:
10-
validation: 2024-05-06
10+
validation: 2024-11-14
1111
categories:
1212
- serverless
1313
---
@@ -22,7 +22,7 @@ Autoscaling can automatically scale your database resources up or down, dependin
2222

2323
## Backup
2424

25-
A database backup is a copy of the data stored in the database (including data structure, such as tables). Database backups in Serverless SQL Databases are logical backups (as opposed to raw disk volume backups, also called "snapshots"). Database backups can be restored in the current database or any other PostgreSQL database and, allow recovery from database crashes, data corruption, or data loss.
25+
A database backup is a copy of the data stored in the database (including data structure, such as tables). Database backups in Serverless SQL Databases are logical backups (as opposed to raw disk volume backups, also called "snapshots"). Database backups can be restored in the current database or any other PostgreSQL database, and allow recovery from database crashes, data corruption, or data loss.
2626

2727
## Cold start
2828

@@ -34,7 +34,7 @@ Connection pooling is the process of mutualizing client connections used to conn
3434

3535
## Credentials
3636

37-
Credentials are the login and password (also called "username" and "password" in PostgreSQL vocabulary) used by a user or an application to connect to a database. With Scaleway Serverless SQL Databases, logins are [IAM principal IDs](/identity-and-access-management/iam/concepts/#principal) and passwords are [IAM secret keys](/identity-and-access-management/iam/concepts/#api-key).
37+
Credentials are the login and password (also called "username" and "password" in PostgreSQL vocabulary) used by a user, or an application to connect to a database. With Scaleway Serverless SQL Databases, logins are [IAM principal IDs](/identity-and-access-management/iam/concepts/#principal) and passwords are [IAM secret keys](/identity-and-access-management/iam/concepts/#api-key).
3838

3939
## Database engine
4040

styles/Vocab/Scaleway/accept.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ KubeConfig
4444
MiniKube
4545
ReplicaSet
4646
Docker
47-
mVCPU
47+
mvCPU
4848
JWT
4949
vCPU
5050
ACL

tutorials/deploy-umami-on-serverless-containers/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Umami is a simple, easy-to-use, self-hosted web analytics solution. It provides
7373
2. Click **+ Deploy a Container**. The container deployment wizard displays.
7474
3. Choose the namespace you pushed the image to and select the `umami:postgresql-latest` image. Set the value for the port to `3000`.
7575
4. Enter a name for your container. Optionally, you can enter a container description.
76-
5. Select the resources you want to allocate to the container. The resources to allocate depend on the intended load of your application. In this tutorial we use **128 MB - 70 mVCPU**.
76+
5. Select the resources you want to allocate to the container. The resources to allocate depend on the intended load of your application. In this tutorial we use **128 MB - 70 mvCPU**.
7777
6. Configure the minimum and maximum values to autoscale the number of available instances for your container.
7878
7. Set the Secrets. Secrets are an extra-secure type of environment variables that are injected into your container and stored securely:
7979
<Lightbox src="scaleway-serverless-secrets.webp" alt="" />

tutorials/transform-bucket-images-triggers-functions-deploy/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ You will now learn how to deploy Serverless Functions and connect them using tri
324324
3. Select **NodeJS 20**.
325325
4. Select **Upload a ZIP** and upload the **BucketScan.zip** archive previously created.
326326
5. Name the function **bucketscan**.
327-
6. Set **resources** to 1024 MB - 560 mVCPU.
327+
6. Set **resources** to 1024 MB - 560 mvCPU.
328328
7. Enter the following **environment variables**:
329329
- `SQS_ENDPOINT`: the endpoint of Messaging and Queuing SQS (which you previously activated).
330330
- `QUEUE_URL`: the URL of the Queue previously created.
@@ -363,7 +363,7 @@ You will now learn how to deploy Serverless Functions and connect them using tri
363363
3. Select **NodeJS 20**.
364364
4. Select **Upload a ZIP** and upload the **ImageTransform.zip** archive previously created.
365365
5. Name the function **imagetransform**.
366-
6. Set **resources** to 1024 MB - 560 mVCPU.
366+
6. Set **resources** to 1024 MB - 560 mvCPU.
367367
7. Enter the following **environment variables**:
368368
- `RESIZED_WIDTH`: the width (in pixels) you want to resize your images to.
369369
- `DESTINATION_BUCKET`: the name of your destination bucket (e.g.: `dest-images-<YOUR_NAME>`).

0 commit comments

Comments
 (0)