Can we restrict the App Service to specific country in Azure? - azure

I have a web app hosted in Azure, i need to allow the website to be browseable only from specific countries. Is there any config settings that can be done to restrict the countries in azure.

Azure websites don't have an geo filtering built in, however the Azure CDN provider does have geo filtering so that might be something to look at. Still an extra cost, but not as bad as a WAF.

You can leverage Geolocation feature which is part of one of the new preview services called Azure Maps. You can find more details about the same at Azure Maps
Thanks,
Praveen

Related

How can I add static HTML pages in the Azure Developer Portal to display some documentation text?

I need to add pages (kind of static web pages) in Azure APIM Developer Portal to display documentation. Is there any tutorial to explain how to achieve it?
Is there a way I can read the text content from REST API calls and populate the pages in Dev portal?
I believe the issue is more or less similar to this where you are trying to update documentation properly at Azure Api Managment developer portal.
In that case, as mentioned in the thread, you can try with swagger but in APIM portal it might not work immediately. Microsoft product team has confirmed that they working on improvig support for OpenAPIv3. The ETA is about end of September.
However, you may also check the self-hosted gateway feature
The self-hosted gateway feature expands API Management support for hybrid and multi-cloud environments and enables organizations to efficiently and securely manage APIs hosted on-premises and across clouds from a single API Management service in Azure.
Overview

Azure API Management Instance Copy with Developer Portal Content

I want to migrate all the content/data of 1 azure API management instance to a different instance.
While checking for options, came across backups, however the MSFT clearly informs that Developer Portal Content( i.e applications,products,subscriptions) are not included in the backup.
https://github.com/MicrosoftDocs/azure-docs/issues/28199
In this case, How can I migrate apim instance with also the contents of developer portal.
I have also looked at REST API's but there are no API's exposed for Applications in developer portal. Does that mean in case of disaster recovery , all the data of developer could very well be gone? Any better options here?
It is possible. We can take backup of applications, products and subscriptions of API management and restore it to another APIM. Only constraint is that both APIM should be of same tier.
Please follow following [blog] https://blogs.msdn.microsoft.com/stuartleeks/2015/04/29/azure-api-management-backing-up-and-restoring-configuration/
Other solution of instant DR is using 2 APIMs in different regions behind a traffic manager and maintain both APIMs.

Publish WebApp to Azure MarketPlace

My company has a direction to create web app to be published and sold on Azure Marketplace.
After reading up on the topic on https://azure.microsoft.com/en-us/marketplace/programs/certified/, I am confused that what is actually the right way to achieve what we want to do above.
Do we need to create a VM as a container for our webapp so that it can be sold on Market Place? In this method, are subscribers creating their own VM service from the image we publish? I wonder how are updates/fixes being pushed out to every subscriber.
I then came across AppSource. In this way, are we creating/hosting the app in our azure app service, and users are authorized into the app through AAD (it looks like we have to use AAD authentication?)? Are we able to segregate user data by say, organizations?
I really appreciate if someone can shed some light on this.
For point 1, you could look at this question: Publishing a web application on Azure
i think what you are looking for is the "solution template". it took me a while to get it, but if you look at the docs there is a comparison between "Virtual machine" and "Solution template".
From the docs:
VM example:
As an Azure publisher, you've created and validated a VM with an innovative database service. Other Azure subscribers want to procure and deploy this VM into their cloud service environments.
Solution template example
As an Azure publisher, you've bundled a set of services from across Azure that make it quick to deploy cloud services with load balancing, enhanced security, and high availability. Other Azure subscribers can save time by procuring the solution template that meets their objective. They don't have to manually locate, procure, deploy, and configure the same or similar Azure services.

Unable to find option to create a CDN in the new Azure portal

I'm trying to create an Azure CDN and cannot find the option to do in the new Azure portal.
According to other sources, there is supposed to be a CDN option under the New -> App Services menu like so:
But when I log into the portal, this CDN option is missing. This is what I see:
Does this have anything to do with my subscription? I'm using a "3-month Free Trial".
Updating to include a screen shot of my left pane options. No CDN!
I finally have the answer why the CDN menu option doesn't appear.
The following from Windows Azure Technical support:
"We’re in the process of building out our next generation Windows Azure Content Delivery Network (CDN) architecture, and during this time we are no longer accepting new CDN customers.
With the CDN functionality having recently transitioned to the new Azure management portal, we have enabled it automatically only for customers who were using CDN in the old management portal, so they can continue to manage their CDN configurations. For everyone else, the CDN feature is not enabled in the new portal.
We highly encourage you to wait until we’re ready building our next generation Azure CDN service."
Should be on the left menu - but then this is an enterprise account: and just confirmed there is no CDN option on my personal account - hmmmm...
Good morning
As far as I know their is no 'Enterprise' account, I have multiple logins ranging from MSDN, partners etc and all have the same features. The only difference is when you register for preview services.
On the left hand side in the new portal (light blue bar ) you should see the following items -
All Items
Web Sites
Virtual Machines
Mobile Servces
Cloud Services
SQL Databases
Storage
HDInsight
Media Services
Service Bus
Cache
Recover Services
SQL Reporting
CDN *************
Networks
Traffic Manager
Management Services
Active Directory
Add-Ons
Do you see the same, can you see CDN highlighted above
Shane

Is it possible to use a custom domain with Windows Azure Service Bus?

We have a complex Azure setup...cloud services, websites, storage accounts, VM's...the whole shebang.
We have custom domains to all of these things and they work great, but I can't find any documentation on setting up an A record or a CNAME to work with their Service Bus functionality.
Anyone know if this is possible?
David,
Thank you for sharing your requirement. Using custom domains with Windows Azure Service Bus is not currently supported. However, it is among the features that the Service Bus team is considering enabling in the near future. We'll have further information on this when the feature is available for use.
-santosh

Resources