You already know that we have launched a new project dedicated to open source projects -
linuxloves.ms . Details about the project you can find in
our publication on Habré , which has already caused a fierce flame :-).
Developers who create solutions based on Red Hat can easily deploy their solutions in the Microsoft Azure cloud platform. The easiest way to do this is with the help of virtual machines.
To simplify working with virtual machines in the Azure cloud, the Azure Marketplace is offered, which houses hundreds of pre-configured virtual machines with different environments and installed tools, including operating systems, databases, environments, frameworks, CMS, and so on. You can learn much more about the Azure Marketplace on
our Russian-language portal .
')
Consider how any Azure user can deploy Red Hat in minutes.
Finding Red Hat in the Azure Marketplace
This implies that you already have a Microsoft Azure account . If this is not the case, then use the free trial offer from this link .
Go to the Microsoft Azure portal at
http://portal.azure.com , you will open the Microsoft Azure cloud capacity control panel provided to you on request (Figure 1).
Figure 1 - Microsoft Azure PortalClick on the "Create" button to add a new component to your account. In our case, we intend to add a virtual machine with Red Hat. Type in the search box Red Hat. You will receive a complete list of Red Hat configurations available in the Azure Marketplace to choose from (Figure 2).
Fig . 2. - Red Hat list in Azure MarketplaceSelect Red Hat Enterprise Linux 7.2 and in the new information window, click the Create button. Now you are going to directly create a virtual machine selected from the Azure Marketplace (Figure 3).
Fig.3. - Create a virtual machineCreating a VM with Red Hat
To create a virtual machine, in our case with Red Hat on board, you need to specify a number of parameters. First enter the name of the virtual machine. Then the username (administrator) and password access. Choose an Azure subscription if you have several.
An important parameter that must be specified is a group of resources. In general, a resource group is simply a combination of different cloud resources — VM, storage, networks — under the same name to simplify administration. Therefore, at this stage just enter a name for the group.
The last parameter that you need to specify in the first step is the location of the virtual machine - essentially the choice of one of the Microsoft Azure data centers that are located around the world. The data center closest to Russia is Northern or Western Europe. Choose one of them (Figure 4).
Fig.4. - Parameters of the first step of creating a virtual machineClick "OK" after entering all the parameters. In the second step, you will be prompted to choose the size of the virtual machine. By default, there will be several types of machines that are recommended for this type of solution. But you can always choose a different size by clicking on “View All” (Figure 5).
Fig.5. - Select the size of the virtual machineI suggest that you choose the size “A1 Base” as suitable for testing. After selecting, press the “Select” button to go to the third step.
The third step is to fine-tune the deployment. Here, all parameters can be left as default and nothing changes at all. But if it is required that you can select SSD storage for a VM, configure virtual network, security, enable monitoring, create an availability group for VM fault-tolerant operation (Figure 6).
Fig.6. - VM deployment tweaksClick "OK" after fine tuning in order to proceed to the final steps and launch the virtual machine.
You will receive an information window listing your settings (Figure 7).
Fig.7. - Information window with settingsRead the information and click "OK" in order to start the process of deploying your virtual machine with Red Hat on board.
You will see the information message “Deployment started ...” (Figure 8).
Fig.8. - Deployment startedAs soon as the VM is ready, you will receive another informational message, and the control panel of the created VM will open on the portal (Figure 9). In general, creating a virtual machine takes a few minutes.
Fig.9. - Virtual machine control panelCongratulations! You have deployed your machine with a ready Red Hat.
Manage deployed virtual machine
In order to make sure that the virtual machine works first, we can connect to it at the public address via SSH.
You can find the public address in the header of the administration panel. In my case, this is 52.169.165.229.
You may be interested in how to get the FQDN address for your car in the form of a domain name. By default, the VM address is not mapped, but it can be easily obtained. To do this, go to the VM settings (All settings) in the configuration panel. Then select the “Configuration” item and in the settings panel specify the name for your VM, which will be included in the FDQN path (Figure 10).
After saving the settings, you can use the link, which will be presented as (my case)
http://vyuredhat.northeurope.cloudapp.azure.com/ .
Fig.10. - Adding FDQN path for virtual machineYou can now use the same address for accessing your virtual machine over SSH, for example:
SSH vyunev@vyuredhat.northeurope.cloudapp.azure.com
where vyunev is the username (administrator) you specified when creating the VM.
Or simply using the address in your favorite tool (Figure 11).
Fig.11. - Connect to the virtual machine via SSHNow you can configure your VM with Red Hat as your heart desires!
Red Hat support for Azure users
One of the features of deploying virtual machines in Azure is the built-in support for Red Hat. You can get it from the virtual machine control panel (Figure 12).
Fig.12. - Red Hat client support in AzureYou can then follow the link and get qualified official support for Red Hat solutions in the Azure cloud (Figure 13).
Fig.13. - Azure and Red Hat User Support PortalConclusion
We looked at a simple example of how using Azure and the Azure Marketplace platform in a matter of minutes, you can deploy your Red Hat environment and gain access to a ready-made working virtual machine.
Azure and Azure Marketplace offer to launch any solutions built on any technology, including for Linux and Windows. Here is just a brief list of what you can find: Red Hat Enterprise Linux, Oracle Linux, CentOS, CoreOS, Ubuntu, Suse, WordPress, Moodle, Red Hat, Jboss, Redmine, SEO Panel, Parse, Git, GitLab, Red Hat, ModX, Memcached, LAMP Stack, Jenkins, Node.js, SugarCRM, Ruby Stack, Ghost, Subversion, ActiveMQ, Nginx Stack, Solr, Tomcat, JRuby, OwnCloud, MySQL, Drupal, MongoDB, Piwik, Dolibarr, LAAP Stack, OpenProject, Plone, eXo, Mahara, Zurmo, RoundCube, Mautic, ThinkUp, Prestashop, Tracks, phpBB, eZ Publish, Joomla ...
Continue to use Azure and host your opensource solutions in the cloud. This will help you in this detailed section of documentation and resources
on this link .