2023-02-13 13:29:03 +01:00
---
sort: 2
weight: 2
title: Quick Start
menu:
docs:
parent: "managed"
weight: 2
2023-05-01 12:19:31 +02:00
aliases:
- /managed-victoriametrics/quickstart.html
2023-02-13 13:29:03 +01:00
---
2023-10-13 11:10:58 +02:00
# Quick Start
2023-03-14 14:41:14 +01:00
2023-10-10 13:48:22 +02:00
Managed VictoriaMetrics – is a database-as-a-service platform, where users can run the VictoriaMetrics
2022-04-12 12:03:25 +02:00
that they know and love on AWS without the need to perform typical DevOps tasks such as proper configuration,
monitoring, logs collection, access protection, software updates, backups, etc.
2023-10-10 13:48:22 +02:00
The document covers the following topics:
1. [Registration ](#registration )
1. [Adding a payment method ](#adding-a-payment-method )
1. [Restoring a password ](#restoring-a-password )
1. [Creating deployments ](#creating-deployments )
1. [Start writing and reading data ](#start-writing-and-reading-data )
1. [Modifying an existing deployment ](#modifying-an-existing-deployment )
2023-03-14 14:41:14 +01:00
2023-10-10 13:48:22 +02:00
## Registration
2022-04-12 12:03:25 +02:00
2023-10-10 13:48:22 +02:00
Start your registration process by visiting the [Sign Up ](https://cloud.victoriametrics.com/signUp?utm_source=website&utm_campaign=docs_quickstart ) page.
2023-01-27 10:50:31 +01:00
2023-10-10 13:48:22 +02:00
There are two different methods to create an account:
1. Create an account via Google Auth service;
1. Create an account by filling in a registration form.
2023-01-27 10:50:31 +01:00
2023-10-10 13:48:22 +02:00
### Create an account via Google Auth service:
2023-01-27 10:50:31 +01:00
2023-10-10 13:48:22 +02:00
1. Click `Continue with Google` button on the [Sign Up page ](https://cloud.victoriametrics.com/signUp?utm_source=website&utm_campaign=docs_quickstart )
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup_google_click.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. Choose Google account you want to use for registration
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup_choose_google_account.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. You will be automatically redirected to the main page of the Managed VictoriaMetrics
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup_success.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
2023-01-27 10:50:31 +01:00
2023-10-10 13:48:22 +02:00
### Create an account by filling in a registration form:
1. Fill in your email, password and password confirmation on [Sign Up page ](https://cloud.victoriametrics.com/signUp?utm_source=website&utm_campaign=docs_quickstart ).
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. All fields are required. Any errors will be shown in the interface, so it is easy to understand what should be adjusted.
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup_errors.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. Press `Create account` button when all fields are filled in.
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup_create_account_click.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
2023-01-27 10:50:31 +01:00
2023-10-10 13:48:22 +02:00
You will be redirected to the main page with a notification message to confirm your email.
2023-01-27 10:50:31 +01:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup_success.webp" width = "800" >
2023-01-27 10:50:31 +01:00
< / p >
2023-10-10 13:48:22 +02:00
You will also receive an email with a confirmation link as shown on the picture below:
2023-03-14 14:41:14 +01:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup_email_confirm.webp" width = "800" >
2023-03-14 14:41:14 +01:00
< / p >
2023-10-10 13:48:22 +02:00
It is necessary to confirm your email address. Otherwise, you won't be able to create a deployment.
2023-01-27 10:50:31 +01:00
2023-10-10 13:48:22 +02:00
After successful confirmation of your email address, you'll be able to [create your first deployment ](#creating-deployments ) or [add a payment method ](#adding-a-payment-method ).
2023-01-27 10:50:31 +01:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_signup_email_confirmed.webp" width = "800" >
2023-01-27 10:50:31 +01:00
< / p >
2023-10-10 13:48:22 +02:00
## Adding a payment method
2023-01-27 10:50:31 +01:00
2023-10-10 13:48:22 +02:00
1. Navigate to a [Billing ](https://cloud.victoriametrics.com/billing?utm_source=website&utm_campaign=docs_quickstart ) page or click on `Upgrade` button as shown below:
< p >
2023-11-20 11:28:47 +01:00
< img src = "how_to_add_payment_method_upgrade.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
2023-03-14 14:41:14 +01:00
2023-10-10 13:48:22 +02:00
1. Choose a payment method
< p >
2023-11-20 11:28:47 +01:00
< img src = "how_to_add_payment_method_choose_method.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
2023-01-27 10:50:31 +01:00
2023-10-10 13:48:22 +02:00
### Pay with a card
2022-04-12 12:03:25 +02:00
2023-10-10 13:48:22 +02:00
1. Click on an `Add card` panel and fill in all the fields in the form and press `Add card` button
< p >
2023-11-20 11:28:47 +01:00
< img src = "how_to_add_payment_method_add_card.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. An error message will appear if a card us invalid
< p >
2023-11-20 11:28:47 +01:00
< img src = "how_to_add_payment_method_invalid_card.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. Successfully added card will be shown on the page as follows:
< p >
2023-11-20 11:28:47 +01:00
< img src = "how_to_add_payment_method_card_added.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
### Link your AWS billing account via AWS Marketplace
2022-09-19 13:52:46 +02:00
2023-10-10 13:48:22 +02:00
When you need to unify your AWS billing, you can start a subscription on AWS Marketplace.
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
1. Click on the `Buy on AWS Marketplace` panel:
< p >
2023-11-20 11:28:47 +01:00
< img src = "how_to_add_payment_method_aws_click.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. You will be redirected to the < a href = "https://aws.amazon.com/marketplace/pp/prodview-4tbfq5icmbmyc" target = "_blank" > Managed VictoriaMetrics</ a > product page.
1. Click on `View purchase option` button, and you will be redirected to an AWS login page or to a subscribe page on AWS Marketplace.
< p >
2023-11-20 11:28:47 +01:00
< img src = "quickstart_aws-purchase-click.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. Go to the < a href = "https://aws.amazon.com/marketplace/pp/prodview-4tbfq5icmbmyc" > Managed VictoriaMetrics</ a > product page and click `Continue to Subscribe` button:
< p >
2023-11-20 11:28:47 +01:00
< img src = "quickstart_continue-subscribe.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. Press the `Subscribe` button:
< p >
2023-11-20 11:28:47 +01:00
< img src = "quickstart_subscribe.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. After that you will see a success message where you should click `Set up your account` button:
< p >
2023-11-20 11:28:47 +01:00
< img src = "quickstart_setup-your-account.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
1. You'll be redirected back to Managed VictoriaMetrics < a href = "https://cloud.victoriametrics.com/billing?utm_source=website&utm_campaign=docs_quickstart" target = "_blank" > billing page</ a > :
2023-07-26 23:39:35 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "how_to_add_payment_method_aws_finish.webp" width = "800" >
2023-07-26 23:39:35 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
### Switching between payment methods
If both payment methods are added, it is possible to easily switch between them.
Click on the radio button like on the picture below and confirm the change:
< p >
2023-11-20 11:28:47 +01:00
< img src = "change_payment_method.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
< p >
2023-11-20 11:28:47 +01:00
< img src = "change_payment_confirmation.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
If the payment method was changed successfully, the following message will appear:
< p >
2023-11-20 11:28:47 +01:00
< img src = "change_payment_method_success.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
## Password restoration
If you forgot your password, it can be restored in the following way:
1. Click `Forgot password?` link on the [Sign In ](https://cloud.victoriametrics.com/signIn?utm_source=website&utm_campaign=docs_quickstart ) page:
2023-07-26 23:39:35 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_restore_password.webp" width = "800" >
2023-07-26 23:39:35 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
1. Enter your email and click `Reset password` button:
2023-07-26 23:39:35 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_restore_password_email_field.webp" width = "800" >
2023-07-26 23:39:35 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_restore_password_message.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
1. Follow the instructions sent to your email in order to get access to your Managed VictoriaMetrics account:
2023-07-26 23:39:35 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_restore_password_email.webp" width = "800" >
2023-07-26 23:39:35 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
1. Navigate to the Profile page by clicking the corresponding link in the top right corner:
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_restore_password_profile_click.webp" width = "800" >
2023-10-10 13:48:22 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
1. Enter a new password on the Profile page and press `Save` :
2023-07-26 23:39:35 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "quick_start_restore_password_profile_fields.webp" width = "800" >
2023-07-26 23:39:35 +02:00
< / p >
2022-09-15 16:02:31 +02:00
2023-10-10 13:48:22 +02:00
## Creating deployments
On the [Deployments ](https://cloud.victoriametrics.com/deployments?utm_source=website&utm_campaign=docs_quickstart ) page you
will see a list of your existing deployments and will be able to manage them.
2022-04-12 12:03:25 +02:00
2023-10-10 13:48:22 +02:00
To create a deployment click on the button `Create Deployment` button:
2022-04-12 12:03:25 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "create_deployment_start.webp" width = "800" >
2022-04-12 12:03:25 +02:00
< / p >
2023-10-10 13:48:22 +02:00
On the opened screen, choose parameters of your new deployment:
2022-04-12 12:03:25 +02:00
2023-10-10 13:48:22 +02:00
* `Deployment type`
* Single - for affordable, performant single-node deployments;
* Cluster - for highly available and multi-tenant deployments;
* `Region` – AWS region where deployment will run;
2023-03-14 14:41:14 +01:00
* Desired `storage capacity` for storing metrics (you always can expand disk size later);
2022-04-12 12:03:25 +02:00
* `Retention` period for stored metrics.
2023-10-10 13:48:22 +02:00
* `Size` of your deployment [based on your needs ](https://docs.victoriametrics.com/guides/understand-your-setup-size.html )
2022-04-12 12:03:25 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "create_deployment_form.webp" width = "800" >
2022-04-12 12:03:25 +02:00
< / p >
2023-10-10 13:48:22 +02:00
When all parameters are configured, click on the `Create` button, and deployment will be created.
2023-03-14 14:41:14 +01:00
Once created, deployment will remain for a short period of time in `PROVISIONING` status
2022-04-12 12:03:25 +02:00
while the hardware spins-up, just wait for a couple of minutes and reload the page.
2023-10-10 13:48:22 +02:00
You'll also be notified via email once your deployment is ready to use:
2022-04-12 12:03:25 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "create_deployment_created.webp" width = "800" >
2022-04-12 12:03:25 +02:00
< / p >
2023-03-14 14:41:14 +01:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "create_deployment_active_email.webp" width = "800" >
2023-03-14 14:41:14 +01:00
< / p >
2023-10-10 13:48:22 +02:00
## Start writing and reading data
2022-04-12 12:03:25 +02:00
2023-10-10 13:48:22 +02:00
After transition from `PROVISIONING` to `RUNNING` state, Managed VictoriaMetrics deployment is fully operational
and is ready to accept write and read requests.
Click on deployment name and navigate to the Access tab to get the access token:
2022-04-12 12:03:25 +02:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "deployment_access.webp" width = "800" >
2022-04-12 12:03:25 +02:00
< / p >
Access tokens are used in token-based authentication to allow an application to access the VictoriaMetrics API.
Supported token types are `Read-Only` , `Write-Only` and `Read-Write` . Click on token created by default
to see usage examples:
< p >
2023-11-20 11:28:47 +01:00
< img src = "deployment_access_write_example.webp" width = "800" >
2023-03-14 14:41:14 +01:00
< / p >
< p >
2023-11-20 11:28:47 +01:00
< img src = "deployment_access_read_example.webp" width = "800" >
2022-04-12 12:03:25 +02:00
< / p >
2023-10-10 13:48:22 +02:00
Follow usage examples in order to configure access to VictoriaMetrics for your Prometheus,
2022-04-12 12:03:25 +02:00
Grafana or any other software.
2023-10-10 13:48:22 +02:00
## Modifying an existing deployment
2023-03-14 14:41:14 +01:00
2023-10-10 13:48:22 +02:00
Remember, you can always add, remove or modify existing deployment by changing its size or any parameters on the
deployment's page.
It is important to know that downgrade for cluster is currently not available.
2023-03-14 14:41:14 +01:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "modify_deployment.webp" width = "800" >
2023-03-14 14:41:14 +01:00
< / p >
2023-10-10 13:48:22 +02:00
To discover additional configuration options click on `Advanced Settings` button, so you should see the following:
2023-03-14 14:41:14 +01:00
< p >
2023-11-20 11:28:47 +01:00
< img src = "modify_deployment_additional_settings.webp" width = "800" >
2023-03-14 14:41:14 +01:00
< / p >
2023-10-10 13:48:22 +02:00
In that section, additional params can be set:
* [`Deduplication` ](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#deduplication ) defines interval when deployment leaves a single raw sample with the biggest timestamp per each discrete interval;
* `Maintenance Window` when deployment should start an upgrade process if needed;
* `Settings` allow to define different flags for the deployment:
2023-03-14 14:41:14 +01:00
2023-10-10 13:48:22 +02:00
1. [cluster components flags ](https://docs.victoriametrics.com/Cluster-VictoriaMetrics.html#list-of-command-line-flags ).
2. [single version flags ](https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#list-of-command-line-flags ).
2022-04-12 12:03:25 +02:00
2023-10-10 13:48:22 +02:00
Please note, such an update requires a deployment restart and may result in a short downtime for single-node deployments.