It’s time to start talking about Microsoft Azure, cloud computing service created by Microsoft for building, testing, deploying, and managing applications . . . A lot of Azure services will be covered in this “Tech Trainer Azure series”, and for today I decided to explain how to configure FTP on Ubuntu machine on Azure. That is something which I had to configure few times during last week.
Once when you install Ubuntu VM on Azure and want to configure FTP service, you have to know few thing:
- FTP on Azure works in passive mode
- FTP service on Linux not installed by default
- FTP service configuration file must be changed
- You have to create inbound firewall rules on Azure VM Network Security Groups
As a FTP service, I like to use VSFTPD. Installation is easy with command sudo apt-get install vsftpd. Once installed service, have to be configured. Configuration file is located to /etc/vsftpd.conf, and have to be changed with following parameters:
ftpd_banner=Welcome to Azure Ubuntu FTP service.
*Some of configuration parameters, such as pasv port or ftpd_banner and variable and you can configure different.
After changing configuration file, run sudo service vsftpd restart in order to restart services and apply changes.
Inbound firewall rules have to be configured in following:
At the end, you need to create user and give him appropriate permissions.