You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/content/doc-cloud/advanced-topics/configure-an-instance.mdx
+28-38
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ import InstanceCapabilities from "@img/image/cloud/instance-capabilities.png";
17
17
18
18
# Configure an Instance
19
19
20
-
You can configure your Instance in the Surreal Cloud dashboard by clicking on the **Configure** button on the Instance card.
20
+
After you have created an Instance, you can configure it to your needs. This includes changing the Instance type, compute nodes, and capabilities. To do this, click on the **Configure Instance** button on the Instance card; this will open up a configuration drawer.
21
21
22
22
<Image
23
23
alt="Configure an Instance"
@@ -27,64 +27,51 @@ src={{
27
27
}}
28
28
/>
29
29
30
-
## Configuration options
30
+
## Instance Configuration
31
31
32
-
From the **Configure** modal, you can change the following settings:
32
+
In the Instance configuration drawer, you can change the following settings:
33
33
34
+
-**Capabilities**: the capabilities of the Instance, this controls the functionality available to users such as scripting, guest access, enabled endpoints for RPC and HTTP endpoints. You can also opt into beta features and restrict access to specific resources.
35
+
-**Version**: the version of SurrealDB that will be used for the Instance. If you a new version is available, you will be prompted to upgrade and also see the release notes.
34
36
-**Instance type**: the type of the Instance.
35
37
-**Compute nodes**: the number of compute nodes to use.
36
-
-**Capabilities**: the capabilities of the Instance.
37
38
38
-
You can also access the Instance hostname and delete the Instance from this modal.
39
+
### Instance capabilities
39
40
40
-
### Instance type
41
+
The capabilities you choose will determine the features available to your Instance. This includes scripting, guest access, enabled endpoints for RPC and HTTP and more. For RPC methods, HTTP endpoints and preview features, you can leave pick one of the following options:
41
42
42
-
While the Instance type you choose will determine the compute and memory available to your Instance. When you hit the **0.25 vCPU** / **512MB memory** free tier limit, you can upgrade your plan to a higher tier using this option.
43
+
-**Managed default**: SurrealDB will manage the endpoints for you.
44
+
-**Allow all by default**: All endpoints are allowed by default and you can then select which endpoints to deny.
45
+
-**Deny all by default**: All endpoints are denied by default and you can then select which endpoints to allow.
43
46
44
-
First, select the **Instance type** option which will open a modal to select the tier you want to upgrade to as shown below. Depending on the tier you choose, and the resources you have allocated, you will be billed accordingly.
47
+
On the other hand network access and functions provide a more granular control over the endpoints.
45
48
46
49
<Image
47
-
alt="Instance Type"
48
-
src={{
49
-
light: InstanceType,
50
-
dark: InstanceType,
51
-
}}
52
-
/>
53
-
54
-
<Image
55
-
alt="Instance Type"
50
+
alt="Configure an Instance"
56
51
src={{
57
-
light: InstanceTypeModal,
58
-
dark: InstanceTypeModal,
52
+
light: InstanceCapabilities,
53
+
dark: InstanceCapabilities,
59
54
}}
60
55
/>
61
56
57
+
### Instance type
62
58
63
-
### Compute nodes
64
-
65
-
> [!NOTE]
66
-
> In beta, you can only have 1 compute node. Customising compute nodes will be available soon.
67
-
68
-
The number of compute nodes you choose will determine the number of Instances you can run on the same plan. For example, if you choose 2 compute nodes, you can run 2 Instances on the same plan.
69
-
70
-
### Instance capabilities
71
-
72
-
The capabilities you choose will determine the features available to your Instance. This includes scripting, guest access, enabled endpoints for RPC and HTTP and more.
59
+
While the Instance type you choose will determine the compute and memory available to your Instance. When you hit the **0.25 vCPU** / **512MB memory** free tier limit, you can upgrade your plan to a higher tier using this option.
73
60
74
-
> [!IMPORTANT]
75
-
> In beta, these Instance capabilities are read-only.
61
+
First, select the **Instance type** option which will open a modal to select the tier you want to upgrade to as shown below. Depending on the tier you choose, and the resources you have allocated, you will be billed accordingly.
76
62
77
63
<Image
78
-
alt="Configure an Instance"
64
+
alt="Instance Type"
79
65
src={{
80
-
light: InstanceCapabilities,
81
-
dark: InstanceCapabilities,
66
+
light: InstanceType,
67
+
dark: InstanceType,
82
68
}}
83
69
/>
84
70
85
-
## Actions
86
71
87
-
If you run into an issue with your Instance, our support team is here to help. To help us resolve your issue, you'll need your hostname which can be copied by selecting the **copy hostname** button. You can also view your Instance usuage by selecting the **View usage** option.
72
+
### Disk Size
73
+
74
+
The disk size is the amount of storage available to your Instance. This is used to store the database files and can be increased at any time. For paid plans, you can increase the disk size up to the maximum limit of your plan.
88
75
89
76
<Image
90
77
alt="Instance Usage"
@@ -95,9 +82,12 @@ src={{
95
82
/>
96
83
97
84
98
-
## Delete an Instance
85
+
## Pause or Delete an Instance
86
+
87
+
From the overview page, you can delete an Instance by clicking the option button on the Instance card and selecting **Delete**. This will bring up a confirmation modal. Once confirmed, the Instance will be deleted.
88
+
89
+
To pause an Instance, click the option button on the Instance card and select **Pause**. This will bring up a confirmation modal. Once confirmed, the Instance will be paused.
99
90
100
-
You can delete an Instance by clicking the **Delete** button on the Instance card. This will bring up a confirmation modal. Once confirmed, the Instance will be deleted and you will be redirected to the Instances page.
Copy file name to clipboardexpand all lines: src/content/doc-cloud/connect/index.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ description: In this section you will explore the connection options for Surreal
10
10
You can connect to your Surreal Cloud instances in three main ways. In this section you will explore the following connection options:
11
11
12
12
13
-
-[connect via Surrealist](/docs/cloud/connect/surrealist) : Surrealist is a query builder and IDE for SurrealDB. It allows you to connect to your Surreal Cloud Instance and run queries in a graphical interface.
13
+
-[querying in Surrealist](/docs/cloud/connect/surrealist) : Surrealist is a query builder and IDE for SurrealDB. It allows you to connect to your Surreal Cloud Instance and run queries in a graphical interface.
14
14
-[connect via CLI](/docs/cloud/connect/cli) : using the command-line interface for SurrealDB, you can connect to your Surreal Cloud Instance and run queries in a command-line interface.
15
15
-[connect via SDK](/docs/cloud/connect/sdk) : Surreal Cloud supports a variety of SDKs for connecting to your Instance. You can use the SDKs to connect to your Instance and run queries in your preferred programming language.
16
16
-[connect via HTTP](/docs/cloud/connect/http) : Surreal Cloud supports a REST API for connecting to your Instance. You can use the API to connect to your Instance and run queries using CURL or any HTTP client.
Copy file name to clipboardexpand all lines: src/content/doc-cloud/connect/sdk.mdx
+3-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,9 @@ After you have selected your SDK, you will need to provide your connection detai
32
32
33
33
## Enter connection details
34
34
35
-
When using any of the SurrealDB SDKs, before you can start querying your Surreal Cloud Instance, you will need to provide your connection details. SurrealDB requires **namespace** & **database** details so that it knows where to run and store your data. Learn more about [namespaces](/docs/surrealdb/introduction/concepts/namespace) and [databases](/docs/surrealdb/introduction/concepts/database) in the SurrealDB documentation.
35
+
When using any of the SurrealDB SDKs, before you can start querying your Surreal Cloud Instance, you will need to provide your connection details. SurrealDB requires **namespace** & **database** details so that it knows where to run and store your data. On the top of the dashboard, you can find the prompt to create a namespace and database.
36
+
37
+
Learn more about [namespaces](/docs/surrealdb/introduction/concepts/namespace) and [databases](/docs/surrealdb/introduction/concepts/database) in the SurrealDB documentation.
Once you have created a Surreal Cloud Instance, you can connect to it in Surrealist, which allows you to interact with your created Cloud Instance from the [query view in Surrealist](/docs/surrealist/concepts/sending-queries).
21
+
Once you have created a Surreal Cloud Instance, you can start querying it in Surrealist in the [query view](/docs/surrealist/concepts/sending-queries).
22
22
23
-
Start by clicking the **Connect** button on your Instance. Then select the **Open in Surrealist** option in the connection modal. This will open the Surrealist query view.
23
+
In the query view, and before you can run queries in Surrealist, you need to select a [Namespace](/docs/surrealdb/introduction/concepts) and a [Database](/docs/surrealdb/introduction/concepts) to work in.
24
24
25
-
<Image
26
-
alt="Open in Surrealist"
27
-
src={{
28
-
light: OpenInSurrealistLight,
29
-
dark: OpenInSurrealistDark,
30
-
}}
31
-
/>
32
-
33
-
## Querying your Instance
34
-
35
-
Once in the query view, and before you can run queries in Surrealist, you need to select a [Namespace](/docs/surrealdb/introduction/concepts) and a [Database](/docs/surrealdb/introduction/concepts) to work in.
36
-
37
-
First click on the **Namespace** dropdown and select the namespace you want to work in (if you have not created a namespace, you will see an option to create one). Then click on the **Database** dropdown and select the database you want to work in.
25
+
First click on the **Namespace** button and select the namespace you want to work in (if you have not created a namespace, you will see an option to create one). Then click on the **Database** button and select the database you want to work in (if you have not created a namespace, you will see an option to create one).
Copy file name to clipboardexpand all lines: src/content/doc-cloud/getting-started/create-an-instance.mdx
+11-16
Original file line number
Diff line number
Diff line change
@@ -17,25 +17,24 @@ Surreal Cloud allows you to create a new Instance with a few clicks. You can cre
17
17
> [!IMPORTANT]
18
18
> In Beta, you can create instances only in a personal account. Support for creating instances in organizations is coming soon.
19
19
20
-
You can create an Instance in these steps from your Cloud dashboard:
20
+
You can create an Instance in these steps from the overview:
21
21
22
-
1. Click on the **Create Instance** button.
23
-
- You can choose to create a new Instance either in your personal account or in an organization.
24
-
- If you choose to create an Instance in an organization, you need to select the organization from the dropdown list.
22
+
1. Click on the **Create new** button and select the **Cloud Instance** option. This will take you to the create instance form.
25
23
26
24
2. Input your Instance details.
27
-
-**Instance name**: the name of the Instance.
28
-
-**Instance version**: the version of SurrealDB you want to use. In the Beta release, only version `>v2.0.0` is available to use as it is the latest stable release.
29
-
30
-
3. Select a region where you want to deploy your Instance.
31
-
- AWS Europe (Ireland)
32
-
- AWS US East (N. Virginia)
25
+
-**Organization**: the organization you want to create the Instance in.
26
+
-**Configuration**: the configuration you want to use for your Instance.
27
+
-**Instance name**: the name of the Instance.
28
+
-**Region**: the region you want to deploy your Instance in.
29
+
- AWS Europe (Ireland)
30
+
- AWS US East (N. Virginia)
31
+
-**SurrealDB version**: the version of SurrealDB you want to use. Only versions `>v2.0.0` are available to use. If you are unsure, select the latest version but if you select a lower version, you will be able to upgrade to the latest in your Instance settings.
33
32
34
33
> [!IMPORTANT]
35
34
> The region you choose will affect your application's latency. For optimal performance, choose a region that is closest to your users.
36
35
37
36
38
-
4. Select an Instance category: Instance category defines the resources allocated to your cloud Instance. The Instance categories are in three different categories - **Development**, **Production**, and **Free Tier**. You can choose between the following configurations:
37
+
4. Select an Instance type: Instance type defines the resources allocated to your cloud Instance. The Instance types are in three different categories - **Development**, **Production**, and **Free Tier**. You can choose between the following configurations:
39
38
40
39
> [!NOTE]
41
40
> To use a Production or Development Instance, you need to enter your billing and payment information.
@@ -62,12 +61,8 @@ src={{
62
61
}}
63
62
/>
64
63
65
-
5. Choose nodes: the number of nodes selected will define the number of compute nodes allocated to your Instance.
66
-
67
-
> [!IMPORTANT]
68
-
> The number of nodes you choose will affect the cost of your Instance.
69
64
70
-
6. After customising your Instance, click the **Create** button. You will see a confirmation message with the details of your Instance. You can now connect to your Instance using your [preferred connection method](/docs/cloud/connect).
65
+
6. After customising your Instance, click the **Create Instance** button. You will see a confirmation message with the details of your Instance. You can now connect to your Instance using your [preferred connection method](/docs/cloud/connect).
Copy file name to clipboardexpand all lines: src/content/doc-surrealist/advanced-topics/embedding-surrealist.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Surrealist can be added to any website or application using Embeds. This lets yo
19
19
20
20
## Creating a new Embed
21
21
22
-
To create an embed, first head over to the [Surrealist embed generator](https://surrealist.app/mini/new). Then, in the `Editor query` section, you can write the query you want to be embedded. If the query uses variables, you can enter the values for the variables in the `Editor variables` section, and they will appear in the Embed preview section on the right.
22
+
To create an embed, head over to the surrealist overview page and click on the embed surrealist option. Then, in the `Editor query` section, you can write the query you want to be embedded. If the query uses variables, you can enter the values for the variables in the `Editor variables` section, and they will appear in the Embed preview section on the right.
Copy file name to clipboardexpand all lines: src/content/doc-surrealist/concepts/explore-database-records.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ As the name implies, the tables panel will list out all tables in the database.
24
24
25
25
26
26
> [!NOTE]
27
-
> In the Designer view section we will explain more in-depth about what constitutes tables as normal or edge tables.
27
+
> In the [Designer view](/docs/surrealist/concepts/designing-the-database-schema) section we will explain more in-depth about what constitutes tables as normal or edge tables.
@@ -17,6 +17,9 @@ The first view you encounter when starting Surrealist is the Query view. At its
17
17
src={ImageQuery}
18
18
/>
19
19
20
+
> [!NOTE]
21
+
> The example above shows writing a query to a sandbox connection where no credentials are required. When connecting to a Surreal Cloud instance or a local connection, you will need to enter your namespace and database credentials in the connection dialog before you can send queries.
22
+
20
23
## Queries panel
21
24
22
25
The panel on the left of the Query view lists out your active query tabs. Each tab has its own query editor, so you can work with multiple queries at once and keep your workspace organised. You can double-click a tab to rename it, and right-click a tab to reveal additional actions.
@@ -45,7 +48,9 @@ After executing a query the result of the query will be displayed in the results
45
48
46
49
-**Combined mode**: will list all query responses in a single list. This is especially useful for requests with only a handful of statements or when you would like to view all responses at a glance.
47
50
48
-
-**Single mode**: will display each response separately and provide navigation buttons to switch between them. This is mostly useful when you are sending many queries at once or would like to focus on each response individually.
51
+
-**Individual mode**: will display each response separately and provide navigation buttons to switch between them. This is mostly useful when you are sending many queries at once or would like to focus on each response individually.
52
+
53
+
-**Graph mode**: will display the response as a graph if they are compatible with the response i.e is a list of records with relations. This is useful for visualising the relationships between records.
49
54
50
55
-**Table mode**: presents your responses in an interactive table similar to the Explorer view. You can press any record id to view and edit the record in the inspector panel.
0 commit comments