📜 ⬆️ ⬇️

"The little things that we noticed": case IaaS-provider

One of the fundamental elements of our approach to work is to simplify the interaction of the client and the various management systems of our virtual infrastructure.

In this direction, we work constantly and have already automated a number of tasks that were previously solved exclusively with the help of applications for the support service.

As part of this work, we made a complete redesign of our site , developed an API for our clients, automated the scaling of resources and ordering software licenses.
')

/ Photo: PokemonaDeChroma / CC

"Turned on and running": pre-installed software


A significant part of our clients are independent developers and small studios who are not willing to spend time setting up and administering hosting, ordering additional software and updating licenses.

Such clients first need the ability to "fast scan". For them, we have implemented a special calculator that allows you to create expectations for possible costs and place an order for a couple of minutes. Here, the client already has a pre-installed ISPmanager 5 control panel. It has a convenient REST API.

In addition, we solved the problem of monitoring the status of software licenses. To do this, we have identified a special page where activated licenses are displayed.



In addition to the pre-installed control panel, we offer our clients servers on Debian and CentOS. They are among the most popular operating systems based on Linux.

Debian boasts not only the ease of configuration and administration, but also the most complete package of programs ready for use. That is why it is very popular.

CentOS is an open source distribution based on Red Hat Enterprise Linux (RHEL). It is focused on the corporate sector and responds to the demand for stability and reliability.

In addition, we have introduced and new items in the field of content management . Now our clients can deploy a server with pre-installed systems for creating websites - Joomla and Drupal. In the near future, we plan to add them to Wordpress and 1C-Bitrix.

The development of this functionality did not cause us additional difficulties. A step towards a certain group of customers has improved the user experience.

“Do it yourself”: automation of service tasks


One of these innovations is our DNS manager. Prior to its entry, our clients had to contact support to make the necessary changes to the DNS settings.

We promptly processed such applications, but in the end we decided to provide a little more independence to our customers. To do this, we analyzed the available implementations of the DNS server and opted for the ANS Carrier-Grade DNS Appliance product.

To work with him, we used the API. Now, when you save changes in the 1cloud control panel, the service task handler automatically starts and changes the DNS settings.



If we are talking about the API, here we decided to provide our clients with an open REST API, with which you can assign tasks to the handler in the same way as they are performed when changing the DNS settings. Applications of our clients can do this immediately after authorization and receiving a special token.

This approach allows you to automate the most significant tasks: instantly use additional resources when peak loads are reached, or abandon resources that are not currently in use.

There are more mundane possibilities. For example, creating a new server:

curl -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer 75bb9805c018b1267b2cf599a38b95a3a811e2ef7ad9ca5ed838ea4c6bafaf50' "https://api.1cloud.ru/Server" -d '{"Name":"testAPI","CPU":1,"RAM":1024,"HDD":40,"imageID":1,"HDDType":"SSD","IsHighPerformance":true}' 

The response is a JSON object with the attributes of the server created:

 { "ID":777, "Name":"testAPI", "State":"Active", "IsPowerOn":true, "CPU":1, "RAM":1024, "HDD":40, "IP":"5.200.XX.XX", "AdminUserName":"1CloudAdmin", "AdminPassword":"XXXXXXXX", "Image":"WinServer2008R2x64En", "IsHighPerformance":false, "HDDType":"SAS", "LinkedNetworks":[{"NetworkID":57, "IP":"10.0.1.1"}, {"NetworkID":98, "IP":"10.0.2.4"}] } 

"Think for yourself, decide for yourself": wiki-materials


In addition to the general section with guides and answers to the most frequent questions, we decided to share with the audience tips on choosing an IaaS provider and talk about the most common myths in this area:

Source: https://habr.com/ru/post/327056/


All Articles