Getting started Cloud Automation

Im Durchschnitt wird dieses Tutorial Getting started Cloud Automation mit 5 bewertet, wobei 1.0 die schlechteste und 5.0 die beste Bewertung ist. Es haben insgesamt 246 Besucher eine Bewertung abgegeben.
245 1

Getting started Cloud Automation

gridscale
Getting started gridscale Cloud Automation

This tutorial is an introduction to Cloud Automation. In the use case example “Hello, Cloud Automation” we show you how to create a new Cloud Automation Task with Slack WebHook Action in your gridscale panel. In addition, we explain all individual features of Cloud Automation for a quick start – click on the respective individual feature in the table of contents to learn more about it.

In the future we will implement more useful options to help you automate your entire infrastructure. Next release, you can already look forward to the impressive automated capacity management feature.

What is gridscale Cloud Automation?

The gridscale Cloud Automation is a feature that allows you to automate your cloud individually. Automated management of your cloud makes you more productive, increases the flexibility of your cloud infrastructure and enables you to react more quickly to irregularities. All without writing a line of code.

How does gridscale cloud automation work?

We offer you a large selection of triggers with which you can define event-based actions. You can define these triggers by additional filters and conditions, down to the smallest detail. For the action to be performed, you can choose between a Slack WebHook, HTTP request and email notification.


 

Hello, Cloud Automation!

In the following application example we create a Cloud Automation Task with Slack WebHook Action.

Access the Cloud Automation section of the panel

Cloud automation is currently only available in the Expert Panel. Open your gridscale panel in your browser and select the Expert Panel from the menu in the upper right corner.

Activate gridscale Expertpanel

Next, go to the Cloud Automation section, click Customize Menu on the side menu and select Cloud Automation.

Optionally, you can add the link to Cloud Automation to your menu by clicking on the checkbox.

gridscale Cloud Automation Menu

Creating a Cloud Automation Task

In your Cloud Automation section, select “Create new Cloud Automation”.
In the next step you can define your automation task. Choose a unique name, the type of trigger and the desired action.

In our example “Hello, Cloud Automation” we receive a notification in our slack channel as soon as a new server is created.

Select as Action “Slack WebHook”.

Create Cloud Automation Task

Another parameter to create cloud automation is the Webhook-URL of your slack account.

To create a new incoming webhook at Slack, you must log into your slack account at slack.com.

Then you can add a new webhook within your slack account: Manage > Custom Definitions > Inbound Webhooks >> Add Configuration.
Create Slack WebHookThe last step is to copy the returned URL of Slack into your action configuration and adjust the format and content of your message.

The last step is to copy the returned URL of Slack into your action configuration and adjust the format and content of your message.

Here you can generate your message as a simple standard message with the available variables. Or alternatively generate a complex slack message according to your personal wishes in the slack message format with JSON.

Slack WebHook Action

Try Cloud Automation Task

After your Automation Task is completed, you can create a new server in your gridscale panel for testing.

Immediately after creation, the cloud automation event you just created is triggered and posts the slack notification to your channel.


 

Cloud Automation Features

Labels

Labels help you organize your cloud automation tasks. Useful labels help you keep comprehensive CAS setups organized. Create appropriate labels according to the application and get a folder structure in this way.

Trigger

Cloud Automation Trigger

Automation-Trigger

In the section Automation Trigger you select the segment for the Cloud Automation Task, all segments from the gridscale panel are available for your tasks.

Event

Hier bestimmst du das genaue Ereignis aus dem jeweiligen Segment, das die darauffolgende Action auslöst. Durch die Abbildung aller gridscale Funktionalitäten behältst du die volle Kontrolle.

Events Filtern

Cloud Automation Event Filter

With the Filter option you can specify your trigger additionally. Depending on the selected trigger, you can choose from a variety of filter fields in combination with conditions such as ==, !Select =, <=, >= etc. In addition, you can link all objects from our gridscale panel such as server, storage, network, load balancer and many others to conditions using unique UUIDs.

Actions

Currently you can choose between Slack WebHook, HTTP requests and E-Mail as action, depending on your selection your event can trigger one of the three defined actions.

Slack WebHooks

With Slack WebHook actions, you and your team stay up to date with all changes to your cloud infrastructure. To create a Slack WebHook, you need to add an incoming Webhook integration to your Slack account and create your Cloud Automation message.

You can create messages in a simple format or in any complex style in slack message format. You can combine both formats with our predefined system variables.

HTTP Requests

With the HTTP request option you can connect your cloud automation task to your HTTP endpoints. All standard options and settings are available to access your own applications or dashboards, logging services or similar. A simple HTTP request can therefore hide a lot of power and give you the opportunity to communicate with almost any application.

URL

Target URL of the HTTP request. You can add URL parameters to the target URL depending on the method.

Methode

The different standard HTTP methods are available here. GET, POST, PUT, PATCH, DELETE.

URL-Parameter

Specify which URL parameters of your URL should be appended. This allows you to transfer data directly from the event to your destination application.

HTTP-Header

Customize HTTP headers to pass tokens or other keys to the application.

Request-Data

If you have chosen POST, PUT or PATCH as the method, you can also determine request data in addition to the above settings and use the values passed in the event or object directly in the request, for example.

E-Mail

Actions in the form of email notifications allow you and your team to receive text and HTML emails when your Cloud Automation task is triggered.


 

Automated Capacity-Management

Our upcoming automated capacity management feature is an effective tool that lets you flexibly scale your cloud resources. Depending on asymmetric workloads, you decide how your cloud infrastructure adapts.

gridscale Feature Coming soon!

This tutorial is an introduction to Cloud Automation. In the use case example “Hello, Cloud Automation” we show you how to create a new Cloud Automation Task with Slack WebHook Action in your gridscale panel. In addition, we explain all individual features of Cloud Automation for a quick start – click on the respective individual […]

Schade, dass dir der Artikel nicht gefallen hat.
Was sollten wir deiner Meinung nach besser machen?

Thank you for your feedback!
We will get back to you as soon as the article is finished.

Übrigens: kennst du schon unser Tutorial zum Thema Resize Storage on the fly – without rebooting your server?

×

Developer?

Get the latest gridscale developer tutorials here.
And don’t worry - we won’t spam you