azure regions - download.microsoft.comdownload.microsoft.com/.../2016-01-azure...webinar.pdf ·...
TRANSCRIPT
AZURE REGIONS
More details here: https://azure.microsoft.com/en-us/regions
6
7
8
9
10
11
12
13
Debian on Azure
Microsoft partnered with Credativ, a member of the Linux Foundation, to bring Debian into the Microsoft Azure Marketplace as one of the Azure-endorsed Linux distributions.
• Create Debian VM from the Azure Marketplace
• Bring your own Debian in Azure
15
Bring your own Debian in Azure
• Make sure your Network is configured• Update the Kernel boot line in grub configuration to include additional
kernel parameters for Azure• Install Azure Linux Agent• Install and enable SSH server• Make sure swap space is not created on OS disk• Make sure the VM is de-provisioned before shut down
More details & step by step:https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-debian/
1. First we will set up a Linux virtual machine in the cloud and mount a SMB file system.
2. Then we will schedule a regular backup of the data from the local Linux server to cloud file share using
rsync utility.
3. We will automate this daily procedure and turn off cloud VM resources when we don’t need them (and save
money).
1. If you do not have an active Azure subscription yet, sign up for a free monthly trial and you will get
$200 to spend on Azure resources.
2. Install Azure CLI on your machine
3. Run provision script on local machine or create the machine using GUI in the Azure portal
4. Install RSYNC on the machine that you want to backup
1. Make sure you have SMB CIFS installed
2. Mount the SMB Share
3. Create SSH certificate & upload it to your local machine
Compose a script that will do the following:
1. Send a command to turn cloud virtual machine on
2. Wait while virtual machine is ready to use
3. Run data backup
4. Turn cloud virtual machine off to save money
Linux virtual machine time
$0.018 VM cost per hour
5 hours for the initial setup and first sync of all the data.
Then for the daily incremental backup 30 minutes will be more than enough
Total cost per month for VM usage will be $0.018/hour * 17 hours = $0.30/month.
Storage
$0,05 * 1,5GB = $0,08 per month.
$0.10 * 5GB = $0,5 per month.
Total storage cost is $0,08 for image + $0,5 for backup storage = $0,58
Traffic
All inbound traffic is free. 5GB of outgoing traffic per month is also free but in our scenario we would not
exceed the limit. So the traffic cost is $0.
Therefore, the total cost of such backup solution will be ~$0.88 per month.
Usefull links
• Azure trial
https://azure.microsoft.com/trial/free-trial-open-source/
• About Azure
https://azure.microsoft.com/en-us/overview/what-is-azure/
• Prepare a Red Hat-based Virtual Machine for Azure
https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-redhat/
• Prepare Debian VHD for Azure
https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-debian/
• Cloud Backup for Linux server
https://www.microsoft.com/en-mt/azureboxes/linuxbackup/