How to run a “security upgrade for debian and Ubuntu” script

Quick and easy systems orchestration with ECmanaged 

Orchestration is a key concept in the world of Cloud computing. It is needed to glue automated tasks together in the right order and to manage complex workflows and processes. Without orchestration you ’d spend valuable hours of your time connecting to servers and running tasks manually. 

With ECmanaged, you have a powerful systems orchestrator at your disposal. The ECmanaged builder allows you to ease the application deployment process, enabling you to run your deployments or management tasks on several servers at the same time in a very simple manner. The only thing you need to do is get familiar with our user-friendly interface and let the ECmanaged builder execute one of the predefined scripts or one of your own scripts. It is a fool proof solution. 

Running a "security upgrade for debian and Ubuntu" script 
In this article we will show you how easy it is to execute a script simultaneously on two instances with ECmanaged. We will use a systems upgrade script as an example. The whole process takes only a few minutes and can be done in 3 steps. You just have to choose, open and execute the script. ECmanaged will do the rest. 

This tutorial covers only a small part of ECmanaged Builder´s potential. Our builder has been designed to automate the full deployment of applications using high-level definitions (recipes, scripts, source code, configuration files). It allows you to build a template of your application and to deploy it whenever you want in any Cloud provider you might want to use. 

Being a high-level definition, and not just a static image from the Cloud provider, you can deploy the template in any Cloud, modify it and apply it again or deploy it in a new server in just a few minutes. 

Step 1 of 3: Choosing a script to run 

First you need to choose the script you want to run. You will find your scripts in the “Builder” menu at the “Scripts” section. Remember, you can create your own scripts, or use one provided by ECmanaged. Our tech team is adding new predefined scripts continuously so do not hesitate to tell us if you would like us to add a specific one. 

In case you want to use one of our predefined scripts, you can carry out a search and filter or sort the script you are looking for. Just type your query in the search box. In this tutorial we want to use the “Security upgrade for debian and Ubuntu” script. 

Step 2 of 3: Opening and reviewing the script 
 Click on the script name to open the script, and review the code. In case you want to edit or modify the script, ECmanaged will keep track of your changes using a version control of your changes. You are almost ready to run your script on multiple servers! 

Step 3 of 3: Execute the script on as many servers as you want 

By choosing “Run script” in the “Actions” menu (on the right of the command shell), a popup window will appear. Here you can choose all the servers where you want to execute the script simultaneously.

The servers where you can run the script can be Cloud servers or external servers (physical servers or other servers that are not managed by our Cloud API).

You can basically run them in everywhere where you can install the ECmanaged agent. 

Click “Run” and you are ready. ECmanaged will do the rest. Our backends will contact your servers using the ECM agent and will execute the script. Wait for the script to finish and review the result.

One-two-three orchestration to save you time and effort

This tutorial showed you a quick way to orchestrate your servers using a simple script like a security update. You can execute more complex scripts or even deployment objects as easily with ECmanaged. The number of steps you need to follow are the same. 
You can also easily deploy: 

♦ Recipes: Execute your puppet or saltstack code
 Sources: Deploy or update your source code using git, svn or files
♦ Configuration files: Change text files in your systems (webserver configuration, etc..) 

ECmanaged executes common tasks, like application upgrades or continuous deployment, in a more effective way, saving you valuable time and reducing potential errors.

30 day Free Trial.
No Credit Card required