Project 701 ~ Azure
Part of the stack that is being used for this project is Azure. I am not a fan of microsoft so my opinion on anything to do with them is not positive. This is the cloud provider that Krupesh has chosen to go with however, so I will learn it anyway. Azure (like most cloud providers) gives 200 credits which are only valid for 30 days (GCP and AWS are both a year). The free trial will be plenty of time and include all the necessary features that I will require. First thing is to create a Linux virtual machine which will host our Odoo server. This was pretty easy to figure out by the name create a resource, clicking the virtual machines tab, then clicking the add button. I am going to use ubuntu 16.04 LTS (Long Term Service) for the image. Odoo doesn’t need much so the B1s (1GB ram and 1 cpu) should do the trick. I will create a new resource group which is a collection of resources that share the same lifecycle, permissions, and policies called venus. The virtual machines name will be venus, the region will be Australia Southeast. The administrator accounts username will be venusadmin and I have supplied my laptops ssh key (which can be copied at ~./ssh when in sudo). The last thing I need to do is select allow selected ports and choose HTTP, HTTPS, and SSH. That’s everything required for the creation of the virtual machine. One thing that I will give Azure is they automate a lot of the grunt work ~ automatically generating the following; storage account, virtual network, network interface, public ip address, disk, and the network security group. Literally the only thing I had to do was add an inbound rule for port 8069, which is default port of Odoo. Easy enough and done. Now the virtual machine is ready I can now setup the Odoo environment. For the DevOps environment I will create an image from this base virtual machine to enable rapid deployment in the future.