Deploy a SFTP server running as a container in an Azure Container Instance with Azure File Shares as the persistent storage
Note: This is a temporary proof of concept
az group create --name <resourcegroup> --location <location>
az group deployment create --resource-group <resourcegroup> --template-file <template.json>
- Template creates two users, with name and password provided as parameters
- Individual file shares will be created per user, which are bind mounted to container instance
- use a SFTP client like WinSCP
- use Container Instance's public IP as hostname
- use username/password for the 2 users to login and view/upload artifacts
- validate on azure file shares
- Supply list of users in config file and map to /etc/sftp/users.conf
- Users should use more secure way to login in like SSH keys. Mount public keys in the user's .ssh/keys directory