Static IP or IP range for ACI FQDN

theITTeam 1 Reputation point
2020-06-05T18:30:14.957+00:00

Hello,

We have created a SFTP server using Azure container instance. The container instance has a FQDN, however our client has requested a public IP range for the FQDN so they can configure their firewall accordingly. Is there a list of IP ranges available for ACIs ? I tried looking here - https://www.microsoft.com/en-us/download/details.aspx?id=56519 (Azure IP Ranges and Service Tags – Public Cloud) however couldn't find subnet currently assigned to my ACI, so suspect this isn't the correct list.

It would be great to assign the ACI a static public IP, but after a little research, it seems like a convoluted and expensive process (using application gateway).

Lastly, any ideas what triggers the IP to change? e.g. I noticed that after redeploying the ACI template, the IP address changed...wasn't too sure if it was that that triggered the IP change or restarting the ACI.

Any guidance would be much appreciated. :)

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,977 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Manu Philip 18,671 Reputation points MVP
    2020-06-05T19:01:00.557+00:00

    Hello,

    I am not quite sure, if the following method works for you. However, I am suggesting to try this option.

    You may create Container based Azure Web for this page: https://portal.azure.com/#create/Microsoft.WebSite

    (Also refer my blog: http://cloudcompute.info/publish-docker-images-from-container-registry-in-azure-app/)

    Once you have this ready with your container application, you can assign a custom domain for the application. This custom domain will have a static IP from your provider (Go Daddy etc.)
    Following reference from my blog helps on this step

    http://cloudcompute.info/how-to-configure-an-azure-app-from-marketplace-in-a-custom-domain/

    Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

    Regards,

    Manu

    0 comments No comments

  2. theITTeam 1 Reputation point
    2020-06-05T20:07:57.83+00:00

    Hello.

    Thanks for the quick reply.

    Can I apply a custom domain to an existing ACI? Just a bit of background, I used this template to deploy the SFTP ACI sftp-on-azure

    Thanks


  3. theITTeam 1 Reputation point
    2020-06-05T22:41:18.93+00:00

    Hi, thanks for your reply. I have checked your blog post and I do not have the option "Custom domains"

    0 comments No comments

  4. Manu Philip 18,671 Reputation points MVP
    2020-06-06T04:54:24.17+00:00

    Hello,

    I personally deployed the docker and verified the possibility of assigning a custom domain to the sftp container. You may follow the steps as below:

    Open App Services

    Select 'Docker Container' in Publish selection

    SKU and Size should be a paid plan

    On the Docker page select 'Private Registry' in Image Selection

    Server URL is your container Image url in GitHub : https://github.com/Azure-Samples/sftp-creation-template/tree/master/

    Publish with all other preferred values.Once Publishing is done, go to the overview page and see the ftp url, username etc.
    You can go to 'Custom Domain' section and see the Public IP assigned to the application. You may use the IP or assign a new custom domain as explained in my Blog

    Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

    Regards,

    Manu

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.