keywords = [grafana, configuration, documentation, windows] This could be an internal Windows error or an internal service error. Grafana . RPM-based Linux (CentOS, Fedora, OpenSuse, RedHat). But we are with Microsoft version of Grafana is it possible to run ldaps between Windows Version of Grafana and Microsoft DC controller with Active Directory using a certificate signed from Microsoft CA server? . Prometheus uses its own query language i.e. The most recent Grafana version is selected by default. title = Installing on Windows The Download URL from Grafana.com API is in this form: https://grafana.com/api/plugins/<plugin id>/versions/<version number>/download You can interpolate variables to build up dynamic values. 2 Define ldap search filters Grafana can report errors when relying on read-only MySQL servers, such as in high-availability failover scenarios or serverless AWS Aurora MySQL. Its just 2 features. 6 enable ssl check! Downloads. Navigate to localhost:3000 which is the default TCP for Grafana unless you have changed the config file. How I can implement ssl with Microsoft certificates? We can also create our own dynamic dashboard for visualization and monitoring. In this case, Click on Next as shown on the Welcome to Grafana OSS Setup Wizard, Accept the terms of the license agreement and click on Next as shown below, On the custom setup page, click on Next as shown below, On the ready to Install GrafanaOSS wizard, click n Install as shown below. You need client cert/key only if LDAPS requires client certificate (mutual tls/mtls/client tls). The zip file contains a folder with the current Grafana version. Change the directory to what is fitting for you. You confirm that its possible to use Windows version of Grafana with HTTPS and LDAPS under Microsoft environment? Since we launched in 2006, our articles have been read billions of times. After Installation of WMI Exporter lets check its successfully installed or not. You can quickly start new Grafana instances by binding a host port, mounting a data volume, and supplying config values via environment variables. Multiple Grafana versions are available, each in either Alpine or Ubuntu flavors. This is my first error: You can either use the Windows installer or you can install a standalone Windows binary. Yes, standalone Grafana supports HTTPS (TLS). Join 425,000 subscribers and get a daily digest of news, geek trivia, and our feature articles. Open positions, Check out the open source projects we support Its up to you on how you want to view the data. I will follow up this question with the solution that worked for me. Press "Download the Installer." Open and Execute the ; For running Grafana, open the browser and go to Grafana port, and subsequent follow the below instructions: Step1: Install . The volume mount means the directorys contents will be stored outside the container, avoiding data loss when the container stops or your host restarts. Just ignore configuration regarding certificates with #. Secondly, a guide with all the steps required for the installation of Grafana on Windows Server 2022 with https, in my experience. If the server is joined to the Domain controller, the server receive his root ca certificate, and his own server certificate is automatically signed by the Ca server during joining to the domain. Since Ubuntu 22.04, installing new packages may give you a full screen prompt to restart other dependent services. In this guide well focus on the latter choice by using the official Grafana image to start an instance that runs in Docker. You can override Grafanas config keys by setting environment variables when you start your container. Grafana can run on Linux, Mac, Windows, etc., so simply select the right installation option for the platform you use and follow the instructions. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. I went with the default of full installation. If you have any questions, please let me know in the comment session. If a law is new but its interpretation is vague, can the courts directly ask the drafters the intent and official interpretation of their law? Grafana supports and run with Prometheus by querying language i.e. t=2021-03-09T23:18:13+0100 lvl=eror msg=Failed to obtain the LDAP configuration. If the problem persists, contact your system administrator.". Cert key - I dont have cert key file how to generate it? which is InfluxDB-Flux. how to Install Grafana on Windows and Run as a Service vmkdaily 22 subscribers Subscribe 108 40K views 6 years ago No Audio, just a quick video showing how to install and configure Grafana on. It provides charts, graphs, and alerts for the web when connected to supported data sources. To learn more, see our tips on writing great answers. Heres how to add an official plugin thats listed in the Grafana catalog: The GF_INSTALL_PLUGINS variable expects a comma-separated list of plugin names to install when the container first starts. 7 Forget about client certificates, client keys and ca root certificates!!! Additional helpful documentation, links, and articles: Opening keynote: What's new in Grafana 9? Next and very important component of Prometheus Server is the Service Discovery. Grafana allows us to query, visualize, explore metrics and set alerts for the data source which can be a system, server, nodes, cluster, etc. The important parameters in CSR are: Please spend a minute and learn how to format code in your posts (its simple markdown). format from the Windows Server 2019. Internet Explorer 11 is only fully supported in Grafana versions prior v6.0. Click I accept the agreement & Next > Next > Next > Next > Install > Uncheck One-time $10 donation to Windows OpenSSL > Finish. Now that your exporter is running, it should start exposing metrics on, Go to the Prometheus file and open Prometheus.yml file and, After changing in config file you need to start prometheus server, So go the services and start the Prometheus Server, Hit the URL in your web browser to check weather our target is successfully scraped by Prometheus or not, Once you logged into Grafana Now first Navigate to Settings Icon ->> Configuration ->> data sources, Now lets click on Add Data sources and select Prometheus, Now configure Prometheus data source by providing Prometheus URL. Paste the directory path like below command: Now Prometheus is successfully installed in your machine. Also remember to customize the name The Docker image includes a helper utility that lets you add plugins to a new container by setting a special environment variable. Moving the exported CA certificate to other Linux host and to convert it to pem format using OpenSSL but doesnt help. Sorry, an error occurred. Grafana Enterprise includes access to enterprise plugins that take your existing data sources and allow you to drop them right into Grafana. conf directory and copy sample.ini to custom.ini. Again, it just be configuration, use_ssl=true, eventually root_ca_cert if ca cert is not available in the system cert store: Problems debugging: standard - just increase log levels and check the logs and based on the details from the logs tweak Grafana configuration. Its mounted to /var/lib/grafana within the container, where Grafana stores all its generated data. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. How to configure https for Grafana on Windows Server 2022? I will use Grafana server in an internal network without an internet connection under the Microsoft environment. You should edit document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() ); You have entered an incorrect email address! Using Grafana over Prometheus to visualize properly we can use custom dashboards. Click on Add a new panel. Failed to load LDAP config file: Near line 21 (last key parsed servers.root_ca_cert): invalid escape character P; only the following escape characters are allowed: \b, \t, \n, \f, \r, \, \, \uXXXX, and \UXXXXXXXX" remote_addr=192.168.0.20" Do this also for the default.ini file. files by entering in this line. Grafana is an open-source data visualization and monitoring tool that integrates with complex data from sources like Prometheus, InfluxDB, Graphite, and ElasticSearch.Grafana lets you create alerts, notifications, and ad-hoc filters for your data while also making . follow this steps. The nature of simulating nature: A Q&A with IBM Quantum researcher Dr. Jamie We've added a "Necessary cookies only" option to the cookie consent popup. In this article we have covered How Install Install Prometheus and Grafana on Windows with WMI Exporter, Configure Prometheus as Grafana DataSource. So go to services and search windows exporter. 1. The simplest Grafana container creation looks like this: Youll have a fresh Grafana server accessible on port 3000. And exactly how did you do? Extract this folder to anywhere you want Grafana to run from. After password change, The Grafana homepage opens. Install Grafana From the Official Repository You can install Grafana on Ubuntu using their official repository and the APT package manager. The zip file contains a folder with the current Grafana version. Alert manager is one of the very useful components of the Prometheus tool. Sorry, an error occurred. Click the equivalent in your browser of Advanced > Accept the Risk Firstly I will give you more details about my environment: I use Microsoft Windows Server 2019 and Grafana Version v7.4.0 Windows version, open-source edition My Microsoft Windows Server 2019 is joined to the domain controller. To learn more about Flux Open Source Query Language you can take a look at Getting Started with Flux for more information. Hit Y to continue Install the .deb package Now move to install the .deb package. Cert file is clear (maybe my format is wrong its native Microsoft format) Is it too difficult to use certificates from CA server with Linux? By default Grafana windows version understand from Local Microsoft Certificate store!!! To Pull metrics, identification of services and finding the targets are compulsory needed. 7 Restart the Grafana service and voala! Of course thats not stopping you to use any reverse proxy, which supports SSL offloading in front of Grafana. This enables you you to create quite a number of panels on a single dashboard from multiple data sources. It is always a good practice to change your login credentials. You can either download the Windows installer package or a standalone Windows binary file. Downloads. Otherwise, just keep it at 3000. 139.162.177.55 In this article we are going to cover How Install Install Prometheus and Grafana on Windows with WMI Exporter, Configure Prometheus as Grafana DataSource. Next will be to select the data-source. I tried creating self-signed certificates with openssl, "grafana.key" and "grafana.crt", this worked, but when referencing them in Grafana's configuration file "custom.ini" the following error occurred. Now when you launch Grafana, Cloudflare for Grafana will appear on the home screen under installed apps. Grafana uses a dual-license business model. The download starts immediately. If you want to run Grafana as windows service, download NSSM. Step 3 - Create selfsigned .crt and .key files as .pem files with OpenSSL for Grafana, Step 4 - Configure Grafana custom.ini file. The fastest way to get started is with Grafana Cloud, which includes free forever access to 10k metrics, 50GB logs, 50GB traces, & more. You can use Grafana Cloud to avoid installing, maintaining, and scaling your own instance of Grafana. command line. It will bring a success non-active dialog to show the number of buckets in your Influx DB. Home Install Prometheus and Grafana on Windows with WMI Exporter [4 Steps]. 2. Click Download the zip file. You can achieve this by writing a Dockerfile that extends the official grafana/grafana image. Subscribe to Support the channel: https://youtube.com/c/vikasjha001?sub_confirmation=1Need help? HTTPS Running Grafana without JavaScript enabled in the browser is not supported. This dashboard is compatible with WMI exporter 0.12 which you can download here and install by following instructions on the Github page. Go into the You can also change the port number to the one you need. Many Grafana installations require plugins that add extra data sources or provide pre-built dashboard panels. Open services.msc and find the service namned Grafana. Then click Save and Test. +++, Description | Download Image of windows error after attempted restart of Grafana service. NSSM. thank you. We can export the data of the end point using node exporters. Go to your browser and go to, Open OpenSSL by searching for it in Windows' search field. Usually when export them they are coming in cer format without key, You are really on the wrong forum if you are asking here how to get PEM server certificate (its not client/personal certificate!) What is HELM | Why We need HELM | Create HELM Chart ? Select a Grafana version you want to install. For this installation, its conf folder is located atC:\Program Files\GrafanaLabs\grafanaas an example. This is my first solution posted on stack overflow, and I hope it is adequatly formed. You should get the response: Client sent an HTTP request to an HTTPS server. So we will use 14510 to import Grafana.com, Lets come to Grafana Home page and you can see a + icon. It can be even better if it has native Windows cert store integration, so you wont need export certs/keys to pem files. We can copy the download link as per our Operating System from Prometheus download page. This example starts a new Grafana container called grafana that listens on port 9000 on your Docker host. PromQL. Refer to theConfigurationpage for details on options for customizing your environment, logging, and database, etc. As above we can see an architecture of Prometheus monitoring tool. There are several data sources that can be used with Grafana but I will use InfluxDB at this time. Prometheus uses a powerful query language i.e. I tried with crt, cer, and pem without success And the Grafana server is installed in Microsoft Windows Server 2019. The solution is: We have to install prometheus service but in windows we can not installl prometheus as a service for that here im using NSSM package to install Prometheus service, Open your command prompt run as administrator. If you are running Grafana on Windows 10, we recommend installing the Windows Subsystem for Linux (WSL). Navigate to you downloaded file and click to install the file. Note: The NSSM is responsible for launching the Grafana service and it is a service manager for Windows. The following instructions will work with both of these top-level variants. Grafana has two options of querying languages with InfluxDB, using Flux query language and InfluxQL. Use Grafana to turn failure into resilience. Omitting the OS name (grafana/grafana:8.3.0) will give you the Alpine variant of your selected version. Thanks for contributing an answer to Stack Overflow! The default port is 3000. Once the services are identified and the targets are ready then we can pull metrics from it and can scrape the target. The query is opened. Once youre finished, your new visualization will show on your dashboard. The default Grafana port is 3000, this port requires extra permissions on windows.Edit custom.ini and uncomment the http_port configuration option . You can download the latest version of windows installer from here. Copy the sample.ini file and rename the copy to I want to apologize for the comment having formatting issues, as my account does not have a sufficient score to post more than 8 links in one comment. This is regarding LDAPS. Install Grafana You can use Grafana Cloud to avoid installing, maintaining, and scaling your own instance of Grafana. copying of the original files you have a backup, if you copy paste The example I provided above was Once youve worked out which values you want to change, supply the correct environment variables with -e flags when you start your container: Grafana supports file-based configuration too. Install Prometheus and Grafana on Windows with WMI Exporter [4 Steps], Security Groups Configured on EC2 Instances, How to Install Prometheus and Grafana on Windows, #4. He has experience managing complete end-to-end web development workflows, using technologies including Linux, GitLab, Docker, and Kubernetes. These parameters are minimum! Sign up to Skillshare using this link and get one month free membership. Grafanas a cloud-native application thats ready to be launched on popular infrastructure providers, installed on your own hardware, or deployed as a standalone container. Click Next > I accept the terms in the License Agreement & Next > Next > Install > Finish . LDAPS See the links above for the support policies for each project. Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more, Getting started with Grafana Enterprise and observability. Please verify the configuration and try again logger=context userId=1 orgId=1 uname=admin error=Failed to load LDAP config file: Near line 21 (last key parsed servers.root_ca_cert): invalid escape character P; only the following escape characters are allowed: \b, \t, \n, \f, \r, \, \\, \uXXXX, and \UXXXXXXXX" remote_addr=192.168.0.20, #ssl_skip_verify = true Visualization with the use of charts and graphs. Similarly to what you did with InfluxDB, head over to the folder where you stored your executables and run the Grafana server (grafana-server.exe in bin folder). I tried to skip client certificates. Making statements based on opinion; back them up with references or personal experience. Next will be to accept the terms for the License Agreement then choose the features to install. Well demo all the highlights of the major release: new and updated visualizations and themes, data source improvements, and Enterprise features. Once your account is created, you'll be logged-in to this account. Could you tell me more about certificates? 3 Transfer it signed to Linus OS and with Open SSL convert it in PEM! PromQL. Read more about the [configuration options]({{< relref configuration.md >}}). This step can be skipped as shown in the image below. Create a selfsigned certificate with coupled key file in the current folder I checked communication with Wireshark: Configure. Move to the folder where you want to store your certifacte and key sudo find / -iname " grafana " -print Thanks Graham. Note: By signing up, you agree to be emailed related product-level information. And in my config file I tried to use only CA certificate. To fetch data from Prometheus and to display the results on Grafana dashboards PromQL is used. Follow this link: Start the installation of Grafana by double-clicking on the, Check that the Grafana service is up and running. Install Prometheus with windows_exporter on Windows, Convert Web Page to a Desktop Application on Windows using Nativefier, Install and Configure Alacritty Terminal on Windows. Note: To ensure security, do not expose your Prometheus or Grafana endpoints to the public internet using a Service or Ingress. Would love your thoughts, please comment. Enable certificate options and define the paths to the certificate and key file! Read more about the configuration options. Prometheus use multiple modes used for graphing and dashboarding support. And for LDAPS need Lnux version of Gafana under Linux and little system modification to implement LDAPS? on How to install Grafana on Windows and Windows Server, Fresh Start, Clean Install and PC Reset: How to perform a Fresh Start installation of Windows 10, How to Enhance Multi-monitor Experience using Built-in Features on Windows 11, Unable to connect via RDP after installing Norton 360 on Windows, Ways to Run PowerShell remotely on Azure VMs, Follow WordPress.com News on WordPress.com. 1 Define ldap user in the Active directory! I use Microsoft Windows Server 2019 and Grafana Version v7.4.0 Windows version, open-source edition. Then after the Prometheus has changed the way of monitoring systems and that is why it has become the Top-Level project of Cloud Native Computing Foundation (CNCF). requires special privileges on Windows. Now we are presented with the default Grafana Home screen as shown below. Email update@grafana.com for help. The next part is to choose the name that we used for the data source. This means you can get the best out of your complex, expensive monitoring solutions, and databases by visualizing all the data in an easier and more effective way. this folder to anywhere you want Grafana to run from. Note: The default Grafana port is 3000. Thanks for the article! We recommend using the Git command-line interface to download the source code for the Grafana project: Click on the main Grafana icon in the top left corner and hover over the Cloudflare Plugin row and click on . Hello all, I am faced with issues with LDAPS and HTTPS. This port might require extra permissions on Windows. The default username for Grafana is admin and the default password is prom-operator. Not the answer you're looking for? Step1 - Download & Install Grafana for windows Step 2 - Open Grafana in Browser Step 3 - Add Data Source Step 4 - Create a Dashboard Step 5 - Add graph 03 Real Time Monitoring : Set up Grafana with InfluxDB Installing Grafana is quite easy. Latest stable package for Windows | grafana.4.4.1.windows-x64.zip. It is very easy add Grafana as a Windows service using that tool. Docker simplifies Grafana installation and set up by providing an isolated environment in which you can host your observability platform. For me Prometheus got connected over http instead of https i.e. Firstly I will give you more details about my environment: tcp.port eq 636 But please could you help me with LDAPS? FOSS TechNix (Free ,Open Source Softwares and Technology Nix*) is a community site where you can find How-To Guides, Articles, Tips and Tricks for DevOps Tools, Linux, Databases, Clouds and Automation. Likes to share knowledge. From there, Grafana should automatically detect your dashboard as the Windows Node dashboard. 2021 - TechnixLeo - Your primary Linux and Unix blog, Install and Use Grafana 8 on Windows 11 / Windows 10, How To Install InfluxDB 2.x on Windows 11 / Windows 10, Install and use Telegraf on Windows 11 / Windows 10, ConfigureSquidProxyon CentOS 9|AlmaLinux 9|RHEL 9, Install and Use Clementine Music Player on Linux / Windows, Configure VNC and Xrdp server onCentOS 9|AlmaLinux 9|RHEL 9, How To Install and Configure OpenNMS on RHEL 9/ CentOS 9, InstallSensuMonitoring on RHEL 9/ CentOS Stream 9, InstallApache,MySQL, and PHP (LAMP)on Void Linux, Install Prometheus with Node Exporter on RHEL 9/ CentOS Stream 9, Install RustDesk Remote Desktop on CentOS Stream 9/ RHEL 9, Install Ruby on Rails on RHEL 9/ CentOS Stream 9, Run Container and Kubernetes using VMware on Windows 11/10, Install Kubernetes usingk3s onCentOS 9|RHEL 9|AlmaLinux 9, Install MicroK8s Kubernetes on KDE Neon / Kubuntu, Install and Configure RealVNC Viewer on Android, Configure vsftpd FTP Server onKDE Neon / Kubuntu, Install and Use eDEX-UI Terminal Emulator on Windows 11/10, Install and Configure Alacritty Terminal on Windows 11/10, Running Linux GUI applications on Windows Subsystem for Linux (WSL), Install Oracle Linux 8 Complete Steps With Screenshots. Powered by Discourse, best viewed with JavaScript enabled, Grafana Windows Version how to implement HTTPS and ldaps LDAPS, grafana/grafana/blob/1b149523edc2f9add9dc4f816e4895b827db1b83/conf/defaults.ini#L29-L64, grafana/grafana/blob/1b149523edc2f9add9dc4f816e4895b827db1b83/conf/ldap.toml#L11, Hyper-V Dojo - Altaro's Microsoft Hyper-V blog 23 May 19, How to Request SSL Certificates from a Windows Certificate Server, #################################### Server ##############################, # The ip address to bind to, empty will bind to all interfaces, # The public facing domain name used to access grafana from a browser, # Redirect to correct domain if host header does not match domain, root_url = %(protocol)s://%(domain)s:%(http_port)s/, # To troubleshoot and get more log info enable ldap debug logging in grafana.ini, # Ldap server host (specify multiple hosts space separated), # Default port is 389 or 636 if use_ssl = true, # Set to true if LDAP server should use an encrypted TLS connection (either with STARTTLS or LDAPS), # If set to true, use LDAP with STARTTLS instead of LDAPS, # set to true if you want to skip ssl cert validation, # set to the path to your root CA certificate or leave unset to use system defaults, # root_ca_cert = "/path/to/certificate.crt", # Authentication against LDAP servers requiring client certificates. When the download is done, simply click on the MSI file and start running the installer. On the Windows platform, we can install Grafana either through a Standalone library file or a Windows installer package. Copyright 2016. hello and welcome to the forums, can you upgrade to a linux server? Prometheus has many interfaces that allow integrating with remote storage systems. above and you should see a warning. Building your own Docker image with your modifications included saves time and centralizes settings when multiple team members need to be able to spin up a new instance. How do you ensure that a red herring doesn't violate Chekhov's gun? Press Tab to highlight the OK option, and press Enter . When a version becomes unsupported, Grafana may also drop support for that version. It is expandable through a plug-in system. If the problem persists, contact your system administrator. Trying to understand how to get this basic Fourier Series, Euler: A baby on his lap, a cat on his back thats how he wrote his immortal works (origin? This procedure demonstrates how easily you can start a disposable Grafana test instance. recommend TDM-GCC. I tried and export from Windows server machine, Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page. HTTPS is okay I implemented it successfully. Now click on Save & test so it will prompt a message Data Source is working. Revision ce4939bd. What Is the Difference Between 'Man' And 'Son of Man' in Num 23:19? Next up click on Install and it will finish quickly without hassle. An app namned. Now your Dashboard is running up!. Why do academics stay as adjuncts for years rather than move around? Staging Ground Beta 1 Recap, and Reviewers needed for Beta 2. I generated csr for sldap first from Linux with OpenSSL. Regarding the WEB and HTTPS I tried https protocol, port 3000, and certificate signed from CA for the machine in the same format as for LDAPS. In your browser, try to visit you Grafana address with the http protocol, or simply enter only the IP of your Grafana service in the URL field. So once Grafana starts running with the default . 1.) 5 enable use ssl! The next step is to configure the details for it to connect to InfluxDB. Some features might require more memory or CPUs. Open the https.custom.ini file and edit these lines. "Windows Node" Grafana dashboard contains many panels . You can mount a replacement to the expected path using a Docker bind mount: Using a config file eases the injection of more complicated settings. Download and Install Grafana on Windows | Setup Grafana Dashboards - YouTube 0:00 4:58 Download and Install Grafana on Windows | Setup Grafana Dashboards Tech Guru Tech 3.48K. It allows you to query, visualize, alert on, and explore your metrics. Trying the same queried data with a different view format like gauge, I get this. Prometheus server is a core of Prometheus architecture which is divided into several parts like Storage, PromQL, HTTP server, etc. Once its and up and running, a Dockerized Grafana installation works just like a regular one. Please read here for more details: This article shows you how to perform the most common operation of using SSL certificates: requesting certificates from a Windows Certification Authority. Connect Grafana to data sources, apps, and more, with Grafana Alerting, Grafana Incident, and Grafana OnCall, Frontend application observability web SDK, Try out and share prebuilt visualizations, Contribute to technical documentation provided by Grafana Labs, Help build the future of open source observability software Features require more resources include: Grafana requires a database to store its configuration data, such as users, data sources, and dashboards. If in case any big error or any issue occurs, alert manager manage those alerts and contact with human via E-mail, Text Messages, On-call, or any other chat application service. Copy the original.sample.ini file and rename the copy to If I understand correctly Grafana standalone doesnt support HTTPS and needs from a proxy server? Head over to Grafana download page, download the zip and unzip it wherever you want. upon entering the default password, you will be prompted to change your password. 7:Install Prometheus and Grafana on Windows -WMI Exporter|Monitoring Windows Server with Prometheus - YouTube 0:00 / 17:10 Install Prometheus and Grafana on Windows Server. Message me on LinkedIn: https://www.linkedin.com/in/vikasjha. 1 Generate CSR under Lnux OS using Open SSL and transfer private key to the Grafana server. This also helps version changes to your installation over time. Note: By signing up, you agree to be emailed related product-level information. The default username is admin and the password admin.Next up you will be prompted to change the passwords which is highly recommended to do so. The solution - how to convert the .crt and .key files to .pem files: The Grafana service requires the .crt certificate file and the .key file to be converted to .pem file type. Part 1 -Below are the steps to install Grafana on Windows 10 or Windows Server: Download Grafana from the official website as shown below - Click on Download the installer - Open the Downloaded file (MSI) as shown below and - Click on run as shown below. You can use Grafana Cloud to avoid installing, maintaining, and scaling your own instance of Grafana. You could also assign your instance a domain name and set up HTTPS by serving it behind a reverse proxy such as Apache or Traefik.