Azure ACI on Windows - How to access shared folder in container from on-premises and access Azure fileshare - azure-container-instances

i know that we can access azure file share from only the Linux Azure Container Instance. (not windows)
link here
So how can i access Azure file share from an Azure ACI of windows ?
Can i access a shared folder on Azure ACI container from on-premises windows machine ?Azure ACI has public IP address. So can we access like \IP Address\shareName ?
Please help

Q1. So how can I access Azure file share from an Azure ACI of windows ?
As you know, mounting an Azure Files share is currently restricted to Linux containers. So you cannot use this way to access the file share from the windows instance. I suggest you use the Azcopy to access the file share, in this way, you need to configure it yourself.
Q2. Can I access a shared folder on Azure ACI container from on-premises windows machine ?Azure ACI has public IP address. So can we access like \IP Address\shareName ?
For this question, you can configure the container instance as an NFS server, then you can access the NFS server in the way you knew before.

Related

How to access Azure Storage via VPN? Private Endpoint?

I have VM in On-premise VMWare environment, Azure Virtual Network Gateway and Azure Storage.
I would like to access from Azure Storage Explorer in on-premise VM to Azure Storage via VPN without using public internet.
Is Private Endpoint of Storage and bastion of VNet the best practice?
Does it limit using public internet access to for other usage?
https://learn.microsoft.com/en-us/azure/private-link/tutorial-private-endpoint-storage-portal
Microsoft Azure Storage Explorer is a standalone app. You could access storage resources through Azure RBAC and ensure the network is connected between the on-premises network and the Azure virtual network.
As far as I know, Storage Explorer uses HTTPS by default and there is no limit to use the public Internet, you can enable the private endpoint for your Storage Account and set up the VPN connection. You also need to assign your account to access the blob, table, or other service endpoints with enough permission.
For more information:
Azure Storage Explorer troubleshooting guide
Azure Storage Explorer security guide

New Linked Service (Azure SQL Database) Test connection failed

I'm creating New Linked Service that would allow connecting to PaaS DB but the Test Connection is failing. Things I've checked are:
-Firewall on Logical VM for PaaS DB(Relevant IP are in place)
-Connect to PaaS DB via SSMS(It Works)
-Typos
I've used AutoResolveIntegrationRuntime since DB is in the same RG as the Azure DataFactory. Google didn't help much.
Regards
PS: More info can be provided if needed.
Firstly, make sure you have opened the "Allow access to Azure Service" in firewall setting.
What's your PSSA DB, single database or managed instance?
For single database:
The important thing you need to know that:
For managed instance:
To use copy data from an Azure SQL Database Managed Instance that's located in a virtual network, set up a self-hosted integration runtime that can access the database. For more information, see Self-hosted integration runtime.
If you provision your self-hosted integration runtime in the same virtual network as your managed instance, make sure that your integration runtime machine is in a different subnet than your managed instance. If you provision your self-hosted integration runtime in a different virtual network than your managed instance, you can use either a virtual network peering or virtual network to virtual network connection. For more information, see Connect your application to Azure SQL Database Managed Instance.
Here an tutorial can helps you: Azure SQL Managed Instances and Azure Data Factory: a walk-through.
Hope this helps.

Running Windows Service on Azure VM with managed identity

When creating virtual machines, there is an option to create a managed identity for the machine for authenticating to other Azure resources such as storage accounts as referenced in the following Microsoft documentation.
https://learn.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/
I have a virtual machine that runs IIS FTP service. I'd like to run the windows service as the managed identity so that it can access the storage account used for the ftp root directory, but I can't find a way to successfully specify this managed identity principle under the "This Account" area of the Log On tab of the service.
Is it possible to run a windows service within an Azure VM using the managed identity of the VM assuming the system assigned managed identity has been turned on? If so, when running the service as a specific user, do you format it like you would a regular managed service account by appending the $ at the end with no password?

How to authenticate users in a commercial environment without on-premises Windows Server equipment?

So what I need is a remote/cloud Windows Server that I can connect to using RDP (or another remote connection program) where I can create users, groups, basically everything I could do with an on-premises Server instance. What I need though is to be able to setup all the office computers to authenticate through the cloud AD. I have no clue how to do this. I cannot have a Server running on-premises, period. Just need something where I can connect each computer to the remote domain/forest, hopefully using an IP to the server, and then have the employees be able to logon to any domain-connected PC using their credentials. Thank you for any and all answers! -Scott
You need Azure Active Directory. You can control everything with remote management in the way you have described. Per the provided link, "Azure Active Directory (Azure AD) provides an easy way for businesses to manage identity and access, both in the cloud and on-premises."

Accessing Local Storage in azure

I have a website in azure which I want to create pdfs from templates. I need some where to store the pdf while I'm creating it. After some searching round I thought the best way to handle this would be through Local Storage. I added a Windows azure cloud service project to my web app. I then added local storage to the role for my web app. Locally I can now create pdfs from templates and store them in blob storage. However when I publish the app to azure it no longer works. I thought I might need to create a cloud service in azure from my local cloud service project so created a package to do this. The cloud service is now running but I still can't access local storage.
The line:
Dim myReportsStorage As LocalResource = RoleEnvironment.GetLocalResource("myReports")
works locally but fails when I publish the website to azure. I'm not sure if I somehow need to link my website and my cloud service in azure but I can't see how to do this.
If anyone can help with this I would be very grateful.