Nowadays these types of tools are increasingly more used because of the necessity to integrate multiple systems and applications. The cloud providers were also very important for the popularization of these types of tools. They have their own services to provide these books and hooks. The second ones are increasing their popularity due to the variety of applications and websites that provide support for them.
It is a simple tool to automate your current operations. A runbook is a set of predefined procedures that can be defined in a Powershell script.
These runbooks can be executed manually every time you want or can be scheduled to be executed based on a date or time. The following list shows the most relevant advantages:
- Decreased working time
- Defines standards for operations
- Reduce the number of errors
Let’s imagine that you need to rotate your database security keys every Sunday. You could do this operation manually but is not a good approach. A better solution is to write a simple script with the necessary commands to rotate the necessary keys of your database and define a schedule to trigger it. Another good example is when you want to create a backup from your database and want to copy that backup file to another storage system.
There are multiple examples where a runbook is a really good solution in order to automate and simplify your operations. Every time a new member of a team needs to create a database with all the necessary configurations related to the business logic of the project on its workstation, you just need to send him the runbook to do that. It will reduce the time to explain to him the rules. Also, it will avoid unwanted errors and he will start working as soon as you tell him which runbook he should execute.
Establishes the communication between different systems triggered by an event. Allows the integration of multiple tools. It’s basically an HTTP callback defined by the user. This tool is a mechanism to receive and process data that was created from some external application or system, in real time.
Webhooks send data as soon as an event occurs. They are very fast and reduce the delay time to forward the data to other systems. However, and because nothing is perfect, they have some limits regarding the size of data to transfer. You are not able to sync large amounts of data. This limit size will depend on the provider that you use to create a webhook. Here is a list of some well-known webhook providers:
You belong to the development team and you want to receive a notification every time a new version of an API was released. You can set a webhook to send a Slack notification when a new API version was deployed.
This type of tool is very important for critical business rules because they are activated based on an event. If your company wants to be notified every time your profits are decreasing by more than 5% you need to know that as soon as possible. Webhook works as a reactive tool. When this condition was met, it will respond with the predefined action.
These books and hooks at the cloud library
Each cloud provider as Azure, AWS, Google Cloud Platform, has its own service to provide these tools for their users. With a cloud native architecture, it will be worth it to keep in mind the importance of these tools and the fact that it already exists in the cloud.
They are both really good tools to improve our daily work. The amount of time for configurations that we won with a runbook it’s always worth it. The webhooks are great because are very fast to send data regarding an event. This will reduce the time that your business needs to be notified when there is something that is not going well.