Issue - Failure in Microsoft Learn Exercise - Deploy a Docker image to an Azure Container Instance : I cannot see FQDN or Public IP

ARMANDO LOPEZ 41 Reputation points
2024-10-09T00:51:57.1666667+00:00

Good morning, I am studying to renew my azure administrator associate certification and I had a problem with the Microsoft Learn exercise with the following name and link:

"Exercise - Deploy a Docker image to an Azure Container Instance"

https://learn.microsoft.com/en-us/training/modules/intro-to-containers/7-exercise-deploy-docker-image-to-container-instance

I tried twice (yesterday and today) to get the fqdn or public ip address of the containerized web app but I could not get them. The lack of fqdn or public ip address stopped me to finish the mentioned exercise because I couldn't get the web page of the azure container instance with the container name: hotelsysteminstance. The azure container instance was created and ran correctly but with missing fqdn and public ip address.

I report this issue in order to save time to other learners in case it is a general problem.

Thanks in advance, Armando

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,697 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pradeep M 3,830 Reputation points Microsoft Vendor
    2024-10-09T05:32:39.1466667+00:00

    Hi ARMANDO LOPEZ,

    Thank you for reaching out to Microsoft Q & A forum. 

    It appears that your Azure Container Instance was successfully created; however, the Fully Qualified Domain Name (FQDN) or public IP address is not visible. To resolve this, I recommend reviewing the following points: 

    1.Networking Configuration: Confirm that the container instance was configured with a Public networking type in the Networking tab during setup. If it was set to Private, the instance will not have a public IP address or FQDN. 

    2.DNS Name Label: Ensure that a unique DNS name label was provided in the Networking tab. If this field is left empty or if the name is not unique, Azure may not assign an FQDN. 

    3.Ports: Check that port 80 (or the port you are using) is open and that the protocol is set to TCP under the Ports section. 

    4.Azure Portal: Once the container instance is created, navigate to the Overview pane in the Azure Portal. The FQDN and public IP should be displayed there. Alternatively, you can use the Azure CLI to retrieve the public IP address with the following command: 

    az container show --resource-group <your-resource-group> --name <your-instance-name> --query ipAddress
    
    

    5.Container Logs: If the issue persists, review the container logs to identify any potential errors that could explain the absence of the FQDN or public IP. 

    Should you have verified all these configurations and still encounter the same issue, it may be worthwhile to redeploy the instance, ensuring that each step is carefully followed. 

    Please feel free to contact us if you have any additional questions.     

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.        

    Thank you. 


0 additional answers

Sort by: Most helpful

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.