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
@@ -228,11 +228,11 @@ k6 supports three execution modes to run a k6 test: local, distributed, and clou
228
228
229
229
</CodeGroup>
230
230
231
-
- [Cloud](/cloud/creating-and-running-a-test/cloud-tests-from-the-cli/): the test runs on k6 Cloud.
231
+
- **Cloud**: the test runs on [k6 Cloud](/cloud/creating-and-running-a-test/cloud-tests-from-the-cli/) or [Grafana Cloud k6](https://grafana.com/docs/grafana-cloud/k6/get-started/run-cloud-tests-from-the-cli/).
232
232
233
233
```bash
234
234
k6 cloud script.js
235
235
```
236
236
237
-
Additionally, k6 Cloud can run cloud tests on your [own cloud infrastructure](/cloud/creating-and-running-a-test/private-load-zones/), and accept the test results from a [local](/results-output/real-time/cloud/) or [distributed test](https://github.com/grafana/k6-operator#k6-cloud-output).
237
+
Additionally, cloud-based solutions can run cloud tests on your [own cloud infrastructure](/cloud/creating-and-running-a-test/private-load-zones/), and accept the test results from a [local](/results-output/real-time/cloud/) or [distributed test](https://github.com/grafana/k6-operator#k6-cloud-output).
excerpt: 'When streaming the results to the k6 Cloud, the machine - where you execute the k6 CLI command - runs the test and uploads the results to the k6 Cloud. Then, you will be able to visualize and analyze the results on the web app in real-time.'
3
+
excerpt: 'When streaming the results to the cloud, the machine - where you execute the k6 CLI command - runs the test and uploads the results to the cloud. Then, you will be able to visualize and analyze the results on the web app in real-time.'
4
4
---
5
5
6
-
Besides [running cloud tests](/cloud/creating-and-running-a-test/cloud-tests-from-the-cli), you can also run a test locally and stream the results to the [k6 Cloud](/cloud).
6
+
Besides [running cloud tests](/get-started/running-k6/#execution-modes), you can also run a test locally and stream the results to:
-[k6 Cloud](/cloud) (only available for existing customers)
7
9
8
-
When streaming the results to the k6 Cloud, the machine - where you execute the k6 CLI command - runs the test and uploads the results to the k6 Cloud. Then, you will be able to visualize and analyze the results on the web app in real-time.
10
+
When streaming the results to the cloud, the machine - where you execute the k6 CLI command - runs the test and uploads the results to the cloud-based solution. Then, you will be able to visualize and analyze the results on the web app in real-time.
9
11
10
-
<Blockquote mod="attention"
11
-
title="k6 charges your subscription for cloud streaming"
12
-
>
13
-
14
-
Data storage and processing are primary cloud costs,
15
-
so `k6 run --out cloud` will consume VUh or test runs from your subscription.
16
-
17
-
</Blockquote>
18
12
19
13
20
14
## Streaming results vs. running on cloud servers
@@ -25,48 +19,57 @@ cloud script.js`.
25
19
Fundamentally the difference is the machine that the test runs on:
26
20
27
21
-`k6 run --out cloud` runs k6 locally and streams the results to the cloud.
28
-
-`k6 cloud`, on the other hand, uploads your script to [k6 cloud](/cloud) and runs the test on the cloud infrastructure,
29
-
to run the
30
-
In this case you'll only see status updates in your CLI.
22
+
-`k6 cloud`, on the other hand, uploads your script to the cloud solution and runs the test on the cloud infrastructure. In this case you'll only see status updates in your CLI.
23
+
24
+
In all cases you'll be able to see your test results at [k6 Cloud](https://app.k6.io) or [Grafana Cloud](https://grafana.com/products/cloud/).
25
+
26
+
<Blockquote mod="attention"
27
+
title="k6 charges your subscription for cloud streaming"
28
+
>
29
+
30
+
Data storage and processing are primary cloud costs,
31
+
so `k6 run --out cloud` will consume VUh or test runs from your subscription.
32
+
33
+
</Blockquote>
31
34
32
-
In all cases you'll be able to see your test results at `https://app.k6.io`.
33
35
34
36
## Instructions
35
37
36
-
**1 (Optional) - Log in to the k6 Cloud**
38
+
**1 (Optional) - Log in to the cloud**
37
39
38
-
Assuming you have installed k6, the first step is to log in to k6 Cloud. You can use your [API token](https://app.k6.io/account/api-token) or username and password:
40
+
Assuming you have installed k6, the first step is to log in to the cloud service.
39
41
40
-
<CodeGroup labels={["Log in to k6 Cloud", "Log in with username and password"]}>
42
+
With the `k6 login cloud` command, you can set up your API token on the k6 machine to authenticate against the cloud service.
43
+
44
+
Copy your token from [k6 Cloud](https://app.k6.io/account/api-token) or [Grafana Cloud k6](https://grafana.com/docs/grafana-cloud/k6/author-run/tokens-and-cli-authentication/) and pass it as:
0 commit comments