Skip to content

Deploy a SFTP service based on Azure Container Instance and Azure File Shares

Notifications You must be signed in to change notification settings

saikovvuri/SftpOnAzure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

SFTP server on Azure

Deploy a SFTP server running as a container in an Azure Container Instance with Azure File Shares as the persistent storage

Deploy to Azure

Note: This is a temporary proof of concept

Deployment Steps via Az CLI

az group create --name <resourcegroup> --location <location>
az group deployment create --resource-group <resourcegroup> --template-file <template.json>

Deployment results

  • 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

Testing

  • 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

Future roadmap

  • 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

About

Deploy a SFTP service based on Azure Container Instance and Azure File Shares

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published