<?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>Geko Cloud</title>
	<atom:link href="https://geko.cloud/en/feed/" rel="self" type="application/rss+xml" />
	<link>https://geko.cloud/en/</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>Geko Cloud</title>
	<link>https://geko.cloud/en/</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>ChatGPT: What is it and what are its implications?</title>
		<link>https://geko.cloud/en/chatgpt-what-is-it-and-what-are-its-implications/</link>
					<comments>https://geko.cloud/en/chatgpt-what-is-it-and-what-are-its-implications/#respond</comments>
		
		<dc:creator><![CDATA[Geko Cloud]]></dc:creator>
		<pubDate>Thu, 12 Jan 2023 08:35:49 +0000</pubDate>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Chatbot]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[GPT-3]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[Natural Language Processing]]></category>
		<category><![CDATA[NLP]]></category>
		<category><![CDATA[Social implications]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=9414</guid>

					<description><![CDATA[<p>Introduction The field of natural language processing (NLP) has made significant strides in recent years, and one of the most significant developments is the release of GPT-3 (Generative Pre-trained Transformer 3) by OpenAI. GPT-3 is the third iteration of the GPT series of models, and it has caused a significant amount of hype in the [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/chatgpt-what-is-it-and-what-are-its-implications/">ChatGPT: What is it and what are its implications?</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="flex flex-grow flex-col gap-3">
<div class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap">
<div class="markdown prose w-full break-words dark:prose-invert light">
<h2><strong>Introduction</strong></h2>
<p>The field of <a href="https://en.wikipedia.org/wiki/Natural_language_processing" target="_blank" rel="noopener">natural language processing</a> (NLP) has made significant strides in recent years, and one of the most significant developments is the release of <a href="https://en.wikipedia.org/wiki/GPT-3" target="_blank" rel="noopener">GPT-3</a> (Generative Pre-trained Transformer 3) by <a href="https://openai.com/" target="_blank" rel="noopener">OpenAI</a>. GPT-3 is the third iteration of the GPT series of models, and it has caused a significant amount of hype in the technology community due to its ability to generate human-like text with a high level of fluency and accuracy. The chatbot <a href="https://chat.openai.com" target="_blank" rel="noopener">ChatGPT</a> is one of the implementations of GPT-3, it is one of the applications in which the GPT-3 model is used.</p>
<h2><strong>Current situation</strong></h2>
<p>One of the main reasons for the hype around GPT-3 is its ability to perform a wide range of tasks with minimal fine-tuning. This includes writing coherent and well-written essays, articles, and even coding. It can also understand and respond to human language in a conversational context, making it a useful tool for chatbots and virtual assistants. This makes GPT-3 a powerful tool for a wide range of applications, from content creation to customer service.</p>
<p>Another reason for the hype is the sheer size of GPT-3. With 175 billion parameters, it is one of the largest language models to date. This large number of parameters allows GPT-3 to understand and generate text with a high level of accuracy and fluency, making it a powerful tool for language-based tasks.</p>
<p>However, it&#8217;s worth mentioning that GPT-3 also come with criticism and caution as well. One of the main concern is that since the model is so good at mimicking human writing, it could potentially be used to produce fake news and impersonate real people online. Additionally, GPT-3&#8217;s large number of parameters also makes it more prone to biases and errors that might exist in the training data. This is a concern that needs to be closely monitored and addressed, to make sure that GPT-3 is used ethically and for the benefit of society.</p>
</div>
<div class="markdown prose w-full break-words dark:prose-invert light">
<h2><strong>Future</strong></h2>
<p>The release of GPT-3 marks a significant step forward in the field of NLP and the capabilities of language models. However, this is just the beginning. As technology continues to advance, we can expect to see even larger and more advanced models in the future. These models will have even more impressive capabilities, and they will be used in an increasingly wide range of applications.</p>
<p>It is also possible that GPT-3-like models will be used to improve many other AI-related applications, such as image recognition, speech recognition and others. In addition, there could be a potential integration of GPT-3 with other AI technology such as Reinforcement learning to achieve an even more sophisticated AI system.</p>
<h2><strong>Implications</strong></h2>
<p>As AI technology continues to advance and more sophisticated language models like GPT-3 are developed, it is important to consider the broader societal implications of these trends. The ability for AI to understand and generate human-like text has the potential to revolutionize industries such as content creation, customer service, and education. However, it also raises ethical concerns about the potential for AI-generated text to be used to spread misinformation and impersonate real people.</p>
<p>Additionally, there is also the question of job displacement as AI-powered language generation becomes more advanced and more widely used. This could potentially lead to a reduction in the need for human content creators and customer service representatives, which could have significant economic consequences.</p>
<p>Another consequence is that the training data on which language models like GPT-3 is based could perpetuate any biases present in the data which could be replicated in the generated text, leading to biased output. This can have serious social implications especially when used in critical decision making applications.</p>
<h2><strong>Conclusion</strong></h2>
<p>The trend of developing sophisticated language models like GPT-3 has the potential to revolutionize many industries and improve our ability to interact with machines and use natural language. However, it&#8217;s important to consider the broader societal implications of these trends and address any ethical concerns that may arise. It&#8217;s vital to keep a close eye on the development and use of these models to ensure that they are used for the benefit of society and not to the detriment. This includes addressing the concerns about job displacement, biases in the model, and potential to spread misinformation. It&#8217;s also important to continue research on ways to mitigate these risks, such as creating more diverse training data and implementing robust veracity checking systems. Ultimately, the development of language models like GPT-3 has the potential to have a significant impact on society, and it&#8217;s essential to approach it with both excitement and caution.</p>
<h2><strong>Epilogue</strong></h2>
<p>Did you already guess it? Yes, this post was entirely written by ChatGPT! Of course we refined the results and we also gave directives to the AI about how we wanted the post to be written, but the result is purely here without any modifications <span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span class="ryNqvb">beyond adding links to content (references)</span></span></span>. At Geko Cloud we hope this article has helped you to learn something new and continue to expand your knowledge. If you need information about <strong><a href="https://geko.cloud/en/" target="_blank" rel="noopener">Cloud and the DevOps</a> </strong>world, we invite you to <a href="https://geko.cloud/en/contact/" target="_blank" rel="noopener"><strong>contact us</strong></a> and keep checking out <a href="https://geko.cloud/en/blog/labs/" target="_blank" rel="noopener"><strong>our blog</strong></a> in order to find other useful publications. See you soon!</p>
</div>
</div>
</div>
<p>La entrada <a href="https://geko.cloud/en/chatgpt-what-is-it-and-what-are-its-implications/">ChatGPT: What is it and what are its implications?</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/chatgpt-what-is-it-and-what-are-its-implications/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>AWS: Enable EBS GP3 for eks by default</title>
		<link>https://geko.cloud/en/aws-enable-ebs-gp3-for-eks-by-default/</link>
					<comments>https://geko.cloud/en/aws-enable-ebs-gp3-for-eks-by-default/#respond</comments>
		
		<dc:creator><![CDATA[Xènia Adan]]></dc:creator>
		<pubDate>Mon, 12 Dec 2022 16:15:12 +0000</pubDate>
				<category><![CDATA[Labs]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=9257</guid>

					<description><![CDATA[<p>AWS: Enable EBS GP3 for eks by default By default when creating persistent volumes in AWS the GP2 type is created, however, for some time now we have had GP3 available, which provides us with different advantages, including cost savings. In the following table we can see a comparison of both versions: Volume type gp3 [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/aws-enable-ebs-gp3-for-eks-by-default/">AWS: Enable EBS GP3 for eks by default</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><strong>AWS: Enable EBS GP3 for eks by default</strong></h2>
<p>By default when creating persistent volumes in AWS the GP2 type is created, however, for some time now we have had GP3 available, which provides us with different advantages, including cost savings. In the following table we can see a comparison of both versions:</p>
<table>
<tbody>
<tr>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">Volume type</span></p>
</td>
<td style="text-align: center;"><span style="font-weight: 400;">gp3</span></td>
<td style="text-align: center;"><span style="font-weight: 400;">gp2</span></td>
</tr>
<tr>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">Volume size</span></p>
</td>
<td style="text-align: center;"><span style="font-weight: 400;">1 GiB – 16 TiB</span></td>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">1 GiB – 16 TiB</span></p>
</td>
</tr>
<tr>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">Baseline IOPS</span></p>
</td>
<td style="text-align: center;"><span style="font-weight: 400;">3000</span></td>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">3 IOPS/GiB (minimum 100 IOPS) to a maximum of 16,000 IOPS</span></p>
<p style="text-align: center;"><span style="font-weight: 400;">Volumes smaller than 1 TiB can also burst up to 3,000 IOPS.</span></p>
</td>
</tr>
<tr>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">Max IOPS/volume</span></p>
</td>
<td style="text-align: center;"><span style="font-weight: 400;">16,000</span></td>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">16,000</span></p>
</td>
</tr>
<tr>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">Baseline throughput</span></p>
</td>
<td style="text-align: center;"><span style="font-weight: 400;">125 MiB/s</span></td>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">Throughput limit is between 128 MiB/s and 250 MiB/s, depending on the volume size.</span></p>
</td>
</tr>
<tr>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">Max throughput/volume</span></p>
</td>
<td style="text-align: center;"><span style="font-weight: 400;">1,000 MiB/s</span></td>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">250 MiB/s</span></p>
</td>
</tr>
<tr>
<td style="text-align: center;"><span style="font-weight: 400;">Price</span></td>
<td style="text-align: center;"><span style="font-weight: 400;">$0.08/GiB-month</span></p>
<p><span style="font-weight: 400;">3,000 IOPS free and</span></p>
<p><span style="font-weight: 400;">$0.005/provisioned IOPS-month over 3,000;</span></p>
<p><span style="font-weight: 400;">125 MiB/s free and</span></p>
<p><span style="font-weight: 400;">$0.04/provisioned MiB/s-month over 125MiB/s</span></td>
<td>
<p style="text-align: center;"><span style="font-weight: 400;">$0.10/GiB-month</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>Here is a little howto on how we can change the default storageclass to Gp3 step by step.</p>
<p><strong>Create IAM Role</strong></p>
<p>Get OIDC provider url:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9239 size-full" src="https://geko.cloud/wp-content/uploads/2022/10/foto1-1024x96-1.png" alt="" width="1024" height="96" srcset="https://geko.cloud/wp-content/uploads/2022/10/foto1-1024x96-1.png 1024w, https://geko.cloud/wp-content/uploads/2022/10/foto1-1024x96-1-300x28.png 300w, https://geko.cloud/wp-content/uploads/2022/10/foto1-1024x96-1-768x72.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>&nbsp;</p>
<p>Create the following file to define the role by changing 111122223333 to our account ID, region-code to the aws region, and EXAMPLED539D4633E53DE1B71EXAMPLE with the value returned from the previous step:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9241 size-full" src="https://geko.cloud/wp-content/uploads/2022/11/foto2-1-1.png" alt="" width="760" height="640" srcset="https://geko.cloud/wp-content/uploads/2022/11/foto2-1-1.png 760w, https://geko.cloud/wp-content/uploads/2022/11/foto2-1-1-300x253.png 300w" sizes="(max-width: 760px) 100vw, 760px" /></p>
<p>&nbsp;</p>
<p>Create the role with the file created previously:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9243 size-full" src="https://geko.cloud/wp-content/uploads/2022/11/foto3-1-1.png" alt="" width="757" height="96" srcset="https://geko.cloud/wp-content/uploads/2022/11/foto3-1-1.png 757w, https://geko.cloud/wp-content/uploads/2022/11/foto3-1-1-300x38.png 300w" sizes="(max-width: 757px) 100vw, 757px" /></p>
<p>&nbsp;</p>
<p>Attach the policy to the role:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9245 size-full" src="https://geko.cloud/wp-content/uploads/2022/11/foto4-1-1.png" alt="" width="757" height="99" srcset="https://geko.cloud/wp-content/uploads/2022/11/foto4-1-1.png 757w, https://geko.cloud/wp-content/uploads/2022/11/foto4-1-1-300x39.png 300w" sizes="(max-width: 757px) 100vw, 757px" /></p>
<p>&nbsp;</p>
<p>Create the identity provider from the aws console by following these steps:<br />
1. Within IAM in the Access management section go to Identity provider &#8211; add provider &#8211; OpenID Connect<br />
2. In the Provider URL add the url obtained in point 1.a<br />
3. Click on Get thumbprint<br />
4. In audience put &#8220;sts.amazonaws.com&#8221; and click on save</p>
<p>&nbsp;</p>
<p><strong>Install aws ebs-csi-controller driver</strong></p>
<p>Create the following values.yaml</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9247 size-full" src="https://geko.cloud/wp-content/uploads/2022/11/foto5-1-2.png" alt="" width="763" height="394" srcset="https://geko.cloud/wp-content/uploads/2022/11/foto5-1-2.png 763w, https://geko.cloud/wp-content/uploads/2022/11/foto5-1-2-300x155.png 300w" sizes="(max-width: 763px) 100vw, 763px" /></p>
<p>Add the helm repo:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9249 size-full" src="https://geko.cloud/wp-content/uploads/2022/11/foto6-1-1.png" alt="" width="760" height="76" srcset="https://geko.cloud/wp-content/uploads/2022/11/foto6-1-1.png 760w, https://geko.cloud/wp-content/uploads/2022/11/foto6-1-1-300x30.png 300w" sizes="(max-width: 760px) 100vw, 760px" /></p>
<p>Install helm chart:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9251 size-full" src="https://geko.cloud/wp-content/uploads/2022/11/foto7-1-1.png" alt="" width="759" height="73" srcset="https://geko.cloud/wp-content/uploads/2022/11/foto7-1-1.png 759w, https://geko.cloud/wp-content/uploads/2022/11/foto7-1-1-300x29.png 300w" sizes="(max-width: 759px) 100vw, 759px" /></p>
<p>Once all the previous steps have been followed, we will be able to observe how the default storageclass is of the gp3 type, and from now on all the volumes will be created using this type of ebs:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-9253 size-full" src="https://geko.cloud/wp-content/uploads/2022/11/Captura-de-pantalla-2022-10-26-160544-1.png" alt="" width="1213" height="189" srcset="https://geko.cloud/wp-content/uploads/2022/11/Captura-de-pantalla-2022-10-26-160544-1.png 1213w, https://geko.cloud/wp-content/uploads/2022/11/Captura-de-pantalla-2022-10-26-160544-1-300x47.png 300w, https://geko.cloud/wp-content/uploads/2022/11/Captura-de-pantalla-2022-10-26-160544-1-1024x160.png 1024w, https://geko.cloud/wp-content/uploads/2022/11/Captura-de-pantalla-2022-10-26-160544-1-768x120.png 768w" sizes="(max-width: 1213px) 100vw, 1213px" /></p>
<p>La entrada <a href="https://geko.cloud/en/aws-enable-ebs-gp3-for-eks-by-default/">AWS: Enable EBS GP3 for eks by default</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/aws-enable-ebs-gp3-for-eks-by-default/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>
		<item>
		<title>Service Manager role</title>
		<link>https://geko.cloud/en/service-manager-role/</link>
					<comments>https://geko.cloud/en/service-manager-role/#respond</comments>
		
		<dc:creator><![CDATA[Sara]]></dc:creator>
		<pubDate>Wed, 29 Jun 2022 15:18:45 +0000</pubDate>
				<category><![CDATA[Geko cloud]]></category>
		<category><![CDATA[Marketing]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=8388</guid>

					<description><![CDATA[<p>What Does a Service Manager Do? The Service Manager has become a key piece for IT management in organizations. It is the person responsible for the implementation and monitoring of all processes linked to the management of corporate information systems. The function of the Service Manager at Geko is to provide versatility in the vision [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/service-manager-role/">Service Manager role</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>What Does a Service Manager Do?</h2>
<p>The Service Manager has become a <strong>key piece for IT management in organizations.</strong><br />
It is the person responsible for the implementation and monitoring of all processes linked to the management of corporate information systems.</p>
<p>The function of the Service Manager at Geko is to provide<strong> versatility in the vision of both the client and the technical team in the different phases.</strong><br />
Adapting the client&#8217;s needs and ensuring the correct execution of the agreed actions.</p>
<p>On the other hand, the Service Manager, together with the TAM, is in charge of aligning the roadmap in the medium and long term, contributing their business/technology vision thanks to having accredited technical knowledge with the main cloud and Kubernetes certifications.</p>
<h3>Some of its most relevant functions are:</h3>
<ul>
<li>Ensure compliance with SLAs</li>
<li>Responsible for IT implementation</li>
<li>IT partner</li>
<li>IT profitability</li>
<li>Team formation</li>
<li>Skills for dealing with customers</li>
<li>Skills for dealing with management</li>
<li>Skills to communicate and train</li>
</ul>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-8370" src="https://geko.cloud/wp-content/uploads/2022/05/Captura-1-1024x702.jpg" alt="La Figura del Service Manager" width="600" height="412" srcset="https://geko.cloud/wp-content/uploads/2022/05/Captura-1-1024x702.jpg 1024w, https://geko.cloud/wp-content/uploads/2022/05/Captura-1-300x206.jpg 300w, https://geko.cloud/wp-content/uploads/2022/05/Captura-1-768x527.jpg 768w, https://geko.cloud/wp-content/uploads/2022/05/Captura-1.jpg 1121w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>&nbsp;</p>
<h3>In addition, the Service Manager must have essential qualities and skills such as:</h3>
<ul>
<li>Teamwork</li>
<li>Ability to make decisions and solve problems</li>
<li>Plan, organize and prioritize work</li>
<li>Communication capacity</li>
<li>Ability to obtain and process information</li>
<li>technical knowledge</li>
</ul>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-8361 size-large" src="https://geko.cloud/wp-content/uploads/2022/05/Copia-de-Copia-de-Diseno-sin-nombre-3-1-1024x577.png" alt="La figura del Service Manager" width="800" height="451" srcset="https://geko.cloud/wp-content/uploads/2022/05/Copia-de-Copia-de-Diseno-sin-nombre-3-1-1024x577.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Copia-de-Copia-de-Diseno-sin-nombre-3-1-300x169.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Copia-de-Copia-de-Diseno-sin-nombre-3-1-768x433.png 768w, https://geko.cloud/wp-content/uploads/2022/05/Copia-de-Copia-de-Diseno-sin-nombre-3-1-1536x865.png 1536w, https://geko.cloud/wp-content/uploads/2022/05/Copia-de-Copia-de-Diseno-sin-nombre-3-1.png 1640w" sizes="(max-width: 800px) 100vw, 800px" /></p>
<p>At <strong><a href="https://geko.cloud/en/" target="_blank" rel="noopener">Geko Cloud</a></strong>, we are a Cloud Consulting formed by a team that is integrated into the day-to-day of our clients, to give value to a quality service and a totally personalized experience.</p>
<p><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> We take off together?</p>
<p>We share some<strong><a href="https://geko.cloud/en/case-studies/" target="_blank" rel="noopener"> Case Studie</a><a href="https://geko.cloud/en/case-studies/" target="_blank" rel="noopener">s</a> </strong>where our values ​​and efforts are reflected in the results of the projects we have carried out.</p>
<p>We hope that this article has helped you to learn something new and continue expanding your knowledge.<br />
We invite you to contact us if you need information about the <a href="https://geko.cloud/en/cloud-services/" target="_blank" rel="noopener">Cloud</a> and <a href="https://geko.cloud/en/devops/" target="_blank" rel="noopener">DevOps</a> world and keep checking our blog to find other useful publications.</p>
<p>La entrada <a href="https://geko.cloud/en/service-manager-role/">Service Manager role</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/service-manager-role/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Geko Cloud at KubeCon and CloudNativeCon 2022</title>
		<link>https://geko.cloud/en/geko-cloud-at-kubecon-and-cloudnativecon-2022/</link>
					<comments>https://geko.cloud/en/geko-cloud-at-kubecon-and-cloudnativecon-2022/#respond</comments>
		
		<dc:creator><![CDATA[Sara]]></dc:creator>
		<pubDate>Mon, 13 Jun 2022 16:33:31 +0000</pubDate>
				<category><![CDATA[Marketing]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[kubecon]]></category>
		<category><![CDATA[linux]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=8422</guid>

					<description><![CDATA[<p>Geko Cloud at KubeCon and CloudNativeCon 2022. From May 16 to 20, the European edition of the Linux World Congress was held at Feria Valencia, one of the main annual international events held within the technological ecosystem. The convention, organized by the Cloud Native Computing Foundation, is aimed at the main open source and cloud [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/geko-cloud-at-kubecon-and-cloudnativecon-2022/">Geko Cloud at KubeCon and CloudNativeCon 2022</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Geko Cloud at KubeCon and CloudNativeCon 2022.<br />
From May 16 to 20, the European edition of the Linux World Congress was held at Feria Valencia, one of the main annual international events held within the technological ecosystem.</p>
<p>The convention, organized by the Cloud Native Computing Foundation, is aimed at the main open source and cloud native communities.<br />
The celebration at Feria València of KubeCon and CloudNativeCon marks the return to face-to-face attendance at this convention.</p>
<p>Part of the <strong><a href="https://geko.cloud/en/" target="_blank" rel="noopener">Geko Cloud</a></strong> team has been present at the congress to promote networking between providers and clients.<br />
They have also attended the most relevant conferences, with the aim of reinforcing and consolidating knowledge.</p>
<p>The congress has brought together more than 5,000 highly specialized professionals in the field of open source and cloud computing, mainly from Europe but also from the United States and another 10,000 who have followed the event online. In addition, more than 200 leading firms in this technology have also participated as exhibitors and sponsors.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-8385" src="https://geko.cloud/wp-content/uploads/2022/05/kubecon-eu-2022-web-021621_snackable-1024x535.jpg" alt="Geko Cloud en el KubeCon y CloudNativeCon 2022 " width="600" height="314" srcset="https://geko.cloud/wp-content/uploads/2022/05/kubecon-eu-2022-web-021621_snackable-1024x535.jpg 1024w, https://geko.cloud/wp-content/uploads/2022/05/kubecon-eu-2022-web-021621_snackable-300x157.jpg 300w, https://geko.cloud/wp-content/uploads/2022/05/kubecon-eu-2022-web-021621_snackable-768x402.jpg 768w, https://geko.cloud/wp-content/uploads/2022/05/kubecon-eu-2022-web-021621_snackable.jpg 1201w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<h3></h3>
<p>This new edition has surprised us thanks to the great ecosystem and the great potential of the project (CNCF) related to the cloud native.</p>
<p>This year a wide portfolio of products oriented to Companies has been presented. It should be noted that the novelty curve is flattening to make way for the Enterprise part. For the last 4 years, the technical community has been paving the way and giving way to companies and we are not just talking about startups, but corporates or large-scale companies in sectors such as banking, pharmaceuticals, food, etc.</p>
<p>&nbsp;</p>
<h3>We share the most outstanding news and trends of the KubeCon and CloudNativeCon congress</h3>
<ul>
<li><a href="https://opentelemetry.io/" target="_blank" rel="noopener">OpenTelemetry</a>: Open source project incubated by the CNCF (second in number of commits), provides a single open source standard and set of technologies to capture and export traces, metrics and, in the near future, logs from your infrastructure and applications cloud native.</li>
<li><a href="https://opengitops.dev/" target="_blank" rel="noopener">GitOps</a>: A best-practice process for managing infrastructure and app configurations using Git, an open source version control system, as the single source of truth for applications and declarative infrastructure.</li>
<li><a href="https://opengitops.dev/" target="_blank" rel="noopener">Gatekeeper:</a> Allows you to manage policies in Kubernetes. Policies enforce what fields and values ​​are allowed to be used in a given resource. Has the ability to modify resources based on conditions.</li>
<li><a href="http://Cluster API" target="_blank" rel="noopener">Cluster API</a>: Set of APIs focused on provisioning, updating and operating multiple Kubernetes clusters. It allows managing these resources through CRDs.</li>
<li><a href="https://fluxcd.io/" target="_blank" rel="noopener">FluxCD</a>: GitOps tool equivalent to ArgoCD, it does a lot of application in security (avoid possible privilege escalations, etc), although it does not have a GUI (all management is done through cli). There is a Terraform provider to manage your resources.</li>
<li><a href="https://docs.kubelinter.io/#/" target="_blank" rel="noopener">KubeLinter</a>: Tool that analyzes YAMLs and Helm charts against a series of best practices with a focus on security. It is highly configurable (enable/disable checks) and allows you to generate a recommendation report.</li>
<li><a href="https://www.sigstore.dev/" target="_blank" rel="noopener">Sigstore</a>: Modular collection of projects that can be used independently or together, with the aim of simplifying and making software signing more transparent.</li>
</ul>
<p>&nbsp;</p>
<h3>About KubeCon + CloudNativeCon 2022 Europe</h3>
<p>Cloud-native technologies enable organizations to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach.</p>
<p>These techniques enable loosely coupled systems that are resilient, manageable, and observable. Combined with robust automation, they enable engineers to make high-impact changes frequently and predictably with minimal effort.</p>
<p>The Cloud Native Computing Foundation seeks to drive adoption of this paradigm by fostering and maintaining an ecosystem of open source and vendor-independent projects. We democratize the latest generation patterns so that these innovations are accessible to everyone.</p>
<p>More information about KubeCon + CloudNativeCon 2022 <strong><a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/" target="_blank" rel="noopener">HERE</a></strong></p>
<p>&nbsp;</p>
<p>La entrada <a href="https://geko.cloud/en/geko-cloud-at-kubecon-and-cloudnativecon-2022/">Geko Cloud at KubeCon and CloudNativeCon 2022</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/geko-cloud-at-kubecon-and-cloudnativecon-2022/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Dynamic nodes in Jenkins via AWS Spot Fleet</title>
		<link>https://geko.cloud/en/dynamic-nodes-in-jenkins-via-aws-spot-fleet/</link>
					<comments>https://geko.cloud/en/dynamic-nodes-in-jenkins-via-aws-spot-fleet/#respond</comments>
		
		<dc:creator><![CDATA[Miguel]]></dc:creator>
		<pubDate>Tue, 07 Jun 2022 07:27:32 +0000</pubDate>
				<category><![CDATA[Labs]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[Jenkins]]></category>
		<guid isPermaLink="false">https://geko.cloud/?p=8452</guid>

					<description><![CDATA[<p>Dynamic nodes in Jenkins via AWS Spot Fleet Provisionar nodos slave de jenkins dinámicamente gracias a aws spot fleet A few weeks ago, a customer contacted us. His request was simple: What can we do to further optimize our automated CI/CD process in Jenkins? After assesing the needs and the current infrastructure of the client, [&#8230;]</p>
<p>La entrada <a href="https://geko.cloud/en/dynamic-nodes-in-jenkins-via-aws-spot-fleet/">Dynamic nodes in Jenkins via AWS Spot Fleet</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3>Dynamic nodes in Jenkins via AWS Spot Fleet</h3>
<p>Provisionar nodos slave de jenkins dinámicamente gracias a aws spot fleet</p>
<p>A few weeks ago, a customer contacted us. His request was simple: What can we do to further optimize our automated CI/CD process in Jenkins?</p>
<p>After assesing the needs and the current infrastructure of the client, we decided to change the current paradigm in terms of task execution. Until now <a href="https://www.jenkins.io/" target="_blank" rel="noopener"><strong>Jenkins</strong></a> executed the tasks in its main node (the machine where Jenkins is running), by changing this paradigm to one based on dynamic provisioning of subordinate nodes we would gain the following benefits:</p>
<ul>
<li>Cost savings &#8211; By moving all the computational effort away from the main node. It can be hosted on a lower performance machine, reducing the overall cost of our infrastructure. The subordinate nodes would only be running during the execution of a task, also saving money while no task is running.</li>
<li>Security &#8211; As we will not execute any code on the main node, we ensure the system’s integrity even if the code has been compromised, and since it is only executed on an ephemeral instance the attacker will be isolated.</li>
<li>Performance &#8211; The subordinate node exists only to execute the task and can dedicate all of the node&#8217;s resources to it.</li>
</ul>
<p>&nbsp;</p>
<h2>Requirements</h2>
<p>For this change, we will perform the following tasks:</p>
<ul>
<li>Spot Fleet creation in AWS</li>
<li>Installation and configuration of the Jenkins plugin</li>
<li>Jenkinsfile adaptation</li>
</ul>
<p>For this publication we will make the following assumptions:</p>
<ul>
<li>We have an AWS account already set up</li>
<li>We host Jenkins on an EC2 server</li>
<li>We have knowledge of some basic Jenkins and AWS concepts</li>
</ul>
<p><span style="font-weight: 400;">That said, let&#8217;s get down to business.</span></p>
<p>&nbsp;</p>
<p>In this article on &#8220;Dynamic nodes in Jenkins via AWS Spot Fleet&#8221; we will develop all the necessary steps to obtain a good result.</p>
<h2>Creation of launch template and spot fleet</h2>
<p>An AWS Spot Fleet is nothing more than an AutoScaling Group of EC2 machines but with spot type instances &#8211; Amazon’s surplus hardware that nobody is using and that AWS sells cheaper than usual. The first step will be to create the Launch Template that the Spot Fleet will use:</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="wp-image-8409 aligncenter" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-0.png" alt="" width="795" height="413" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-0.png 1541w, https://geko.cloud/wp-content/uploads/2022/05/Spot-0-300x156.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-0-1024x532.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-0-768x399.png 768w, https://geko.cloud/wp-content/uploads/2022/05/Spot-0-1536x797.png 1536w" sizes="(max-width: 795px) 100vw, 795px" /></p>
<p>&nbsp;</p>
<p>The important items to be filled in will be:</p>
<ol>
<li>Name and description</li>
<li>AMI to use &#8211; For example Ubuntu 22</li>
<li>Type of instance to use &#8211; Choose one according to your performance needs</li>
<li>Key Pair &#8211; We will need to add it later in Jenkins</li>
<li>Network &#8211; Use the same Subnet as Jenkins if possible</li>
<li>Security Group &#8211; For the connection between nodes to be established, it is important that we give access to port 22 from the main node. The easiest way is to create a rule that allows access either from the IP of the main node (if we have a Elastic IP assigned) or from its Security Group</li>
<li>Storage &#8211; Allocate the storage according to your needs</li>
<li>User data &#8211; For the Jenkins worker to run on the subordinate node, we will need to install JRE, we also installed Docker as a requirement:</li>
</ol>
<p>&nbsp;</p>
<div class="wp-block-codemirror-blocks code-block ">
<pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;text/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:true,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}">#!/bin/bash
# Install docker
apt-get update
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
apt-get update
apt-get install -y docker-ce
usermod -aG docker ubuntu

# Install docker-compose
curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

#Install JRE
sudo apt install -y default-jre</pre>
</div>
<p>&nbsp;</p>
<p>Once created we will have a Launch template similar to this one:</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-8413" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-2.png" alt="" width="795" height="501" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-2.png 1543w, https://geko.cloud/wp-content/uploads/2022/05/Spot-2-300x189.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-2-1024x646.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-2-768x484.png 768w, https://geko.cloud/wp-content/uploads/2022/05/Spot-2-1536x969.png 1536w" sizes="(max-width: 795px) 100vw, 795px" /></p>
<p>&nbsp;</p>
<p>Now it is time to create the Spot fleet as such:</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-8411" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-1.png" alt="" width="795" height="383" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-1.png 1407w, https://geko.cloud/wp-content/uploads/2022/05/Spot-1-300x144.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-1-1024x493.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-1-768x370.png 768w" sizes="(max-width: 795px) 100vw, 795px" /></p>
<p>&nbsp;</p>
<p>In this case, the items to be filled in are:</p>
<ol>
<li>Launch parameters &#8211; Select our Launch Template created above<img loading="lazy" decoding="async" class="aligncenter wp-image-8415" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-3.png" alt="" width="795" height="245" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-3.png 1054w, https://geko.cloud/wp-content/uploads/2022/05/Spot-3-300x93.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-3-1024x316.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-3-768x237.png 768w" sizes="(max-width: 795px) 100vw, 795px" /></li>
<li>Target Capacity &#8211; Set total to 0 for now, as it will be controlled by the Jenkins plugin. Enable Maintain Target Capacity<img loading="lazy" decoding="async" class=" wp-image-8417 aligncenter" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-4.png" alt="" width="760" height="388" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-4.png 915w, https://geko.cloud/wp-content/uploads/2022/05/Spot-4-300x153.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-4-768x392.png 768w" sizes="(max-width: 760px) 100vw, 760px" /></li>
<li>Network &#8211; Assign the VPC in which the main node is hosted</li>
<li>Instance type requirements &#8211; Choose the desired instance types in Manually select instance types, a larger quantity gives a better pool from which to start Spot instances<img loading="lazy" decoding="async" class="aligncenter wp-image-8419" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-5.png" alt="" width="795" height="347" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-5.png 1060w, https://geko.cloud/wp-content/uploads/2022/05/Spot-5-300x131.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-5-1024x446.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-5-768x335.png 768w" sizes="(max-width: 795px) 100vw, 795px" /></li>
<li>Allocation strategy &#8211; Capacity Optimized</li>
</ol>
<p>And that&#8217;s it, we have created our Spot Fleet.</p>
<p>&nbsp;</p>
<h2>Installing and configuring the Jenkins plugin</h2>
<p>Before installing the plugin, we will have to create and assign a new IAM role to the instance hosting the main node so that it will be able to manage our Spot fleet:</p>
<p>&nbsp;</p>
<div class="wp-block-codemirror-blocks code-block ">
<pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;application/json&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:true,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}">{
   "Version":"2012-10-17",
   "Statement":[
      {
         "Effect":"Allow",
         "Action":[
            "ec2:DescribeSpotFleetInstances",
            "ec2:ModifySpotFleetRequest",
            "ec2:CreateTags",
            "ec2:DescribeRegions",
            "ec2:DescribeInstances",
            "ec2:TerminateInstances",
            "ec2:DescribeInstanceStatus",
            "ec2:DescribeSpotFleetRequests"
         ],
         "Resource":"*"
      },
      {
         "Effect":"Allow",
         "Action":[
            "autoscaling:DescribeAutoScalingGroups",
            "autoscaling:UpdateAutoScalingGroup"
         ],
         "Resource":"*"
      },
      {
         "Effect":"Allow",
         "Action":[
            "iam:ListInstanceProfiles",
            "iam:ListRoles",
            "iam:PassRole"
         ],
         "Resource":"*"
      }
   ]
}</pre>
</div>
<p>&nbsp;</p>
<p>Once this is done, we will install the<a href="https://plugins.jenkins.io/ec2-fleet/" target="_blank" rel="noopener"><strong> ec2-fleet-plugin</strong></a> and configure it from Manage Jenkins &gt; Manage Nodes &gt; Configure Clouds &gt; Add New Cloud &gt; Amazon EC2 Fleet.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-8425" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-6.png" alt="" width="795" height="429" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-6.png 2102w, https://geko.cloud/wp-content/uploads/2022/05/Spot-6-300x162.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-6-1024x552.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-6-768x414.png 768w, https://geko.cloud/wp-content/uploads/2022/05/Spot-6-1536x829.png 1536w, https://geko.cloud/wp-content/uploads/2022/05/Spot-6-2048x1105.png 2048w" sizes="(max-width: 795px) 100vw, 795px" /></p>
<p>&nbsp;</p>
<ol>
<li>Assign a name</li>
<li>AWS Credentials &#8211; We leave this blank, since our machine already has the role described above.</li>
<li>Region &#8211; Select the region in which we host our servers.</li>
<li>EC2 Fleet &#8211;<strong> It will only appear when we assign the region and the role is assigned to the machine correct</strong>ly. Once filled in, we select our Spot fleet<img loading="lazy" decoding="async" class="aligncenter wp-image-8427" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-7.png" alt="" width="795" height="443" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-7.png 2100w, https://geko.cloud/wp-content/uploads/2022/05/Spot-7-300x167.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-7-1024x571.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-7-768x428.png 768w, https://geko.cloud/wp-content/uploads/2022/05/Spot-7-1536x856.png 1536w, https://geko.cloud/wp-content/uploads/2022/05/Spot-7-2048x1141.png 2048w" sizes="(max-width: 795px) 100vw, 795px" /></li>
<li>Upload the Private key generated in the Launch template as <strong>SSH Username with private key</strong></li>
<li>Private IP &#8211; Select if we want the main node to connect to the subordinate node using the private IP instead of the public one</li>
<li>Always Reconnect &#8211; We recommend not to enable it, as Spot instances are ephemeral by nature</li>
<li>Restrict Usage &#8211; Restrict the use of this Spot Fleet only to tasks that specify the assigned tag, regardless of the global Jenkins configuration</li>
<li>Label &#8211; The label that identifies this node cloud, useful for assigning which tasks will be executed in the Fleet<img loading="lazy" decoding="async" class="aligncenter wp-image-8429" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-8.png" alt="" width="795" height="287" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-8.png 2074w, https://geko.cloud/wp-content/uploads/2022/05/Spot-8-300x108.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-8-1024x370.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-8-768x278.png 768w, https://geko.cloud/wp-content/uploads/2022/05/Spot-8-1536x555.png 1536w, https://geko.cloud/wp-content/uploads/2022/05/Spot-8-2048x741.png 2048w" sizes="(max-width: 795px) 100vw, 795px" /></li>
<li>Number of executors &#8211; The number of simultaneous jobs that each Spot Fleet instance will be able to host</li>
<li>Max Idle Minutes Before Scaledown &#8211; The number of minutes Jenkins will keep an instance active with no pending tasks. <strong>If left at 0 Jenkins will never terminate instances, even if they are unused</strong></li>
<li>Minimum/Maximum cluster Size &#8211; The minimum and maximum quantity of instances we want the Spot fleet to have. Ideally, the minimum should be set to 0 to reduce costs</li>
</ol>
<p><span style="font-weight: 400;">Once the configuration is saved, we will have a new section in the Jenkins dashboard, which indicates the current status of our Spot Fleet.</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class=" wp-image-8431 aligncenter" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-9.png" alt="" width="336" height="349" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-9.png 700w, https://geko.cloud/wp-content/uploads/2022/05/Spot-9-289x300.png 289w" sizes="(max-width: 336px) 100vw, 336px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Jenkinsfile adaptation</h2>
<p>Now that we have our Spot fleet configured, it is time to make some small changes so Jenkins uses this new type of nod. If we want it to be used systematically on a global level, we can disable the execution of tasks on the main node (the only other node in our case) from the node configuration screen.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-8433" src="https://geko.cloud/wp-content/uploads/2022/05/Spot-10.png" alt="" width="795" height="408" srcset="https://geko.cloud/wp-content/uploads/2022/05/Spot-10.png 1826w, https://geko.cloud/wp-content/uploads/2022/05/Spot-10-300x154.png 300w, https://geko.cloud/wp-content/uploads/2022/05/Spot-10-1024x526.png 1024w, https://geko.cloud/wp-content/uploads/2022/05/Spot-10-768x395.png 768w, https://geko.cloud/wp-content/uploads/2022/05/Spot-10-1536x789.png 1536w" sizes="(max-width: 795px) 100vw, 795px" /></p>
<p>&nbsp;</p>
<p>If, on the other hand, we want certain tasks to be executed in the subordinate nodes, we will have to specify them at Jenkinsfile level, here is an example of how to do it:</p>
<div class="wp-block-codemirror-blocks code-block ">
<pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;groovy&quot;,&quot;mime&quot;:&quot;text/x-groovy&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;lineWrapping&quot;:true,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}">#!groovy
pipeline {
//Especificamos agente a nivel de Pipeline
  agent {
    label 'ec2-fleet'
  }

  stages {
        stage('Test') {
          agent {
            dockerfile {
              // Si usamos un agente en concreto, tendremos que volver a especificar la etiqueta
              label 'ec2-fleet'
              filename 'Dockerfile'
              dir 'docker/images/tests'
              args '-u root'
            }
          }
          steps {
            sh 'Hello World'
          }
        }
  }
}</pre>
</div>
<p>&nbsp;</p>
<p>With this last step, we are ready to execute any task on dynamically provisioned nodes within Spot Fleet instances.</p>
<p>&nbsp;</p>
<p>From Geko Consulting Cloud, we hope you liked this post and above all that you find it useful, nothing would make us happier.<br />
We invite you to contact us if you need information about the <a href="https://geko.cloud/en/" target="_blank" rel="noopener"><strong>Cloud and DevOps</strong></a> world and keep checking <a href="https://geko.cloud/en/blog/labs/" target="_blank" rel="noopener"><strong>our blog</strong> </a>to find other useful publications.</p>
<p>La entrada <a href="https://geko.cloud/en/dynamic-nodes-in-jenkins-via-aws-spot-fleet/">Dynamic nodes in Jenkins via AWS Spot Fleet</a> se publicó primero en <a href="https://geko.cloud/en/">Geko Cloud</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://geko.cloud/en/dynamic-nodes-in-jenkins-via-aws-spot-fleet/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
