How can I change an Azure container instance FQDN to Https

Patrick Robertson 1 Reputation point
2022-04-26T20:10:37.373+00:00

I have SonarQube running in an Azure Container Instance that is not in a container registry. I’m trying to change the FQDN from Http to HTTPS; however, all the examples I see only provide instructions for using a registry. Is there a way to do this without using ACR? Also, we are already using SonarQube and I don’t want to take it down to start a new instance. Is there a way to do this without using a ACR and without creating a new instance of SonarQube?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
643 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Takahito Iwasa 4,841 Reputation points MVP
    2022-04-26T21:47:05.583+00:00

    Hi, @Patrick Robertson

    I understand that you need to offload SSL somewhere.

    The first option is to do SSL offload with the sidecar.
    https://learn.microsoft.com/ja-jp/azure/container-instances/container-instances-container-group-ssl

    You need a deployment that includes a sidecar container to ACI.

    If this is difficult, look for other ways to offload SSL.
    It may be possible using Azure managed services.

    The Azure Front Door / Azure Application Gateway L7 load balancer provides SSL termination.
    I think that the traffic received by HTTPS with these services can be forwarded to ACI by HTTP.

    However, when using this, you need to think about how to control direct access over HTTP.