I'd like to deploy an instance of InfluxDB v2 in an Microsoft Azure Container Instance and use TLS server certificates issued by Let's Encrypt to protect the traffic. My problem is, that the InfluxDB container image doesn't come with CertBot pre-installed and I don't want to generate my own InfluxDB container image containing CertBot. Any good idea how to work around this issue?
How to use Let's Encrypt certificates with InfluxDB v2 on Azure Container Services
61 Views Asked by Rufus Buschart At
1
There are 1 best solutions below
Related Questions in CERTBOT
- certbot and redis tls: which files I need to use?
- elasticsearch cannot read certificate file
- Nginx in docker does not find certificate file I shared the volume with docker compose
- How to use Let's Encrypt certificates with InfluxDB v2 on Azure Container Services
- How do I obtain an SSL Certificate for my Wordpress website that was created on AWS EC2
- I'm trying to make an HTTPS request to my Node.js server using Axios, but I keep getting the ERR_SSL_PROTOCOL_ERROR error
- AWS EC2 instance - server certificate does NOT include an ID which matches the server name
- Problem with SSL in Chrome (hostinger, letsencrypt)
- Error when trying to generate certificates with certbot using Docker image
- How to deploy SSL certificates on Flask-based web app?
- How to get an SSL certificate in Docker compose?
- Enable HTTPS for both internal and external IPs for EC2 instance
- Certbot failed to authenticat standalone: invalid response
- Docker VPS work with HTTP but not with HTTPS
- .symlink lost its target once reboot the pc
Related Questions in AZURE-CONTAINER-INSTANCES
- How to I execute python code in parallel using Azure Container Apps as the backend (or other serverless infra)?
- Error when deploy a FastAPI Docker Image into Azure Container Instance
- Azure container instance communication between public and private subnet
- Can not connect from ACI to Azure SQL Server
- Can I use a different port in Azure Container instances for public access?
- How to create docker containers dynamically in Azure when message is passed in Service Bus Message queue and delete the containers when completed
- Illegal Instruction when running Chroma db route
- How to use Let's Encrypt certificates with InfluxDB v2 on Azure Container Services
- Error deploying Azure Machine Learning Studio Designer inference pipeline: "ImportError with werkzeug.urls" in real-time endpoint
- Can´t connect to running keycloak docker image in azure container instances
- Azure container instance and a private container registry
- Pushing image to Azure Container Registry preconfigured with certain config file
- Running secure (https) seq ACI
- Blob trigger not waking up the docker container
- Unable to connect to ACI with a Private IP (in a subnet of a vnet) from Azure
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use Traefik, it automatically issues and synchronizes the Let's Encrypt certificates. In order to use Traefik you need to deploy it as an Azure Container Instance. Besides that you have to create Azure file shares, one to upload Traefiks configurations files and another one for the Let's Encrypt certificate. For a more detailed explanation how to deploy the container group and set up the file shares, see https://github.com/CarlaKlement/DocumentationExternalMonitoring.git.
Traefik has two configuration files: the static and the dynamic configuration. In the static configuration the network entry points into Traefik are defined. This part of the static configuration should look like this:
Next, you have to integrate the dynamic configuration:
“directory” gives the file path to the dynamic configuration and “watch: true” allows Traefik to automatically watch for file changes. Additionally, you need to define the certificate resolver, which are responsible for retrieving certificates from Let’s Encrypt:
At last, this is how your dynamic configuration should look like:
The router “influxdb-ssl-router” will connect the incoming requests of the entry point port 443 with rule "host(`insert your url here`)" to the service "influxdb-service", which is defined below.