<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Uncategorized archivos - Geko Cloud</title>
	<atom:link href="https://geko.cloud/en/blog/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Servicios de consultoría cloud y devops</description>
	<lastBuildDate>Wed, 29 Mar 2023 14:28:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.7</generator>

<image>
	<url>https://geko.cloud/wp-content/uploads/2021/08/cropped-geko-fav-150x150.png</url>
	<title>Uncategorized archivos - Geko Cloud</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>MAIN CLOUD TRENDS FOR 2023</title>
		<link>https://geko.cloud/en/main-cloud-trends-for-2023/</link>
					<comments>https://geko.cloud/en/main-cloud-trends-for-2023/#respond</comments>
		
		<dc:creator><![CDATA[Xènia Adan]]></dc:creator>
		<pubDate>Wed, 29 Mar 2023 14:28:36 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=9531</guid>

					<description><![CDATA[<p>MAIN CLOUD TRENDS FOR 2023 Based on the current trends and the opinions of experts in the cloud industry, we leave you with some of the trends that could take shape in the cloud market in 2023: Increased adoption of hybrid cloud: Hybrid cloud is a combination of public and private cloud, allowing enterprises to [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/main-cloud-trends-for-2023/">MAIN CLOUD TRENDS FOR 2023</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>MAIN CLOUD TRENDS FOR 2023</h1>
<p>Based on the current trends and the opinions of experts in the cloud industry, we leave you with some of the trends that could take shape in the cloud market in 2023:</p>
<h2>Increased adoption of hybrid cloud:</h2>
<p>Hybrid cloud is a combination of public and private cloud, allowing enterprises to use public cloud infrastructure for non-critical workloads and use private cloud infrastructure for non-critical workloads. critical that require a high level of control and security. Hybrid cloud allows companies to get the best of both worlds, which means they can take advantage of the scalability and flexibility of the public cloud and the security and control of the private cloud. Additionally, hybrid cloud enables easy migration of workloads between public and private cloud, which is ideal for businesses that need an agile and flexible IT infrastructure.</p>
<h2>Increased focus on cloud security:</h2>
<p>With the increase in the amount of data stored in the cloud, security has become an increasingly important concern for businesses. In 2023, companies are expected to invest in cloud security tools and services to ensure the protection of their data. Cloud security solutions can include authentication and authorization, data encryption, security monitoring and analytics, as well as threat prevention tools. Additionally, enterprises can also adopt cloud security practices such as network segmentation, identity and access management, and regular security risk assessment.</p>
<h2>Increased adoption of AI and machine learning in the cloud:</h2>
<p>The cloud is an ideal platform for processing and analyzing large amounts of data, and the use of AI and machine learning is expected to expand in the cloud to improve business efficiency and productivity.</p>
<h2>Greater emphasis on sustainability:</h2>
<p>Companies are looking for ways to reduce their environmental impact, and the cloud can be a solution in terms of energy efficiency. Companies are expected to increasingly focus on sustainable cloud solutions in 2023.</p>
<h2>Increased adoption of the cloud without a server (Serverless):</h2>
<p>The cloud without a server or serverless allows companies to reduce costs and increase efficiency by paying only for the resources they use. Instead of having to pay for an entire infrastructure, companies only pay for the service requests they use. This allows for greater scalability and agility in the deployment of applications and services. In addition, the serverless cloud also eliminates the need to manage and maintain infrastructure, allowing companies to focus on application development and innovation. Serverless cloud adoption is expected to continue to rise in 2023 as more businesses realize the benefits of this technology and the ease of use it offers.</p>
<p>In conclusion, the cloud market continues to evolve rapidly and companies are adopting new strategies to take full advantage of cloud capabilities. Hybrid cloud adoption allows enterprises to combine the best of both worlds, the scalability of the public cloud and the control and security of the private cloud. Additionally, enterprises are increasingly focusing on cloud security, adopting security tools and services to protect their critical data. Artificial intelligence and machine learning are also expanding into the cloud to improve business efficiency and productivity. Additionally, companies are embracing sustainable cloud solutions and focusing on reducing their environmental impact. Finally, the serverless cloud continues to be an important trend, allowing companies to reduce costs and increase efficiency by paying only for the resources they use. Summing up all of the above, these trends are expected to continue into the future and companies will continue to adopt new strategies to reap the benefits of the cloud.</p>
<p>&nbsp;</p>
<p>If you want to be in the latest cloud trends, at Geko Cloud we can help you establish new strategies in your hybrid cloud to evolve your business.</p>
<p>You just have to leave us your contact and we will write to you!</p>
<p>La entrada <a href="https://geko.cloud/en/main-cloud-trends-for-2023/">MAIN CLOUD TRENDS FOR 2023</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/main-cloud-trends-for-2023/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Engineering Culture: keeping knowledge is not in anymore</title>
		<link>https://geko.cloud/en/engineering-culture-keeping-knowledge-is-not-in-anymore/</link>
					<comments>https://geko.cloud/en/engineering-culture-keeping-knowledge-is-not-in-anymore/#respond</comments>
		
		<dc:creator><![CDATA[Geko Cloud]]></dc:creator>
		<pubDate>Tue, 07 Feb 2023 16:08:23 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=8688</guid>

					<description><![CDATA[<p>What is Engineering Culture? Engineering Culture is the nice name that has been given to the concept that is trying to take root in new companies to share the knowledge you have, the tools you find useful, or the help that can be given to other projects. It goes with the idea of the DevOps [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/engineering-culture-keeping-knowledge-is-not-in-anymore/">Engineering Culture: keeping knowledge is not in anymore</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><strong>What is Engineering Culture?</strong></h2>
<p><span style="font-weight: 400;">Engineering Culture is the nice name that has been given to the concept that is trying to take root in new companies to <strong>share the knowledge</strong> you have, the <strong>tools you find useful</strong>, or the <strong>help that can be given to other projects</strong>. It goes with the idea of the DevOps methodology of <strong>eliminating silos of knowledge</strong> and work and that sharing this knowledge <strong>generates benefits for everyone involved</strong>.</span></p>
<p>&nbsp;</p>
<p><img decoding="async" class="wp-image-9449 aligncenter" src="https://geko.cloud/wp-content/uploads/2022/08/vecteezy_knowledge-vector-icon_18900925-300x300.jpg" alt="" width="199" height="199" srcset="https://geko.cloud/wp-content/uploads/2022/08/vecteezy_knowledge-vector-icon_18900925-300x300.jpg 300w, https://geko.cloud/wp-content/uploads/2022/08/vecteezy_knowledge-vector-icon_18900925-1024x1024.jpg 1024w, https://geko.cloud/wp-content/uploads/2022/08/vecteezy_knowledge-vector-icon_18900925-150x150.jpg 150w, https://geko.cloud/wp-content/uploads/2022/08/vecteezy_knowledge-vector-icon_18900925-768x768.jpg 768w, https://geko.cloud/wp-content/uploads/2022/08/vecteezy_knowledge-vector-icon_18900925-1536x1536.jpg 1536w, https://geko.cloud/wp-content/uploads/2022/08/vecteezy_knowledge-vector-icon_18900925.jpg 1920w" sizes="(max-width: 199px) 100vw, 199px" /></p>
<p>&nbsp;</p>
<h2><strong>What are the benefits?</strong></h2>
<p><span style="font-weight: 400;">Sharing knowledge with the rest of the internal teams, for example through a <strong>slack channel</strong> or <strong>shared proofs of concept</strong>, or with the rest of the world through <strong>open projects</strong> or<strong> blog posts</strong> (like this one!) not only helps to get <strong>external contributions to improve ideas and processes</strong>, but it is also a very good way to <strong>gain publicity and quality public outreach</strong>, which generates <strong>better leads</strong> and is positive image-wise.</span></p>
<h2><strong>How can I promote Engineering Culture?</strong></h2>
<p><span style="font-weight: 400;">There are many ways to drive this culture in your company to take advantage of its many benefits:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;"><strong>Create quality content</strong> with lessons learned in blogs, videos or social media.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;"><strong>Dedicate internal time to teaching and training</strong> of tools at the technical level by the teams themselves.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Dedicating resources to<strong> creating open source tools for the public</strong></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Dedicating resources to &#8220;giving back&#8221; to open source projects that you use, either <strong>financially</strong> or in terms of <strong>programming time</strong> or <strong>bug fixing</strong>, or <strong>documentation</strong>.</span></li>
</ul>
<p><span style="font-weight: 400;">Keeping things in-house is no longer in, part of your marketing and lead creation strategy can, and perhaps should, include <strong>giving back to the community</strong> that supports your product every day!</span></p>
<p>&nbsp;</p>
<p>We invite you to continue reading our articles where you will find a lot of updated information about the sector.</p>
<p>La entrada <a href="https://geko.cloud/en/engineering-culture-keeping-knowledge-is-not-in-anymore/">Engineering Culture: keeping knowledge is not in anymore</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/engineering-culture-keeping-knowledge-is-not-in-anymore/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Patching equipment with Patch Manager</title>
		<link>https://geko.cloud/en/patching-equipment-with-patch-manager/</link>
					<comments>https://geko.cloud/en/patching-equipment-with-patch-manager/#respond</comments>
		
		<dc:creator><![CDATA[Xènia Adan]]></dc:creator>
		<pubDate>Thu, 12 Jan 2023 08:36:10 +0000</pubDate>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=9401</guid>

					<description><![CDATA[<p>Patching equipment with Patch Manager Introduction to SSM SSM is the acronym for Systems Manager, a set of tools that make our lives easier, not only for accessing machines through a virtual console, but also for executing remote commands, extracting records from the equipment, and of course , apply updates. With the SSM software suite, [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/patching-equipment-with-patch-manager/">Patching equipment with Patch Manager</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Patching equipment with Patch Manager</h2>
<h2>Introduction to SSM</h2>
<p>SSM is the acronym for Systems Manager, a set of tools that make our lives easier, not only for accessing machines through a virtual console, but also for executing remote commands, extracting records from the equipment, and of course , apply updates.</p>
<p>With the SSM software suite, you can update not only EC2 instances, but also on-prem computers, as well as virtual machines, on-the-edge (IoT) computers such as raspberrys, etc.</p>
<p>Systems Manager is a service that runs an agent on the computer itself (ec2 / on-prem, etc), in the same way as virtual agents in VMware environments, used to extract metrics from the instances, but in the case of SSM the console management is remote, or what is the same, it is divided into different end-points. That is why the agent must communicate with the SSM service over the network. The computers that want to be managed must have not only the agent installed but also network connectivity to reach the AWS SSM endpoints.</p>
<p>In this article we have used a couple of EC2 instances, one Linux and one Windows:</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-9294 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen2-1.png" alt="" width="713" height="99" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen2-1.png 713w, https://geko.cloud/wp-content/uploads/2023/01/Imagen2-1-300x42.png 300w" sizes="(max-width: 713px) 100vw, 713px" /></p>
<p>&nbsp;</p>
<p>For Linux we have used a RedHat AMI, and in the case of the Windows computer, it is version 2019.</p>
<h2>Role for SSM</h2>
<p>In order for the computer to communicate with SSM, a role is required. For this reason we are going to generate a new &#8220;service role&#8221;, accessing the IAM section and selecting the &#8220;Roles&#8221; option and clicking on the &#8220;Create role&#8221; button:</p>
<p><img decoding="async" class="alignnone wp-image-9297 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen3-1.png" alt="" width="694" height="307" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen3-1.png 694w, https://geko.cloud/wp-content/uploads/2023/01/Imagen3-1-300x133.png 300w" sizes="(max-width: 694px) 100vw, 694px" /></p>
<p>We select the &#8220;AWS Service&#8221; as &#8220;Trusted entity&#8221;, and below in the &#8220;Use case&#8221; section, the EC2 service. We select the following and add the policies that are necessary:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9299 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen4m-1.png" alt="" width="452" height="105" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen4m-1.png 452w, https://geko.cloud/wp-content/uploads/2023/01/Imagen4m-1-300x70.png 300w" sizes="(max-width: 452px) 100vw, 452px" /></p>
<p>To do this, enter the name &#8220;ssm&#8221; in the search box, and choose from the options that appear the &#8220;AmazonSSMManagedInstanceCore&#8221;</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9301 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen5l.png" alt="" width="567" height="344" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen5l.png 567w, https://geko.cloud/wp-content/uploads/2023/01/Imagen5l-300x182.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></p>
<p>We assign the name we want and make sure that in the &#8220;trusted entities&#8221; section, the value of &#8220;principal&#8221; selected is the service &#8220;ec2.amazonaws.com&#8221;, the service with which this role is going to be invoked and to which we are giving permission:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9304 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen6z-1.png" alt="" width="715" height="256" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen6z-1.png 715w, https://geko.cloud/wp-content/uploads/2023/01/Imagen6z-1-300x107.png 300w" sizes="(max-width: 715px) 100vw, 715px" /></p>
<p>The next step will be to add this role to the instances. The easiest way is to mark the instance to be modified from the panel, as shown in the image.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9307 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen7a-1.png" alt="" width="691" height="171" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen7a-1.png 691w, https://geko.cloud/wp-content/uploads/2023/01/Imagen7a-1-300x74.png 300w" sizes="(max-width: 691px) 100vw, 691px" /></p>
<p>In the dropdown, assign it the role that we just created.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9309 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen8s-1.png" alt="" width="567" height="311" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen8s-1.png 567w, https://geko.cloud/wp-content/uploads/2023/01/Imagen8s-1-300x165.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></p>
<p><strong>EC2 instances / managed nodes</strong></p>
<p>In our case, we deployed a RedHat machine for the Linux variety for a reason: The official AMIs distributed by RedHat do not have the agent built-in, just like Windows AMIs distributed by Microsoft, or Amazon Linux AMIs do.</p>
<p>In case our distribution is agentless, it can be installed manually. Check the following link to see which distributions are supported:</p>
<p><a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-manual-agent-install.html" target="_blank" rel="noopener">https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-manual-agent-install.html</a></p>
<p>In the case of RedHat we will proceed to install it with a command like the following:</p>
<p>sudo yum install -y <a href="https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm">https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm</a></p>
<p>&nbsp;</p>
<p>There are also binaries available for installing the agents for Windows or MacOS environments.</p>
<p>&nbsp;</p>
<h2>Fleet Manager</h2>
<p>Now that we have the computers with the SSM agent installed and with the associated &#8220;service role&#8221;, we could access the &#8220;fleet manager&#8221; section, where the computers managed with SSM are displayed as a record, both EC2 computers and on-prem equipment, etc. This tool is within the SSM options:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9311 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen9-1.png" alt="" width="183" height="502" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen9-1.png 183w, https://geko.cloud/wp-content/uploads/2023/01/Imagen9-1-109x300.png 109w" sizes="(max-width: 183px) 100vw, 183px" /></p>
<p>&nbsp;</p>
<p>The devices managed through SSM are called nodes, which is why, in the view of this service, the registered devices are identified in the &#8220;Node Id&#8221; column:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9313 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen10-1.png" alt="" width="706" height="111" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen10-1.png 706w, https://geko.cloud/wp-content/uploads/2023/01/Imagen10-1-300x47.png 300w" sizes="(max-width: 706px) 100vw, 706px" /></p>
<p>The computers that appear are those that are registered in the current region. Keep in mind that AWS SSM is a regional service, which means that if we have an account in several regions, it will be necessary to repeat the process described in this article for each region independently.</p>
<p>Like all software, the SSM agent receives constant improvements. It is therefore recommended to enable automatic updating in the &#8220;settings&#8221; section:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9317 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen11-1.png" alt="" width="680" height="178" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen11-1.png 680w, https://geko.cloud/wp-content/uploads/2023/01/Imagen11-1-300x79.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></p>
<p>&nbsp;</p>
<h2 style="text-align: justify;"><span lang="ES-TRAD">Baselines</span></h2>
<p>Baselines are statements that define a certain level of compliance with a security policy. In the &#8220;patch manager&#8221; service there are different &#8220;baselines&#8221;, but it is highly recommended to create your own one with the configurations that interest us. It is a really simple process.<br />
To access the “baselines” section, go to “Node Management” and select the “Patch Manager” option:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-9319" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen12-1.png" alt="" width="174" height="279" /></p>
<p>And on the screen that appears, access the &#8220;View predefined baselines&#8221; button</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9321 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen13-1.png" alt="" width="641" height="229" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen13-1.png 641w, https://geko.cloud/wp-content/uploads/2023/01/Imagen13-1-300x107.png 300w" sizes="(max-width: 641px) 100vw, 641px" /></p>
<p>In the &#8220;baselines&#8221; view, there are a lot of them, each one for a different operating system. It is at this moment when we are going to create a personalized one. To do this, click on the “Create patch baseline” button.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9323 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen14-1.png" alt="" width="567" height="119" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen14-1.png 567w, https://geko.cloud/wp-content/uploads/2023/01/Imagen14-1-300x63.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></p>
<p>&nbsp;</p>
<p>In the new section, select a name and an OS family that will be associated with the &#8220;baseline&#8221;:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9325 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen15-1.png" alt="" width="567" height="299" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen15-1.png 567w, https://geko.cloud/wp-content/uploads/2023/01/Imagen15-1-300x158.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></p>
<p>&nbsp;</p>
<p>Define the version of the OS, as well as other aspects that will define the level of compliance:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9328 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen17-1.png" alt="" width="507" height="398" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen17-1.png 507w, https://geko.cloud/wp-content/uploads/2023/01/Imagen17-1-300x236.png 300w" sizes="(max-width: 507px) 100vw, 507px" /></p>
<p>There are options such as “auto approval”, which allow you to approve the installation of a certain update, after a few days of its publication, or after a certain date, thus avoiding that day 0 patches, not very tested, could break stability of the teams. This would even allow PRE or TEST teams to install patches days before production teams as &#8220;canary testing&#8221;.</p>
<p>Just as important is the package exceptions section. This prevents the installation of certain packages that can break the service (systems with hand-compiled kernels, Windows packages that don&#8217;t get along with any other third-party program, etc).</p>
<p>To add exceptions the following format must be used:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9331 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen18-1.png" alt="" width="715" height="136" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen18-1.png 715w, https://geko.cloud/wp-content/uploads/2023/01/Imagen18-1-300x57.png 300w" sizes="(max-width: 715px) 100vw, 715px" /></p>
<p>&nbsp;</p>
<p>At this moment we already have our own “baseline”. When the &#8220;baselines&#8221; are your own, to find them later, you have to specify that we are the owner. To do this, in the baseline search engine, specify “Owner: Self” as shown below:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9333 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen19-1.png" alt="" width="713" height="113" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen19-1.png 713w, https://geko.cloud/wp-content/uploads/2023/01/Imagen19-1-300x48.png 300w" sizes="(max-width: 713px) 100vw, 713px" /></p>
<p>Otherwise the default view only shows standard baselines provided by AWS.</p>
<p>&nbsp;</p>
<h2 style="text-align: justify;"><span lang="ES-TRAD">Patch groups</span></h2>
<p>Once we have defined the &#8220;baselines&#8221;, we are going to define the &#8220;patch groups&#8221;. A &#8220;patch group&#8221; establishes the relationship between the &#8220;baselines&#8221; and the equipment on which they are going to be applied, depending on the value of a tag that we will specify later in the equipment.</p>
<p>To create a &#8220;patch group&#8221;, it is very simple, we just have to select the &#8220;baseline&#8221; that we have just created, we display the &#8220;Actions&#8221; menu and select the &#8220;Modify patch groups&#8221; option.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9406 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/1111.png" alt="" width="710" height="141" srcset="https://geko.cloud/wp-content/uploads/2023/01/1111.png 710w, https://geko.cloud/wp-content/uploads/2023/01/1111-300x60.png 300w" sizes="(max-width: 710px) 100vw, 710px" /></p>
<p>A section will open to generate the patch groups, entering a name. In our case “Windows_Production”</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9335 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen21-1.png" alt="" width="701" height="341" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen21-1.png 701w, https://geko.cloud/wp-content/uploads/2023/01/Imagen21-1-300x146.png 300w" sizes="(max-width: 701px) 100vw, 701px" /></p>
<p>Once the name has been entered, taking care to respect the nomenclature, click on the &#8220;Add&#8221; button and close the wizard.</p>
<p>&nbsp;</p>
<h2 style="text-align: justify;"><span lang="ES-TRAD">Tags</span></h2>
<p>Tags are metadata that help us identify who owns a resource, a cost allocation unit, etc. In this case, with the tags we can also associate the nodes to the corresponding patch groups. For this, the same “Patch Group” tag value is always used. Eye! It is case sensitive</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9337 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen22-1.png" alt="" width="679" height="215" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen22-1.png 679w, https://geko.cloud/wp-content/uploads/2023/01/Imagen22-1-300x95.png 300w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<p>We go to the instances section, select one of them, and edit the tags section to add the &#8220;Patch Group&#8221;:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9339 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen23-1.png" alt="" width="678" height="294" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen23-1.png 678w, https://geko.cloud/wp-content/uploads/2023/01/Imagen23-1-300x130.png 300w" sizes="(max-width: 678px) 100vw, 678px" /></p>
<p>If when entering the tag, we find an error of the type &#8220;&#8216;Patch Group&#8217; is not a valid tag key.&#8221;</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9341 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen24-1.png" alt="" width="688" height="103" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen24-1.png 688w, https://geko.cloud/wp-content/uploads/2023/01/Imagen24-1-300x45.png 300w" sizes="(max-width: 688px) 100vw, 688px" /></p>
<p>es necesario deshabilitar la check box de metadata tagging en la configuración de la instancia:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9344 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen25-1.png" alt="" width="520" height="456" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen25-1.png 520w, https://geko.cloud/wp-content/uploads/2023/01/Imagen25-1-300x263.png 300w" sizes="(max-width: 520px) 100vw, 520px" /></p>
<p>Dejar la casilla siguiente deseleccionada y volver a probar a añadir el tag en el equipo.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9346 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen26-1.png" alt="" width="567" height="198" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen26-1.png 567w, https://geko.cloud/wp-content/uploads/2023/01/Imagen26-1-300x105.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></p>
<p>&nbsp;</p>
<h2 style="text-align: justify;"><span lang="ES-TRAD">Maintainance Windows</span></h2>
<p>Let&#8217;s recap. At this moment we already have the instance with the SSM agent installed and the role to interact with the service. We have created our own “baseline”, and then we have assigned it to some “patch groups”. Finally we have &#8220;tagged&#8221; the instances with a tag that points directly to the &#8220;pach group&#8221; that interests us.</p>
<p>The maintenance windows are an important section because they not only contain the scheduling of the updates, but also the list of executions.</p>
<p>We are going to proceed by creating a maintenance window through the following section:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9348 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen27-1.png" alt="" width="567" height="241" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen27-1.png 567w, https://geko.cloud/wp-content/uploads/2023/01/Imagen27-1-300x128.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></p>
<p>We must enter the name for the window, and set the cron. You can establish cron expressions with the typical nomenclature or by selecting the pre-established ones of every hour or every day.</p>
<p>The values of &#8220;Duration&#8221; and &#8220;Stop initiating task&#8221; are mandatory, and it is recommended to leave them with values such as the following:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9350 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen28-1.png" alt="" width="421" height="201" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen28-1.png 421w, https://geko.cloud/wp-content/uploads/2023/01/Imagen28-1-300x143.png 300w" sizes="(max-width: 421px) 100vw, 421px" /></p>
<p>Finally, choose the time zone to match the schedules of the window with the one that interests us.</p>
<p>At the end we will have a list of the scheduled windows, and interesting data such as its next execution:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9352 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen29-1.png" alt="" width="696" height="87" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen29-1.png 696w, https://geko.cloud/wp-content/uploads/2023/01/Imagen29-1-300x38.png 300w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<p>&nbsp;</p>
<h2>Patching configuration</h2>
<p>At this time we are going to carry out the process that brings together all the previous steps, and that enables the &#8220;patch manager&#8221; to carry out system updates. To do this, access the “Patch Manager” section and click on “Configure Patching”</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9354 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen30.png" alt="" width="684" height="291" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen30.png 684w, https://geko.cloud/wp-content/uploads/2023/01/Imagen30-300x128.png 300w" sizes="(max-width: 684px) 100vw, 684px" /></p>
<p>Choose the “patch groups” that you want to update:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9358 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen31-1.png" alt="" width="694" height="292" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen31-1.png 694w, https://geko.cloud/wp-content/uploads/2023/01/Imagen31-1-300x126.png 300w" sizes="(max-width: 694px) 100vw, 694px" /></p>
<p>Choose the maintenance window that was created in the previous step:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9360 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen32-1.png" alt="" width="671" height="299" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen32-1.png 671w, https://geko.cloud/wp-content/uploads/2023/01/Imagen32-1-300x134.png 300w" sizes="(max-width: 671px) 100vw, 671px" /></p>
<p>And leave the operation that best suits what we want to do. In this case we are going to choose “Scan and Install”</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9362 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen33-1.png" alt="" width="674" height="143" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen33-1.png 674w, https://geko.cloud/wp-content/uploads/2023/01/Imagen33-1-300x64.png 300w" sizes="(max-width: 674px) 100vw, 674px" /></p>
<p>At this moment, in the &#8220;dashboard&#8221; of &#8220;Patch Manager&#8221;, we should have a view of equipment pending update. The values in this section will change depending on whether there are pending packages, update failures, etc.<br />
In order to track the actions performed, we can consult them in the &#8220;Run Command&#8221;</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-9364" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen34-1.png" alt="" width="191" height="220" /></p>
<p>In this section there are two tabs. One with the commands currently running, which will come out with a clock next to it:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9366 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen35-1.png" alt="" width="689" height="104" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen35-1.png 689w, https://geko.cloud/wp-content/uploads/2023/01/Imagen35-1-300x45.png 300w" sizes="(max-width: 689px) 100vw, 689px" /></p>
<p>And another tab with the history of actions:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9368 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen36-1.png" alt="" width="686" height="187" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen36-1.png 686w, https://geko.cloud/wp-content/uploads/2023/01/Imagen36-1-300x82.png 300w" sizes="(max-width: 686px) 100vw, 686px" /></p>
<p>If in the process of installing updates, there is any package marked as restart required, the computer will restart immediately. Take this into account to establish the windows according to the needs of the business:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9370 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen37-1.png" alt="" width="676" height="471" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen37-1.png 676w, https://geko.cloud/wp-content/uploads/2023/01/Imagen37-1-300x209.png 300w" sizes="(max-width: 676px) 100vw, 676px" /></p>
<p>&nbsp;</p>
<p>After the installation of the patches, and the reboots if any, in the &#8220;dashboard&#8221; of &#8220;Patch Manager&#8221; the instances will now appear as compliant according to the &#8220;baselines&#8221; established:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9372 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen38-1.png" alt="" width="665" height="347" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen38-1.png 665w, https://geko.cloud/wp-content/uploads/2023/01/Imagen38-1-300x157.png 300w" sizes="(max-width: 665px) 100vw, 665px" /></p>
<p>&nbsp;</p>
<h2 style="text-align: justify;"><span lang="ES-TRAD">Cloudwatch</span></h2>
<p>In the command history console, we can see the executed tasks, as in this case. If we click on the id of the task, we can access its details:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9374 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen39-1.png" alt="" width="666" height="100" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen39-1.png 666w, https://geko.cloud/wp-content/uploads/2023/01/Imagen39-1-300x45.png 300w" sizes="(max-width: 666px) 100vw, 666px" /></p>
<p>Inside we can see the computers on which the action has been executed, and we can, by selecting one of those computers, see the details of the operations. To do this, select and click on the &#8220;View output&#8221; button.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9376 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen40-1.png" alt="" width="686" height="206" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen40-1.png 686w, https://geko.cloud/wp-content/uploads/2023/01/Imagen40-1-300x90.png 300w" sizes="(max-width: 686px) 100vw, 686px" /></p>
<p>The operations are testing all the platforms, for this reason they will first try to execute the patching on a Windows, then on a Linux and finally on a MacOS. Therefore, to see the status of the updates, we choose the platform of the team we are consulting.</p>
<p>In the &#8220;Output&#8221; window we will see the record, but it is often truncated because it is excessively long:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9379 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen41-1.png" alt="" width="672" height="246" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen41-1.png 672w, https://geko.cloud/wp-content/uploads/2023/01/Imagen41-1-300x110.png 300w" sizes="(max-width: 672px) 100vw, 672px" /></p>
<p>If we want to consult this data, we can send it to a Cloudwatch “log group”. To do this, first we go to CloudWatch and create a &#8220;log group&#8221;:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9381 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen42-1.png" alt="" width="491" height="398" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen42-1.png 491w, https://geko.cloud/wp-content/uploads/2023/01/Imagen42-1-300x243.png 300w" sizes="(max-width: 491px) 100vw, 491px" /></p>
<p>&nbsp;</p>
<p>We put a name and specify the retention period.<br />
The second step is to modify the role of the machine so that it has permissions to write to Cloudwatch, so you will have to add an &#8220;in-line policy&#8221; like this:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9383 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen43-1.png" alt="" width="567" height="415" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen43-1.png 567w, https://geko.cloud/wp-content/uploads/2023/01/Imagen43-1-300x220.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></p>
<p>We put a name to this &#8220;policy&#8221; and save it:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9385 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen44-1.png" alt="" width="689" height="197" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen44-1.png 689w, https://geko.cloud/wp-content/uploads/2023/01/Imagen44-1-300x86.png 300w" sizes="(max-width: 689px) 100vw, 689px" /></p>
<p>Leaving the role of the team as:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9387 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen45-1.png" alt="" width="673" height="428" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen45-1.png 673w, https://geko.cloud/wp-content/uploads/2023/01/Imagen45-1-300x191.png 300w" sizes="(max-width: 673px) 100vw, 673px" /></p>
<p>We return to the system manager, section &#8220;Maintenance Window&#8221; and within the tasks (I mark the task and select edit):</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9389 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen46-1.png" alt="" width="695" height="152" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen46-1.png 695w, https://geko.cloud/wp-content/uploads/2023/01/Imagen46-1-300x66.png 300w" sizes="(max-width: 695px) 100vw, 695px" /></p>
<p>&nbsp;</p>
<p>And in the &#8220;Output Options&#8221; section, write the name of the log group where we are going to send it:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9391 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen47-1.png" alt="" width="596" height="250" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen47-1.png 596w, https://geko.cloud/wp-content/uploads/2023/01/Imagen47-1-300x126.png 300w" sizes="(max-width: 596px) 100vw, 596px" /></p>
<p>We save the changes, and from now on when selecting the output of the tasks, we will see that a link to Cloudwatch appears:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9393 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen48.png" alt="" width="667" height="292" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen48.png 667w, https://geko.cloud/wp-content/uploads/2023/01/Imagen48-300x131.png 300w" sizes="(max-width: 667px) 100vw, 667px" /></p>
<p>And if we consult that link, it will take us to the output information, but without truncating:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9395 size-full" src="https://geko.cloud/wp-content/uploads/2023/01/Imagen49-1.png" alt="" width="680" height="296" srcset="https://geko.cloud/wp-content/uploads/2023/01/Imagen49-1.png 680w, https://geko.cloud/wp-content/uploads/2023/01/Imagen49-1-300x131.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></p>
<p>&nbsp;</p>
<p>From Geko Cloud Consulting, we hope you liked this post and above all that you find it useful.<br />
If you need information about the Cloud and DevOps world, we invite you to contact us and keep checking our blog to find other useful posts.</p>
<p>&nbsp;</p>
<p>La entrada <a href="https://geko.cloud/en/patching-equipment-with-patch-manager/">Patching equipment with Patch Manager</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/patching-equipment-with-patch-manager/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>THE FORECAST. Your best ally to save on your AWS bill</title>
		<link>https://geko.cloud/en/the-forecast-your-best-ally-to-save-on-your-aws-bill/</link>
					<comments>https://geko.cloud/en/the-forecast-your-best-ally-to-save-on-your-aws-bill/#respond</comments>
		
		<dc:creator><![CDATA[Xènia Adan]]></dc:creator>
		<pubDate>Wed, 28 Dec 2022 11:09:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=9282</guid>

					<description><![CDATA[<p>THE FORECAST. Your best ally to save on your AWS bill As we exploit our infrastructure hosted in the Amazon cloud, our bill also begins to &#8220;explode&#8221;. This is why at a certain point (or not), it is convenient to start looking for resources so that your bill is not so bulky. The first step, [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/the-forecast-your-best-ally-to-save-on-your-aws-bill/">THE FORECAST. Your best ally to save on your AWS bill</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>THE FORECAST. Your best ally to save on your AWS bill</h2>
<p>As we exploit our infrastructure hosted in the Amazon cloud, our bill also begins to &#8220;explode&#8221;. This is why at a certain point (or not), it is convenient to start looking for resources so that your bill is not so bulky.</p>
<p>The first step, before anything else, is to be clear about what and how many resources you need for your application and/or infrastructure to have adequate performance and make a forecast about how long you think you will need these resources running at least.</p>
<p>For this estimate, you must have a good knowledge of your architecture and have been working on it for some time, otherwise you will not have enough capacity to predict how your infra will behave in atypical situations.</p>
<p>Let&#8217;s get in position. Let&#8217;s simulate several ways to save on your EC2 bill.</p>
<p>&nbsp;</p>
<h2>Reserved Instances</h2>
<p>It consists of making a forecast of EC2 instances that you will need at least 1 or 3 years from now (it depends on the commitment time you choose).</p>
<p>A good practice would be to play with the equivalence that instance types have in EC2. For example, reserve 2 t3.small for each t3.medium. In this way, all your hardware will be distributed according to the needs of your infrastructure, and if at any time the number or type of instances changes, that reserved hardware will continue to be distributed and used in the most optimal way.</p>
<p>&nbsp;</p>
<p>What is the prize for making this great foresight and commitment? Well, AWS gives you discounts of at least 25-30% and up to 50-60% on the EC2 bill!</p>
<p>&nbsp;</p>
<p>The longer your commitment time and the more you pay up front, the bigger the discount.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9219 size-large" src="https://geko.cloud/wp-content/uploads/2022/10/Imagen1-1024x326.png" alt="" width="800" height="255" srcset="https://geko.cloud/wp-content/uploads/2022/10/Imagen1-1024x326.png 1024w, https://geko.cloud/wp-content/uploads/2022/10/Imagen1-300x96.png 300w, https://geko.cloud/wp-content/uploads/2022/10/Imagen1-768x244.png 768w, https://geko.cloud/wp-content/uploads/2022/10/Imagen1.png 1379w" sizes="(max-width: 800px) 100vw, 800px" /></p>
<p>&nbsp;</p>
<h2>Spot requests</h2>
<p>These instance types allow you to take advantage of unused EC2 capacity in the AWS cloud. Spot Instances are available at a discount of up to 90% compared to on-demand prices.</p>
<p>Where&#8217;s the catch? Although it is hard to believe, they are instances that if AWS needs for another user or purpose, they can be removed instantly with just a 2-minute notice (if you find out, turn off the machines and they won&#8217;t be removed <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> )</p>
<p>This is why it is recommended to use these instances only for container environments, CI/CD, testing&#8230; or combine them in an ASG with your on-demand instances.</p>
<p>&nbsp;</p>
<h2>Scheduled Instances</h2>
<p>An effective practice if you know how to detect what hours or days of the week your infra processes more load than normal.</p>
<p>It is about programming a number of machines during a specific time. If, for example, there is a time of day where there is more traffic than usual and the rest of the day is much quieter, you could schedule one or two more instances to be added to your ASG.And why is it a good option to save? Because you adjust the number of machines to the maximum based on the needs of the moment, and you never pay for what you don&#8217;t use.</p>
<p>&nbsp;</p>
<h2>Saving plans</h2>
<p>If you have a more or less large number of instances and you have been with that number for quite some time and you believe that for now it will not vary excessively, personally a Saving Plan is your best option.</p>
<p>What the saving plan basically does is make an analysis of the resources and power that your infra needs (it takes away that work) and proposes savings in exchange for a commitment.</p>
<p>The truth is the most comfortable measure and if you want to spend some time checking for yourself that the prices they offer are realistic, do so and you will see that even if you reserve instances by your own means, the discount they offer is the same or higher.</p>
<p>&nbsp;</p>
<p>There are 3 types of Saving Plans:</p>
<p>• <strong>Compute:</strong> Provides more flexibility and reduces costs by up to 66%. Based on EC2, AWS Fargate, and AWS Lambda usage, regardless of instance family, size, zone, region, OS, and tenancy<br />
• <strong>EC2 Instance: </strong>Provides the lowest prices and reduces costs by up to 72%, in exchange for the commitment to use individual instance families in a region.<br />
• <strong>SageMaker:</strong> Reduce costs by up to 64% in SageMaker. They are based on the use of SageMaker regardless of instance family, size, component, and AWS Region.</p>
<p>&nbsp;</p>
<p>To apply a Saving Plan, we select this option:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9284 size-full" src="https://geko.cloud/wp-content/uploads/2022/12/Imagen1-2.png" alt="" width="602" height="222" srcset="https://geko.cloud/wp-content/uploads/2022/12/Imagen1-2.png 602w, https://geko.cloud/wp-content/uploads/2022/12/Imagen1-2-300x111.png 300w" sizes="(max-width: 602px) 100vw, 602px" /></p>
<p>Once inside, we can choose the time and price ratios that we are willing to pay and see what discount is applied, or click here and see the recommendations that AWS proposes based on the last X days.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9230 size-full" src="https://geko.cloud/wp-content/uploads/2022/10/Imagen4-1.png" alt="" width="964" height="162" srcset="https://geko.cloud/wp-content/uploads/2022/10/Imagen4-1.png 964w, https://geko.cloud/wp-content/uploads/2022/10/Imagen4-1-300x50.png 300w, https://geko.cloud/wp-content/uploads/2022/10/Imagen4-1-768x129.png 768w" sizes="(max-width: 964px) 100vw, 964px" /></p>
<p>&nbsp;</p>
<p>In the recommendations, depending on the commitment time and the upfront, we will see some prices or others.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9232 size-large" src="https://geko.cloud/wp-content/uploads/2022/10/Imagen5-1-1024x633.png" alt="" width="800" height="495" srcset="https://geko.cloud/wp-content/uploads/2022/10/Imagen5-1-1024x633.png 1024w, https://geko.cloud/wp-content/uploads/2022/10/Imagen5-1-300x186.png 300w, https://geko.cloud/wp-content/uploads/2022/10/Imagen5-1-768x475.png 768w, https://geko.cloud/wp-content/uploads/2022/10/Imagen5-1.png 1473w" sizes="(max-width: 800px) 100vw, 800px" /></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9234 " src="https://geko.cloud/wp-content/uploads/2022/10/Imagen6-1.png" alt="" width="770" height="115" srcset="https://geko.cloud/wp-content/uploads/2022/10/Imagen6-1.png 964w, https://geko.cloud/wp-content/uploads/2022/10/Imagen6-1-300x45.png 300w, https://geko.cloud/wp-content/uploads/2022/10/Imagen6-1-768x115.png 768w" sizes="(max-width: 770px) 100vw, 770px" /></p>
<h2>My personal proposal about</h2>
<p><strong>Once you know all these methods, why not combine them?</strong><br />
You can easily combine Spot Instances with On-Demand, Reserved, and Savings Plans instances to further optimize workload cost with performance.</p>
<p>You can also shut down machines while you are not using them or use the Scheduled Instances method.</p>
<p><strong>Other services where reservations are a good ally</strong><br />
In this post, we wanted to emphasize the reservation of instances and the EC2 Saving Plans, but AWS offers many services where, thanks to the forecast of resources that you will need at least in a specific time, you can save yourself a good pinch.</p>
<p>For example, in the <a href="https://aws.amazon.com/es/dynamodb/?trk=b3d144cd-963d-4a7c-9ebc-1a72f3b55ee5&amp;sc_channel=ps&amp;s_kwcid=AL!4422!3!588732065475!e!!g!!aws%20dynamodb&amp;ef_id=%7bgclid%7d:G:s&amp;s_kwcid=AL!4422!3!588732065475!e!!g!!aws%20dynamodb" target="_blank" rel="noopener"><strong>DynamoDB</strong> </a>service, you can reserve capacity. It works the same as reserving instances, in exchange for a good discount, you can reserve disk capacity for a specific time with different payment formats in advance.</p>
<p>Another example is <a href="https://aws.amazon.com/es/what-is/opensearch/" target="_blank" rel="noopener"><strong>Opensearch</strong></a>, the SAS of ELK (Elasticsearch, Logstash and Kibana) that incorporates AWS. In this service you can make reservations for instances, but with a very important peculiarity to take into account.</p>
<p>Unlike other reservations, in this service you have to reserve exactly the type and the exact number of instances that your Opensearch uses. Basically, there is no use reserving 2 t3.small instances for one t3.medium to use its resources, for example. If your Opensearch uses 2 Data Nodes t3.medium and 3 Master Nodes m5.large, you must reserve exactly these types and numbers of instances.<br />
I personally recommend it anyway, <strong>the savings are very remarkable.</strong></p>
<p>&nbsp;</p>
<h2>Close</h2>
<p>As the title of this post indicates, the best option you have to save money in all AWS services where machines are involved is <strong>forecasting</strong>. If your infrastructure has the expected performance and you know its behavior well, you will know how to forecast the number of instances or resources you need in 1 or 3 years.<br />
It is worth making an effort to analyze your resources and taking a few hours or days looking at your ASG and other services, you can easily reduce 50% on your next bill.</p>
<p>If you want help to carry out these practices, do not hesitate to <a href="https://geko.cloud/es/contacto/" target="_blank" rel="noopener">contact us</a>!<br />
The Geko team has experience in different fields, working with <a href="https://geko.cloud/es/devops/" target="_blank" rel="noopener">DevOps methodology</a>, accompanying our clients throughout the process from <a href="https://geko.cloud/es/servicios-cloud/gestion-cloud/" target="_blank" rel="noopener">migration to cloud</a> management, and adapting 100% to their infrastructures and technologies.</p>
<p>La entrada <a href="https://geko.cloud/en/the-forecast-your-best-ally-to-save-on-your-aws-bill/">THE FORECAST. Your best ally to save on your AWS bill</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/the-forecast-your-best-ally-to-save-on-your-aws-bill/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is replica lag?</title>
		<link>https://geko.cloud/en/what-is-replica-lag/</link>
					<comments>https://geko.cloud/en/what-is-replica-lag/#respond</comments>
		
		<dc:creator><![CDATA[Xènia Adan]]></dc:creator>
		<pubDate>Wed, 19 Oct 2022 09:46:27 +0000</pubDate>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=9174</guid>

					<description><![CDATA[<p>What is replica lag? To understand what replica lag is, we first have to put a bit of context. Replication lag occurs in a special type of database instance that we call read replicas. These are created from a source DB instance that acts as the primary database. Updates (inserts of new data) made to [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/what-is-replica-lag/">What is replica lag?</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><strong>What is replica lag?</strong></h2>
<p>To understand what <strong>replica lag</strong> is, we first have to put a bit of context. Replication lag occurs in a special type of database instance that we call read replicas. These are created from a source DB instance that acts as the primary database. Updates (inserts of new data) made to the primary database are copied asynchronously to the read replica. Having these types of replicas allows you to reduce the load on the primary DB instance by routing read-type queries to those instances. Replication between these instances occurs through a secure communication channel and asynchronously.</p>
<p>So what is replica lag and how does it affect our instances? Replication lag is the delay that occurs in asynchronous replication between the primary and read databases. To identify the status of the replication, you will need to look at the binlog dump, io_thread, and sql_thread threads. Commands such as show master status, show slave status executed on the respective instances and continuous monitoring help us identify if there is any delay that could affect performance causing data inconsistency.</p>
<p>We cannot eliminate replica lag but we must reduce it as much as possible. Determine if there are configuration differences between the primary and replica instance, too much write workload on the primary instance, too long transactions, incorrect parameter settings, review version changelogs&#8230; these are what we usually do at Geko Cloud to decide if any type of update or other type of action should be carried out.</p>
<h2><strong>Lag replication example</strong></h2>
<p>This is what recently happened to a client who, after updating the version of the main database and its respective mariadb replicas to v.10.4.24, began to notice a deterioration in the replica lag as we can see in the graph.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9177 size-large" src="https://geko.cloud/wp-content/uploads/2022/10/mariadb-10.4-1-1024x439.jpg" alt="" width="800" height="343" srcset="https://geko.cloud/wp-content/uploads/2022/10/mariadb-10.4-1-1024x439.jpg 1024w, https://geko.cloud/wp-content/uploads/2022/10/mariadb-10.4-1-300x129.jpg 300w, https://geko.cloud/wp-content/uploads/2022/10/mariadb-10.4-1-768x329.jpg 768w, https://geko.cloud/wp-content/uploads/2022/10/mariadb-10.4-1.jpg 1396w" sizes="(max-width: 800px) 100vw, 800px" /></p>
<p>Our team was investigating the problem and after reviewing the Changelogs from version 10.5.0 to 10.5.17, among other things, we were able to notice that this latest version solved the replication lag problems caused by the previous version. Also, we found that the best thing to do in this case was to upgrade the replicas to version 10.15.17 and leave the primary database at version 10.4.24. To do this, we created two more reading replicas, which we updated to that version in such a way that we could verify that the replica lag was effectively reduced again, as can be seen in the graph.</p>
<p>These graphs were taken from the two read replicas with versions 10.4.24 and 10.5.17 of mariadb in the same time slot to verify that the replica lag had actually decreased.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9180 size-large" src="https://geko.cloud/wp-content/uploads/2022/10/mriadb-10.5.17-1-1024x443.jpg" alt="" width="800" height="346" srcset="https://geko.cloud/wp-content/uploads/2022/10/mriadb-10.5.17-1-1024x443.jpg 1024w, https://geko.cloud/wp-content/uploads/2022/10/mriadb-10.5.17-1-300x130.jpg 300w, https://geko.cloud/wp-content/uploads/2022/10/mriadb-10.5.17-1-768x332.jpg 768w, https://geko.cloud/wp-content/uploads/2022/10/mriadb-10.5.17-1.jpg 1358w" sizes="(max-width: 800px) 100vw, 800px" /></p>
<p>&nbsp;</p>
<p>We hope this can give you an idea of how the Geko Cloud team can help you if you need to deploy your services in a Cloud environment. Just <a href="https://geko.cloud/es/contacto/" target="_blank" rel="noopener">contact</a> us and we will be happy to help you.</p>
<p>La entrada <a href="https://geko.cloud/en/what-is-replica-lag/">What is replica lag?</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/what-is-replica-lag/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
