# Instance Deployment

Instance Deployment is a **four-step setup** that creates an isolated MN Logz Analytics environment.\
Each instance runs on its own domain, with a private Grafana and data pipeline configured automatically.

<figure><img src="https://542970813-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtK7oIwmhUHdEJcaH4Hx8%2Fuploads%2FFn5cCYytRPGfnbEfnOp5%2Fimage.png?alt=media&#x26;token=ed5313dc-9aa7-4b82-b50f-f6379cefc2bf" alt="" width="563"><figcaption><p>Instance Deployment Workflow</p></figcaption></figure>

{% hint style="info" %}
The setup completes in about **1–3 minutes**, depending on DNS propagation.
{% endhint %}

{% stepper %}
{% step %}

#### Select a Template

Select one of the predefined analytics templates to start quickly.\
Each option provides a different level of dashboard depth.

<table><thead><tr><th width="225">Template</th><th>Description</th></tr></thead><tbody><tr><td><strong>Basic Analytics</strong></td><td>Essential traffic and performance dashboards.</td></tr><tr><td><strong>Request-Based Analytics</strong></td><td>Focused on HTTP and Cache insights.</td></tr><tr><td><strong>Full Analytics Suite</strong></td><td>Complete dashboard package.</td></tr><tr><td><strong>Create Custom</strong></td><td>Skip templates and configure everything manually (opens Step 2 directly).</td></tr></tbody></table>

**Smart Calculation (optional)**\
If unsure which template fits your use case, run [**Smart Calculation**](https://clients.medianova.com/products/mn-logz/mn-logz-analytics/template-and-data-setup/smart-calculation).\
It analyzes CDN traffic and priorities, then highlights the optimal template as *Recommended*.

{% hint style="info" %}
Once selected, the process automatically advances to [**Step 2**](#configure-dashboards).
{% endhint %}
{% endstep %}

{% step %}

#### Configure Dashboards

Select dashboards to include and define retention, data granularity, and raw log options.

<table><thead><tr><th width="160">Setting</th><th>Description</th></tr></thead><tbody><tr><td><a href="dashboard-library"><strong>Dashboards</strong></a></td><td><a href="dashboard-library/overview-dashboard">Overview</a>, <a href="dashboard-library/performance-analytics">Performance</a>, <a href="dashboard-library/http-analytics">HTTP</a>, <a href="dashboard-library/cache-analytics">Cache</a>, <a href="dashboard-library/cdn-access-logs">Access Logs</a>.</td></tr><tr><td><strong>Retention</strong></td><td>Data storage duration per dashboard (30–240 days).</td></tr><tr><td><strong>Granularity</strong></td><td>Aggregation interval: 1 m / 5 m / 1 h / 1 d. Shorter intervals offer more precision but use more storage.</td></tr><tr><td><strong>Raw Logs</strong></td><td>Enables “Discover Mode” for request-level inspection (optional).</td></tr></tbody></table>

If you selected a template, dashboards appear pre-filled; you can still add or remove any as needed.

{% hint style="info" %}
Use lower granularity only when high-frequency data is required. Higher intervals reduce cost and improve performance.
{% endhint %}
{% endstep %}

{% step %}

#### Set Instance Identity

Define identity, access, and security details for your Grafana instance.

<table><thead><tr><th width="160.00006103515625">Field</th><th>Description</th></tr></thead><tbody><tr><td><strong>Instance Name</strong></td><td>Unique internal identifier (e.g., <code>acme-analytics</code>).</td></tr><tr><td><strong>Subdomain</strong></td><td>Enter prefix only (e.g., <code>acme-analytics</code>). The system automatically creates <code>acme-analytics.mnlogz.com</code> and configures DNS + SSL.</td></tr><tr><td><strong>Grafana User</strong></td><td>Add at least one username and password. The first user gets full access by default.</td></tr><tr><td><strong>IP Whitelist</strong></td><td>Limit access to trusted IP addresses or CIDR ranges (optional).</td></tr></tbody></table>

{% hint style="warning" %}
Enable IP Whitelisting to restrict Grafana access to known networks.
{% endhint %}
{% endstep %}

{% step %}

#### Deploy and Finalize the Instance

Monitor the provisioning progress as MN Logz automatically deploys your instance.

**Execution Flow**

1. Initialize Instance – register configuration
2. Provision Pipelines – prepare data ingestion paths
3. Configure Dashboards – apply selected logic
4. Deploy Grafana – launch private interface
5. Configure DNS & SSL – activate subdomain
6. Health Check & Finalize – verify data flow

Average setup time: **1–3 minutes**.\
When provisioning is complete:

* The **Open Grafana** button becomes available.
* You are redirected to your instance domain.
* Dashboard data starts streaming within seconds.

{% hint style="info" %}
You can revisit this page anytime to review deployment logs or rerun validation.
{% endhint %}
{% endstep %}
{% endstepper %}

### **FAQ**

**How long does setup take?**\
Usually 1–3 minutes, depending on DNS propagation.

**Can I modify dashboards after deployment?**\
Yes. You can adjust dashboards, retention, or granularity anytime in the Control Panel.

**Is my instance isolated?**\
Yes. Each MN Logz Analytics instance runs on a separate domain with SSL and a private database.
