VictoriaMetrics/docs/managed-victoriametrics/quickstart.md

6.0 KiB

sort weight title menu aliases
2 2 Quick Start
docs
parent weight
managed 2
/managed-victoriametrics/quickstart.html

Quick Start in Managed VictoriaMetrics

Managed VictoriaMetrics - is a database-as-a-service platform, where users can run the VictoriaMetrics 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.

The document covers the following topics

  1. How to register
  2. How to restore password
  3. Creating deployment
  4. Deployment access
  5. Modifying deployment

How to register

Managed VictoriaMetrics id distributed via AWS Marketplace. Please note, that initial registering is only possible via link from AWS Marketplace. To start using the service, one should have already registered AWS account and visit VictoriaMetrics product page. On that page click on View purchase option and you will be redirected to login page or to subscribe page.

Then, go to the VictoriaMetrics product page and click Continue to Subscribe button:

Then on product page press the Subscribe button:

After that action you will be able to see success message where you should click Set up your account button:

You'll be taken to Managed VictoriaMetrics sign up page:

Choose to register manually or via Google Auth.

If it was chosen manually registration, confirmation email wil be sent to your email address.

After Google Auth process will redirect automatically to the main page.

How to restore password

If you forgot password, it can be restored in the following way:

  1. Click Forgot your password? link at this page:

  1. Enter your email in the field and click Send Email button:

  1. Follow the instruction sent to your email in order to gain access to your VictoriaMetrics cloud account:

  1. Navigate to the Profile page by clicking the corresponding link at the top right corner:

  1. Enter new password at the Profile page and press Save button:

Creating deployment

Deployments is a page where user can list and manage VictoriaMetrics deployments. To create a deployment click on the button Create Deployment button or link in the message:

In the opened form, choose parameters of the new deployment such as:

  • Deployment type from preset single or cluster deployments;
  • Region where deployment should run;
  • Desired storage capacity for storing metrics (you always can expand disk size later);
  • Retention period for stored metrics.
  • Size of your deployment

When all parameters are entered, click on the Create button, and deployment will be created

Once created, deployment will remain for a short period of time in PROVISIONING status while the hardware spins-up, just wait for a couple of minutes and reload the page. You'll also be notified via email once provisioning is finished:

Deployment access

After transition from PROVISIONING to RUNNING state, VictoriaMetrics is fully operational and ready to accept write or read requests. But first, click on deployment name to get the access token:

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:

Follow usage example in order to configure access to VictoriaMetrics for your Prometheus, Grafana or any other software.

Modifying deployment

Remember, you always can add, remove or modify existing deployment by changing their size or any parameters on the update form.

There is another options present to customise you deployment setup. To discover them click on Customise button

In that section additional params can be set:

  • Deduplication defines interval when deployment leaves a single raw sample with the biggest timestamp per each discrete interval;
  • Maintenance Window when deployment should start upgrade process if needed;
  • Settings allow to define different flags for the deployment.

However, such an update requires a deployment restart and may result into a couple of minutes of downtime.