CLOUD & DEVOPS

What is meant by automation and orchestration in cloud computing?

event 20/03/2018

Automation and orchestration are valuable technologies and processes when it comes to cloud computing, but there is not always clarity on what they are and what advantages they offer. Although the two terms are often associated, IT teams should have a clear understanding of each of them and their relationship. Let's discover them together!

What is cloud automation?

Cloud automation refers to the implementation and management actions that IT teams can perform without the need for human interaction.

There is a long list of processes and activities that teams can automate in cloud computing. Three common scenarios include:

  • Server provisioning automation to meet scalability needs.
  • Detection and termination of zombie instances and cloud processes.
  • Regular data backup execution.

Cloud automation allows businesses to save time and money when configuring and managing applications in the public cloud. The general concept of cloud computing is to simplify traditional IT deployment and management tasks, and without automation, the cloud would not be as significant. Without cloud automation, provisioning would be reduced to a manual process, and managing all resources would become cumbersome.

In addition to basic resource allocation, automation software handles routing and networking, sets up virtual private networks, manages policies and permissions, balances loads, and scales automatically. Some solutions go a step further by automating the entire system, freeing IT departments from the burden of custom deployments and empowering individual business units to request and deploy their own resources.

What is cloud orchestration?

Cloud orchestration is closely related to cloud automation as it organizes, sequences, and coordinates automated activities. If we were to give a hierarchical structure to these processes, cloud orchestration would be the main process in which automated activities are inserted according to specific sequences, at specific times, for specific purposes.

The orchestration process comes into play when these activities need to be executed in a particular order with specific security groups/tools, role assignments, and permissions. Orchestration tools rely on automation to create processes that organize individual activities and can be native to the IaaS platform or third-party software tools.

Many IT organizations or those using DevOps are interested in cloud orchestration for its ability to accelerate service delivery and reduce costs. Orchestration automates the management, coordination, and organization of complex computer systems, services, and middleware. In addition to reducing staff involvement, it helps eliminate potential errors in provisioning, scalability, or other cloud processes.

Tools for cloud automation and orchestration

To summarize, cloud automation refers to the individual activities that need to be performed, while cloud orchestration describes the organization and coordination of automated activities, resulting in a consolidated process or workflow.

But what tools can businesses use to outline these processes?

RED HAT ANSIBLE FOR CLOUD AUTOMATION

In a complex IT environment, even the smallest tasks can take an eternity. Sprawling systems are difficult to develop, deploy, and maintain. Business requirements add complexity, and IT teams struggle with management, availability, and costs.

Ansible is a simple IT automation technology that can improve processes, migrate applications for better optimization, and provide a unified language for DevOps practices throughout the organization.

HEAT FOR CLOUD ORCHESTRATION

Heat is the main project of the OpenStack Orchestration program. It implements an orchestration engine to launch multiple composite cloud applications based on models in the form of text files that can be treated as code. Native Heat is being developed, but Heat also strives to provide compatibility with the AWS CloudFormation template format, so many existing CloudFormation templates can be launched on OpenStack. Heat provides both a native OpenStack ReST API and a CloudFormation-compatible Query API.

Learn how to create your cloud infrastructure!

article Download the ebook! (in Italian)
An error occurred while processing the template.
Failed to "?eval" string with this error:

---begin-message---
Syntax error in ?eval-ed string in line 1, column 718:
Lexical error: encountered "u" (117), after "\"Extra\\".
---end-message---

The failing expression:
==> entitiesListJson?eval  [in template "20097#20123#43230" at line 59, column 29]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign entities = entitiesListJson?eval  [in template "20097#20123#43230" at line 59, column 9]
----
1<#-- Articoli in evidenza ADT --> 
2<#assign portletBackground = "bg-red-white" /> 
3<#list portletPreferences?keys as key> 
4    <#if key=="portletBackground"> 
5        <#assign portletBackground=portletPreferences[key]?first /> 
6    </#if> 
7</#list> 
8 
9<#assign assetCategoryPropertyLocalService = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") /> 
10<#assign categoryService = serviceLocator.findService("it.extrared.redweb.commons.service.CategoryService") /> 
11<#assign assetEntryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
12<#assign dlFileEntryService = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService') /> 
13<#assign otherArticles = languageUtil.get(locale, "other-articles") /> 
14<#assign readMore = languageUtil.get(locale, "read-all") /> 
15 
16<#assign redSimilarJournalArticle = serviceLocator.findService("it.extrared.redweb.commons.service.SimilarJournalArticle") /> 
17<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
18<#assign dlAppServiceUtil = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService")/> 
19 
20<#assign article = "" /> 
21<#assign urlTitle = "" /> 
22 
23<#assign dirtyUrlTitle = themeDisplay.getURLCurrent() /> 
24<#assign curPage = 1 /> 
25 
26<#if dirtyUrlTitle?contains("redirect")> 
27    <#assign namespace = "_" + paramUtil.getString(request, "p_p_id") /> 
28    <#assign currentUrl = "_" + paramUtil.getString(request,  namespace + "_redirect") /> 
29    <#assign urlTitle = currentUrl?split("/")?last /> 
30    <#assign curPage = paramUtil.getString(request,  namespace + "_cur")/> 
31<#elseif dirtyUrlTitle?contains("?wkrh___tabs1=properties")>  
32    <#assign last = themeDisplay.getURLCurrent()?split("/")?last /> 
33    <#assign urlTitle = last?substring(0, last?index_of('?wkrh___tabs1=properties')) /> 
34<#elseif dirtyUrlTitle?contains("?")>  
35	<#assign last = themeDisplay.getURLCurrent()?split("/")?last /> 
36	<#assign urlTitle = last?substring(0, last?index_of('?')) /> 
37<#else> 
38    <#assign urlTitle = themeDisplay.getURLCurrent()?split("/")?last /> 
39</#if> 
40 
41	 
42<#assign logfactory = staticUtil["com.liferay.portal.kernel.log.LogFactoryUtil"] /> 
43<#assign log = logfactory.getLog("FreemarkerLog") /> 
44${log.info("urlTitle: " + urlTitle)} 
45	 
46<#attempt> 
47    <#assign article = journalArticleLocalService.getArticleByUrlTitle(groupId, urlTitle) /> 
48<#recover>   
49</#attempt> 
50 
51<#assign entitiesListJson = "" /> 
52 
53<#if article?? && article?has_content> 
54    <#assign entitiesListJson = redSimilarJournalArticle.getSimilarJournalArticlesWithConfig(portletPreferences, article.articleId, groupId, false, curPage?number) /> 
55</#if> 
56 
57 
58<#if entitiesListJson?? && entitiesListJson?has_content> 
59	<#assign entities = entitiesListJson?eval /> 
60</#if> 
61 
62<#assign noResult = languageUtil.get(locale, "no-result") /> 
63 
64<#if entities?has_content && entities?size gt 0> 
65    <section class="container-fluid bg5percent"> 
66        <div class="swiper container "> 
67            <p class="mb-5 text-muted text-uppercase">${otherArticles}</p> 
68            <div class="swiper-wrapper align-items-center pt-lg-5 mb-lg-5"> 
69                <#list entities?keys as k> 
70                    <#assign entitiesGroup=entities[k] /> 
71                    <#if entitiesGroup?size gt 0> 
72                        <#list entitiesGroup as array> 
73                            <div class="swiper-slide"> 
74                                <#assign urlImage = "" /> 
75                                <#assign altImage = "" /> 
76                                <#if array["image"]?? && array["image"]?has_content> 
77                                    <#assign docVal=array["image"]?eval /> 
78                                    <#if docVal.url?? && docVal.url?has_content> 
79                                        <#assign urlImage = docVal.url /> 
80                                    </#if> 
81                                    <#assign fileEntryId = docVal.fileEntryId /> 
82                                </#if> 
83 
84                                <#if docVal.title?? && docVal.title?has_content> 
85                                    <#assign altImage = docVal.title /> 
86                                </#if> 
87 
88                                <#assign titolo = array["articleTitle"] /> 
89                                <#assign categories = array["categoriesString"] /> 
90                                <#assign displayPage = array["displayPage"] /> 
91                                <#assign assetEntryId = array["assetEntryId"] /> 
92                                <#assign assetEntry = assetEntryLocalService.getEntry(assetEntryId) /> 
93                                <#assign categoriesList = assetEntry.getCategories() /> 
94 
95                                <div class="col-lg-9 col-9 col-sm-9 p-0"> 
96                                	<@adaptive_media_image["img"] fileVersion=dlAppServiceUtil.getFileEntry(fileEntryId?number).getFileVersion() class="mb-4" width="100%" height="auto" alt="${altImage}"/> 
97                                		<#-- 
98                                    <img width="100%" class="mb-4" height="auto" src="${urlImage}" alt="${altImage}" title="${titolo}"> 
99                                  	--> 
100                                </div> 
101                                <div class="card-body pt-2"> 
102                                    <#if categoriesList?? && categoriesList?has_content> 
103                                        <div class="card-subtitle text-muted"> 
104                                            <#assign categoriesString = "" /> 
105                                            <#list categoriesList as c> 
106																							<#assign hasProperty = categoryService.hasCategoryProperty(c.getCategoryId(), "type") /> 
107																								<#if !hasProperty> 
108																									<#if !categoriesString?has_content> 
109																										<#assign categoriesString = c.getTitle(locale)?upper_case /> 
110																									<#else> 
111																										<#assign categoriesString = categoriesString + ", " + c.getTitle(locale)?upper_case /> 
112																									</#if> 
113																								</#if> 
114                                              <#-- 
115																							<#attempt> 
116                                                    <#assign typeProperty = assetCategoryPropertyLocalService.fetchCategoryProperty(c.categoryId?long, "type") /> 
117                                                <#recover> 
118                                                    <#if !categoriesString?has_content> 
119                                                        <#assign categoriesString = c.getTitle(locale)?upper_case /> 
120                                                    <#else> 
121                                                        <#assign categoriesString = categoriesString + ", " + c.getTitle(locale)?upper_case /> 
122                                                    </#if> 
123                                                </#attempt> 
124																									--> 
125                                            </#list> 
126 
127                                            ${categoriesString} 
128                                        </div> 
129                                    </#if> 
130                                    <a href="${displayPage}" target="_self" title="${titolo}"> 
131                                        <h3 class="m-0">${titolo}</h3> 
132                                    </a> 
133                                </div> 
134                            </div> 
135                        </#list> 
136                    <#else> 
137                        <div class="container"> 
138                            <h2 class="m-0">${noResult}</h2> 
139                        </div> 
140                    </#if> 
141                </#list> 
142            </div> 
143            <a data-aos="fade-right" class="pt-5 align-middle" style="display: block" href="/blog"> 
144                <i class="align-middle me-2 material-icons-outlined">explore</i> 
145                <span class="align-middle">${readMore?capitalize}</span> 
146            </a> 
147        </div> 
148    </section> 
149</#if>