Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to create Container App Environment in VNET (az containerapp compose create) #28902

Closed
vienleidl opened this issue May 7, 2024 · 3 comments
Labels
Auto-Assign Auto assign by bot ContainerApp customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.

Comments

@vienleidl
Copy link

Related command
az containerapp compose create -g resource_group_name --environment environment_name--location region --compose-file-path "./docker-compose.yml" --registry-server registry_name.azurecr.io --registry-username registry_username --registry-password registry_password

Is your feature request related to a problem? Please describe.
The created Container App Environment and its Container Apps are not able to communicate with an App Service with enabled Regional VNET Integration on the different subnet.

Describe the solution you'd like
It would be great if there is a way to deploy Container Apps to the same regional virtual network with an App Service. So, they can communicate to each others within the same vnet.

Describe alternatives you've considered
Using the external ingress (Accepting traffic from anywhere) temporarily.

Additional context
image

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label May 7, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented May 7, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot ContainerApp Service Attention This issue is responsible by Azure service team. labels May 7, 2024
@Greedygre
Copy link
Contributor

Hi @vienleidl

With az containerapp compose create the auto created environment(if specified environment does not exit) is not support vnet option, recommend using az containerapp env create, for example:
az containerapp env create -g {resource_group} -n {env_name} --infrastructure-subnet-resource-id {subnetId}

@vienleidl
Copy link
Author

Hi @vienleidl

With az containerapp compose create the auto created environment(if specified environment does not exit) is not support vnet option, recommend using az containerapp env create, for example: az containerapp env create -g {resource_group} -n {env_name} --infrastructure-subnet-resource-id {subnetId}

Thanks for your info! I managed to make it worked by creating the environment before starting the az containerapp compose create command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot ContainerApp customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants