<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mateus Lira on Medium]]></title>
        <description><![CDATA[Stories by Mateus Lira on Medium]]></description>
        <link>https://medium.com/@mateusclira?source=rss-511a6ecb6774------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UyYAX48J-EsfCvWXiEEGhA.png</url>
            <title>Stories by Mateus Lira on Medium</title>
            <link>https://medium.com/@mateusclira?source=rss-511a6ecb6774------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 13:08:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mateusclira/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to skip the line and become a Senior DevOps Engineer?]]></title>
            <link>https://mateusclira.medium.com/how-to-skip-the-line-and-become-a-senior-devops-engineer-d284306f3cca?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/d284306f3cca</guid>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[advice]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Sat, 24 Jun 2023 17:02:21 GMT</pubDate>
            <atom:updated>2023-06-24T17:02:21.331Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FEI4KvYDswL1DBpw" /></figure><p>If you are not sure yet what a DevOps engineer does, please read it here:</p><p><a href="https://mateusclira.medium.com/sre-x-devops-x-devops-engineer-is-this-even-a-valid-comparison-bdada5b1874">SRE x DevOps x DevOps Engineer: Is This Even a Valid Comparison?</a></p><p>This article is a tricky one, and if you read it in a hurry, you might need to get it right.</p><p>Take your time, and read the context. I mean it. You should know what a DevOps Engineer is supposed to do. As well as an SRE, and what DevOps is <em>before </em>you read this one<em>.</em></p><h3>Let’s get to it, shall we?</h3><p>These last years all we see is the evolution of “DevOps”. There is a good reason for that. With DevOps, we are now able to save a lot of money. Well… companies run after money (and so do we).</p><p>Suddenly, every manager is eager to have DevOps engineers specialists on their teams, since we are capable of creating routines to save a lot of money of course.</p><blockquote>The thing is, how can we have more than 10 years of experience being DevOps Engineers if this role didn’t exist a decade ago?</blockquote><p>Here is where you should understand precisely what DevOps Engineer does and how you can start calling yourself a DevOps Engineer from a long time ago.</p><p>The market is calling DevOps engineers the people who understand DevOps principles and are capable of doing Site Reliability Engineering tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*dIwDyY-fh73miZxk" /></figure><h3>The problem here</h3><p>We are looking at the Data Engineer 2.0 problem, and what do I mean by that? Companies are trying to hire ninjas with code capabilities. If you don’t know this story tail yet, have a look here:</p><p><a href="https://mateusclira.medium.com/the-future-of-data-engineering-is-this-role-going-to-vanish-tech-recruiters-also-must-read-4b6253fdbe64">The future of Data Engineering. Is this role going to vanish? Tech Recruiters also must read</a></p><p>Take your time and understand what is going on with the Data Engineering role. I think you can spot some similarities with DevOps Engineering…</p><p>How so? The confusion. You can be a Senior DevOps Engineer without ever touching a Kubernetes cluster. Do you need to know programming? Of course! But in what language? Does it make any difference? Do you need to learn front-end? Some tech recruiters seem to think so.</p><h3>So, how to become a Senior?</h3><blockquote>Get hired for a Senior vacancy and perform. Simple as that.</blockquote><p>Perhaps not the answer you were expecting. And yes, I can elaborate on this. But it comes to that, please have that in mind.</p><blockquote>Every vacancy has its own needs.</blockquote><p>Let’s say you work In company X and you are junior, and you work with Terraform. Then, you get great skills in company X in Terraform.</p><p>Then you try out a Senior Vacancy for Terraform automation in company Y, and they have some other things they care about (such as Docker, and Kubernetes) but you nailed the Terraform challenge. Voi lá. You got it.</p><p>Now you are a Senior DevOps Engineer. Do you deserve it? Have someone done it before? Come on… Jr… Mid… Sr… Just names. A lot of companies don’t even care nowadays if you have a bachelor.</p><h3>So you might be wondering</h3><p>How to become really good? How to get into interviews? How to nail the interviews?</p><p>Take practice seriously: Contribute to Open-Source. Create Personal Projects and lift them up, show the World what you are capable of. Understand concepts, get confidence, and eventually you’ll get there.</p><h3>See how I did it:</h3><p><a href="https://github.com/mateusclira">mateusclira - Overview</a></p><p>I was careful enough to create a course in English just to show my international recruiters I could speak the language even though I’m Brazilian.</p><p><a href="https://www.youtube.com/mateusclira">Lira Tech</a></p><p>I even created I platform using a bought DNS which I run on Kubernetes, created a website, put it on Docker, and deployed it on AKS (Azure), which is available here:</p><p><a href="https://mateusclira.tech/">Lira Tech</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d284306f3cca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SRE x DevOps x DevOps Engineer: Is This Even a Valid Comparison?]]></title>
            <link>https://mateusclira.medium.com/sre-x-devops-x-devops-engineer-is-this-even-a-valid-comparison-bdada5b1874?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdada5b1874</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Sat, 15 Apr 2023 11:40:39 GMT</pubDate>
            <atom:updated>2023-04-15T11:40:39.046Z</atom:updated>
            <content:encoded><![CDATA[<h3>SRE x DevOps x DevOps Engineer — Does this comparison even make any sense?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vyPBXrzLFF6-Q_eh" /></figure><p>First, we should start by defining each. And I will try to do this in the easiest and simplest possible way.</p><h3>Site Reliability Engineer (SRE)</h3><p>It is a compound of software engineering techniques used for:</p><ul><li>Automate tasks</li></ul><p>With an objective:</p><ul><li>Deploy and Maintain productive systems running smoothly, secure, and <strong>reliably</strong></li></ul><p>Think of bugs… they happen, right? The SRE team has the job to create automated tasks to not only prevent those bugs to happen but to auto-mitigate them, to <strong>auto</strong>-generate logs, <strong>auto-heal</strong>, and <strong>automatically </strong>trigger a message to the responsible person to see if everything is going OK whenever a threshold gets hit, <strong>auto auto auto</strong>. Everything needs to be <strong>automated</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*WYenMx6aov5Jul3X" /></figure><blockquote>In other words, SRE are nerds bug killers</blockquote><h3>DevOps</h3><p>It is a culture where the company leadership approximates dev and ops teams in the ambit of communication, integration, collaboration, and <strong><em>automation</em></strong>.</p><p>The goal is:</p><ul><li><strong>Create, </strong>Deploy, and Maintain productive systems running smoothly, secure, and <strong>reliably</strong></li></ul><p>The approach:</p><ul><li>Reduce silos between dev and ops teams.</li></ul><p>Imagine one team knows the infrastructure and this manager is worried about the system running reliably, the other manager is worried only about the security, and the last one is worried about the software running smoothly.</p><p>The focus is on having someone capable of implementing DevOps in this scenario, and this person is normally called a DevOps evangelist. This person&#39;s job is to reduce the silos between teams and improve the quality of the system.</p><h3>DevOps Engineer</h3><p>Now, what the heck is this? Well, first you need to understand that in our field, some roles are always changing, and new roles are being created all the time (ex: Platform Engineer, a whole different thing).</p><p>As you understand by now, DevOps is a culture, and as soon as we needed to hire people who understand the DevOps culture and are capable of implementing automation, there was a beautiful name that came to mind… DevOps Engineer. But the thing is:</p><blockquote>SRE already implements the automation behind the DevOps culture</blockquote><p>OK, now let’s cut the crap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tUun4Ew9XVpZLoDp" /></figure><p>When you see the image above, you read Dev Ops, I see SRE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*IrKExxv69nlhDoCV" /></figure><h3>Conclusion</h3><p>You should be worried to understand the difference between DevOps and DevOps engineering.</p><p>DevOps = all the <strong>Culture </strong>involving the SRE foundations plus the delivery, and the focus on the collaboration of the teams, communication, and integration.</p><p>DevOps Engineer = the person who will implement the automation to make things work smoothly, reliably, and safely = SRE.</p><h3>Complete your learning</h3><p>Read SRE books as well, they mention DevOps (it is free by Google):</p><p><a href="https://sre.google/books/">Books For Site Reliability Engineering</a></p><p>On this link from IBM, you can see that other experts think DevOps Engineer and SRE are the same:</p><p><a href="https://www.ibm.com/topics/site-reliability-engineering">What is Site Reliability Engineering (SRE)? | IBM</a></p><p>Here you understand how Microsoft sees it:</p><p><a href="https://learn.microsoft.com/en-us/azure/site-reliability-engineering/articles/devops">FAQ - Azure</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdada5b1874" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The future of Data Engineering. Is this role going to vanish? Tech Recruiters also must read]]></title>
            <link>https://mateusclira.medium.com/the-future-of-data-engineering-is-this-role-going-to-vanish-tech-recruiters-also-must-read-4b6253fdbe64?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b6253fdbe64</guid>
            <category><![CDATA[recruiting]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Sun, 19 Mar 2023 20:00:48 GMT</pubDate>
            <atom:updated>2023-03-19T20:01:34.613Z</atom:updated>
            <content:encoded><![CDATA[<h3>The future of Data Engineering. Is this role going to vanish? Tech Recruiters must also read</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TtHCVTWQIGxu6ARe" /></figure><p>I’m damn sure, if you already have a job as a Data Engineer, you can’t know everything in this image above. Well, that’s precisely my point regarding the Data Engineering role. It is not reasonable to master your job.</p><p>Today, to be a Data Engineer, you must know the following:</p><ul><li>Data Analytics (ITIL is a must)</li><li>Python for automation (3 years experience is a must)</li><li>Create and manage Data Pipelines (not just Airflow, come on)</li><li>Cloud Environments (I mean, every single infrastructure solution for Data on every cloud)</li><li>Infrastructure as Code (Terraform)</li><li>Oracle Database, SQL, MySQL, NoSQL, EverySQLonEarth;</li><li>DBT</li><li>Spark</li><li>DataBricks</li><li>Kafka (I can do this all day long, you know that)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*L-1z28-XloPcatQXKUb2-g.png" /></figure><p>So, as far as I know, the Data Engineer needs also to be a full-stack developer. Am I Right?? I think I made my point here.</p><h3>The trend I’m following</h3><p>The discussion I see is that even super seniors (10~20 yrs experienced) people are frustrated or confused about this. I know a guy who was interviewed for a Data Engineer role and the reason for being denied was Django!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*CRAKOQOpDcLSzYhg" /></figure><p>On the other hand:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*TlJd90tSqrEnP0yRbmeDcg.png" /></figure><p>I can’t imagine why vacancies… layoffs? Don’t think so :)</p><p><a href="https://www.msn.com/en-us/money/careersandeducation/despite-mass-layoffs-led-by-meta-its-still-hard-to-hire-the-right-tech-talent/ar-AA18MM4q">Despite mass layoffs led by Meta, it&#39;s still hard to hire the right tech talent</a></p><p>Look how focused the companies are to hire Data Engineers:</p><p><a href="https://www.montecarlodata.com/blog-5-on-obvious-ways-to-make-data-engineers-love-working-for-you/">5 Non-Obvious Ways To Make Data Engineers Love Working For You</a></p><blockquote>I hope tech recruiters can read this: it is not hard to find the Data Engineers with your dream requirements, it is impossible!</blockquote><h3>How to fix this?</h3><p>Of course, I have the solution, and it is easy! Stop overwhelming these people!</p><p>The Data Engineer Role must be split into 4:</p><ol><li><strong>Data Analytics Engineer</strong></li><li><strong>Platform Engineer</strong></li><li><strong>DataOps Engineer</strong></li><li><strong>Database Reliability Engineer</strong></li></ol><h4><strong>Data Analytics Engineer</strong></h4><ul><li>Data Analytics</li><li>Python (Pipeline creation and management)</li><li>Databricks</li><li>SQL</li><li>Spark</li></ul><h4>Platform Engineer</h4><ul><li>Infrastructure as Code (Terraform, Bicep, Ansible, Puppet, etc.)</li><li>Cloud Environments</li></ul><h4>DataOps Engineer</h4><ul><li>Kafka</li><li>DBT</li><li>How to make everything works</li></ul><h4>Database Reliability Engineer</h4><ul><li>Oracle Database, SQL, MySQL, NoSQL, EverySQLonEarth;</li><li>On-premise expertise</li><li>Hybrid environments expertise</li></ul><h3>Achievements</h3><p>If you are a Data Engineer, you can now focus on what you are best at and try the roles that already exist (yes some companies have been doing a great job looking into the future).</p><p>If you are a Tech Recruiter, you can now understand why is so hard to hire Data Engineers. Now it is time to focus on learning with your tech team leaders what they need.</p><p>If your company got used to hiring a super senior that knows everything, I got 2 messages:</p><ul><li>There is no such thing as Full-stack Data Engineer.</li><li>You need to hire specific people for specific jobs if you want deep knowledge.</li></ul><p>I hope you enjoyed this reading, follow me for more, and have a nice day!</p><p>And by the way, what do you feel about all this? Share here your thoughts!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b6253fdbe64" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make your environment a professional one —  DevOps | SRE -> For Windows And Linux]]></title>
            <link>https://mateusclira.medium.com/make-your-environment-a-professional-one-devops-sre-for-windows-and-linux-e0187435204?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0187435204</guid>
            <category><![CDATA[professional-development]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 11:46:28 GMT</pubDate>
            <atom:updated>2023-03-13T11:46:28.584Z</atom:updated>
            <content:encoded><![CDATA[<h3>[Tutorial] Make your environment a professional one — DevOps | SRE -&gt; For Windows And Linux</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*46A4rjOAA_aatITH" /></figure><p>If you are obligated to use windows due to your job, you sure suffered preparing your environment for working on the Cloud. This article intends to minimize it as much as possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/0*HG_x45PlLtJAcUda" /></figure><h3>Install Power Shell</h3><p>Not windows powershell, not the one you already have on your PC. Why would you bother to install Power Shell? Well, it is cross-platform, meaning: it runs on Windows, Linux, and Mac.</p><p><a href="https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md">PowerShell-Docs/Installing-PowerShell-on-Windows.md at main · MicrosoftDocs/PowerShell-Docs</a></p><p>Search for the latest version of PowerShell</p><pre>winget search Microsoft.PowerShell</pre><pre>Name               Id                           Version Source<br>--------------------------------------------------------------<br>PowerShell         Microsoft.PowerShell         7.3.2.0 winget<br>PowerShell Preview Microsoft.PowerShell.Preview 7.4.1.0 winget</pre><p>Install PowerShell or PowerShell Preview using the id parameter</p><pre>winget install --id Microsoft.Powershell --source winget<br>winget install --id Microsoft.Powershell.Preview --source winget</pre><h3>Configure your PWSH environment</h3><p>So, there is a feature called oh-my-posh for windows and it is pretty amazing to help us organize ourselves, showing the branch we are working on, how many files we changed, etc.</p><p><a href="https://ohmyposh.dev/docs/installation/windows">Windows | Oh My Posh</a></p><blockquote>You need to open your terminal with Administrator permissions</blockquote><pre>Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString(&#39;https://ohmyposh.dev/install.ps1&#39;))</pre><p>This installs a couple of things:</p><ul><li>oh-my-posh.exe - Windows executable</li><li>themes - The latest Oh My Posh <a href="https://ohmyposh.dev/docs/themes">themes</a></li><li>Next: UPDATE it — This is a must. I don’t know if it was a bug in the feature on the day that I used it. However, it is a must, so run this command below:</li></ul><pre>Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString(&#39;https://ohmyposh.dev/install.ps1&#39;))</pre><p>Now you can choose any theme on the folder themes:</p><pre>C:\Users\(Your User)\AppData\Local\Programs\oh-my-posh\themes</pre><p>I’m particularly using the half-life theme. So, now you need to go over your terminal (on the powershell) and type:</p><pre>notepad $PROFILE</pre><p>It will open an empty file named Microsoft.PowerShell_profile.ps1. In this file, you put the configuration you would type on your shell, but in this file, it stays saved every time you open the terminal.</p><p>In my case, I did put some Aliases, and I did set my theme. This is how you do it:</p><pre>Set-Alias -Name tf -Value terraform.exe</pre><pre>oh-my-posh.exe - init - shell pwsh - config &quot;C:\Users\(YOUR USER)\AppData\Local\Programs\oh-my-posh\themes\half-life.omp.json&quot; | Invoke-Expression</pre><p>Reopen your terminal aaaand… it&#39;s done!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*VnxWyGUOntjCoLl9AXAaKg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*CYxRAqODwW_G-Scs" /></figure><h3>Well… you know it is not complete yet, right? Linux Time!</h3><p>There is something called… WSL (Windows Subsystem for Linux), and we need to configure it too!</p><blockquote>Remember, open your PowerShell as Admin!</blockquote><pre>wsl --install</pre><p>Now we need to see the Distro available:</p><pre>wsl --list --online</pre><p>Choose one over the list you just saw after using the command above:</p><pre>wsl --install -d &lt;DistroName&gt;</pre><p>The same as we installed oh-my-posh for windows, there is oh-my-zsh. First, install it:</p><pre>sudo apt update &amp;&amp; sudo apt install zsh</pre><p>Then, run this setup script:</p><pre>sh -c &quot;$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)&quot;</pre><p>Now you should enter your new bash file, which is ~/.zshrc</p><pre>vim ~/.zshrc</pre><p>Again, create your own aliases. Here, it is easier than it was on windows:</p><pre>alias k=&quot;kubectl&quot;</pre><p>I suggest you utilize 3 plugins:</p><ul><li>Completions</li><li>Auto Suggestions</li><li>Highlighting</li></ul><p>In this same file that you’ve opened before to put the alias, scroll down a bit and find a variable called “plugins”. It is going to be only with git. Leave the Git there and add the three others. It should be like this:</p><pre>plugins=(git zsh-completions zsh-autosuggestions zsh-syntax-highlighting)</pre><p>To leave the file, type Esc :wq! Enter. The “W” here is to Write, which means we want to save our changes. “Q” is for Quit. “:” is for the Vim understanding we want to leave. “!” means the command is finished.</p><p>After all of that, you still don’t have your plugins working, and that is because you didn’t download the plugins into your machine!</p><p>When you log into the terminal, you are on your user. (You can use the command “pwd” to be sure).</p><p>So, you need to enter this path:</p><pre>cd .oh-my-zsh/custom/plugins</pre><p>In this plugins folder, unleash the beast, I mean, the git command for the plugins!</p><pre>git clone https://github.com/zsh-users/zsh-completions.git</pre><pre>git clone https://github.com/zsh-users/zsh-autosuggestions.git</pre><pre>git clone https://github.com/zsh-users/zsh-syntax-highlighting.git</pre><p>Now, your terminal needs to retain all this! You don’t want to lose all this work, right? So, use this:</p><pre>source ~/.zshrc</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*rz8T8ZMpA18IENFZv9xudw.png" /></figure><p>Reopen your terminal… Aaaand there you are!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*rqay_4K4W4G49xAi" /></figure><p>If you really think I’m done with you… think again! I said in the title, professional environment!</p><h3>Taking it to the next level</h3><p>Have you ever struggled to use different versions of any tool? So, what if I told you most tools have some kind of version manager?</p><p>The thing is, you can have multiple versions of the same tool installed in your environment, without any errors. Without the need of creating specific environments on your VScode for that. I personally use tfenv and tgenv.</p><ul><li><a href="https://github.com/tfutils/tfenv">GitHub - tfutils/tfenv: Terraform version manager</a></li><li><a href="https://github.com/cunymatthieu/tgenv">GitHub - cunymatthieu/tgenv: Terragrunt version manager</a></li></ul><p>So, in any of them, basically, follow their tutorial. here I’m going to show how to install the tfenv and how to use it:</p><pre>git clone --depth=1 https://github.com/tfutils/tfenv.git ~/.tfenv</pre><pre>echo &#39;export PATH=$PATH:$HOME/.tfenv/bin&#39; &gt;&gt; ~/.zshrc</pre><pre>source ~/.zshrc</pre><p>After this, the tfenv is installed and can be used. Now, let’s see how it works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6q3CQw-pcM5j2ZK1KHBNYA.png" /></figure><p>Basically, we can install any version, and with a “use” subcommand, we can change the version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*QLfUQa1WLfGIUdi4" /></figure><h3>We are still not done yet! Let’s see what works on both Windows AND Linux</h3><p>First and my favorite: Kubectx</p><p>This is F…… Incredible! It is used to tell us in which environment we are using our Kubernetes commands. Not only that, but with a Kubectx command, we can switch environments easier than we change namespaces… did I say namespaces? Well… you really must see Kubens also :)</p><p><a href="https://github.com/ahmetb/kubectx">GitHub - ahmetb/kubectx: Faster way to switch between clusters and namespaces in kubectl</a></p><p>Windows Installation (using <a href="https://chocolatey.org/why-chocolatey">Chocolatey</a> )</p><pre>choco install kubens kubectx</pre><p>Windows Installation (using <a href="https://learn.microsoft.com/en-us/windows/package-manager/">winget</a> )</p><pre>winget install --id ahmetb.kubectx<br>winget install --id ahmetb.kubens</pre><p>Linux installation</p><pre>sudo apt install kubectx</pre><p>There is another feature that I love and is available for both systems, and it is the GitHub CLI.</p><p><a href="https://cli.github.com/manual/installation">Installation instructions</a></p><h4>Windows</h4><pre>choco install gh</pre><h4>Linux</h4><pre>type -p curl &gt;/dev/null || sudo apt install curl -y<br>curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \<br>&amp;&amp; sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \<br>&amp;&amp; echo &quot;deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main&quot; | sudo tee /etc/apt/sources.list.d/github-cli.list &gt; /dev/null \<br>&amp;&amp; sudo apt update \<br>&amp;&amp; sudo apt install gh -y</pre><h3>Cloud Environments</h3><p>Well, I think any cloud environment should be particular for every job. You can google AWS, GCP or Azure, or even other minor providers, every cloud provider will have their own commands, but they have a well-documented way to install their CLI.</p><h3>Last thoughts</h3><p>If you are not using Kubernetes yet, please learn how to do it, start installing:</p><p><a href="https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/#install-nonstandard-package-tools">Install and Set Up kubectl on Windows</a></p><p>You can use it in any environment, Windows, Mac, or Linux. I suggest <a href="https://www.udemy.com/course/certified-kubernetes-administrator-with-practice-tests/">this Udemy</a> course which has a cloud environment for free you can train and get your CKA (Certificate for Kubernetes Admin)</p><p>I suggest <a href="https://www.udemy.com/course/complete-terraform-course-beginner-to-advanced">Nana’s course</a> on Terraform:</p><p>And I suggest my article on Git/GitHub:</p><p><a href="https://mateusclira.tech/git-from-zero-to-hero-509a7e75b4c0">Git, from zero to hero</a></p><p>I hope you enjoyed the reading. Please hit the follow, some claps, and give a comment if you want.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0187435204" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bicep vs Terraform: Deciding on the Best Infrastructure as Code Solution for Your Project]]></title>
            <link>https://mateusclira.medium.com/bicep-vs-terraform-deciding-on-the-best-infrastructure-as-code-solution-for-your-project-f3aee2c1931f?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3aee2c1931f</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Sat, 25 Feb 2023 18:44:08 GMT</pubDate>
            <atom:updated>2023-02-25T18:44:08.474Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H0xn7ZURjSELrfnYL2be9w.png" /></figure><h3>What is Bicep?</h3><p>A DSL (Domain Specific Language) that uses a declarative syntax to deploy Azure resources. It was created with the purpose to facilitate the work with ARM Templates, so anything in bicep can also be written in JSON files to ARM (Azure Resource Management).</p><h3>What is Terraform?</h3><p>Terraform is one of the most popular Infrastructure-as-code (IaC) tools, used by DevOps teams to automate infrastructure tasks. It is used to automate the provisioning of your cloud resources. Terraform is an open-source, cloud-agnostic provisioning tool developed by HashiCorp and written in GO language.</p><h3>Why choose Bicep over Terraform?</h3><p>Imagine you have a legacy code in Terraform. The infrastructure is there. How do you get some Virtual Network, for example, into your bicep code if you need to update something?</p><p>In Bicep, you just download the ARM template (a JSON file) and use a single command line to transform it into the Bicep file corresponding to that Virtual Network.</p><p>Another reason, which I mostly think is the greatest one:</p><p>Imagine you don’t own your team’s code. Yes, that happens to me. I work outsourced for a huge bank, and as you can imagine, security is highly important. So, on the other side of the globe, someone decides to create a new policy or a new secret in your Key Vault. That just breaks your <em>tfstate </em>on Terraform.</p><p>So you must be thinking: Ok, no problem. We can just import that, it is just one secret. How hard could it be to import this? Well… what if I told you, you don’t have access to the storage where they put the <em>tfstates</em>? Even by CLI, even by entering some VM, even if you create a pipeline running the service principal ID… well, it is getting hard to update this <em>tfstate</em>, am I right?</p><p>The Bicep doesn’t have a state and for that reason, it is just simple as running the code without the Key Vault declared. There is just NO PROBLEM AT ALL.</p><h3>Why choose Terraform over Bicep</h3><p>If you read my article about <a href="https://medium.com/@mateusclira/the-reason-you-should-be-agnostic-to-any-cloud-tool-language-to-become-senior-55b726296d66">the importance of being agnostic</a> to anything, you should know by now Terraform is an incredible choice to work just letting you work on any platform, such as Azure, AWS, GCP, Digital Ocean, etc.</p><blockquote>If you learn terraform, you can deploy anything anywhere, not only for Azure.</blockquote><p>Using Terraform, you guarantee your infrastructure is going to be exactly as your code is. This is priceless. With that, you have full control of your infra. If John goes there directly on the Portal and creates some random resource and breaks production (which he shouldn’t have access to but hey, he is from business), just run your code again, and you will destroy his changes easily.</p><p>Although bicep is highly modulated and you don’t need to create files with parameters, tons of variables, and outputs (such as terraform), Terraform is even better at this when you use Terragrunt. <a href="https://terragrunt.gruntwork.io/">Terragrunt</a> is a tool that provides ways to keep your code dry even working with multiple modules of terraform.</p><p>Terraform is written in GO, while Bicep is built using .net. GO is also used to create tools like Kubernetes for some reasons:</p><ul><li>Better for microservices</li><li>Better to run low-level code</li><li>It is not windows-centered</li><li>Go is better to work in a polyglot environment</li></ul><h3>Conclusion</h3><p>When I say you should be agnostic, you must be aware of something: Terraform is NOT going to be the best tool every time. In my scenario, Bicep works better on one project. So, you should be agnostic to the point you can choose the best choice for your specific scenario, not to your own preferences.</p><p>ps: Both of them are free.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3aee2c1931f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Find Happiness Even When You Have to Work]]></title>
            <link>https://mateusclira.medium.com/how-to-find-happiness-even-when-you-have-to-work-e47878ed30ab?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/e47878ed30ab</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[happiness]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[work]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Wed, 18 Jan 2023 12:40:36 GMT</pubDate>
            <atom:updated>2023-01-18T12:40:36.794Z</atom:updated>
            <content:encoded><![CDATA[<p>First, if you entered here looking for a magical formula to be happy. Please, look somewhere else. Unfortunately, I’m not as good at potions as Hermione Granger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/0*pmlyP9lkZfpObv6i" /></figure><p>Plus, let’s talk about happiness, so we can decide how our professional and personal lives are influenced by it.</p><blockquote>However, we can manage to understand happiness to learn how to achieve it, even when it means something different to each other.</blockquote><h3>What is (and what is not) happiness?</h3><p>Know that feeling when you finish school? Or When you travel? Eat that food you were dreaming with? Get a higher salary? That is joy.</p><p>The difference between joy and happiness is that joy ends. It&#39;s a moment. So what can make you happy? Just yourself. How so?</p><blockquote>Happiness is a state of mind and the way you can achieve that is quite simple: having a healthy physical and mental routine.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*q3dB9oQi3yb5LZrD" /></figure><p>It seems like a joke, right? Let me explain that. The chemistry in our brain needs us to work out, sleep well, eat healthy food, don’t feel stressed all day long… That is just the way it is.</p><p>Know what we don’t need? Traffic, being yelled at by random people, eating junky food, spending hours on social media, and so on. The problem is: we get vicious on the dopamine they generate for us (yes, we love the joy).</p><blockquote>Remember: joy doesn’t bring us happiness, it normally put us away from it!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/0*EW5NuCE79n1KLa_s" /></figure><p>I’m going to use examples here to make it clear how to achieve happiness and not only joy.</p><ul><li>Junky food or fitness life?</li><li>Reading before sleep or zombie life on the phone?</li><li>Spending time with your parents or with the people from the work you are probably going to leave?</li><li>Meeting with your siblings and their kids or working on weekends?</li><li>Studying after work or drinking beer with coworkers?</li><li>Getting a new relationship every week or investing emotionally in the same one?</li><li>Waking up early to prepare a good meal or waking up late and feeling stressed?</li><li>Drinking a large amount of alcohol or doing a social and being cool to everyone?</li></ul><p>Don’t ever be ashamed of doing the right thing. Your friends might be judging you, and that is a sign that you are going down the correct path.</p><p>Remember, in today’s society you hardly see anyone happy. One of the reasons is everyone judges, and there is a lack of focus on a success routine.</p><p>The feeling you get only by doing the choices you deeply know are right, you are going to feel happiness. I can say, even struggling in life, having not the perfect health, and not the perfect salary yet, I’m starting to thrive in some aspects of life, and I can feel the happiness already because this feeling is not about the results, it is about the routine.</p><h3>Professional x Personal life. Pursuing happiness is bullshit?</h3><p>Well, still not an easy question to answer! Let me tell you something: Pursuing happiness is not bullshit. Now I need to explain it. You need to find your own way to be happy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*vQhCjIDlpH_dWdJJ" /></figure><p>I mean, the routine! You need to figure out what you need to feel happy! What is your dream? Is it having money? Is it, really? Or is it the freedom to travel and buy stuff? Think of it every day.</p><p>After thinking, try to create a routine to make your dream come true. Where does your job come in all this? Yes, we need the money. And yet, we must have balance in our lives.</p><p>Choosing your career is the most important thing you can do. However, if you are reading this and thinking “hey, I’m 30 or 40 years old, I’m done” please stop. You are too damn young!</p><h3>Humans aging better than wine</h3><ul><li><a href="https://aginggreatly.com/entrepreneurs-who-started-after-50/">22 Entrepreneurs Who Started After 50 | Aging Greatly</a></li><li><a href="https://www.mentalfloss.com/article/24688/10-people-who-switched-careers-after-50-and-thrived">10 People Who Switched Careers After 50 (and Thrived!)</a></li><li><a href="https://www.businessinsider.com/companies-started-middle-aged-50s-60s?op=1">8 famous companies started by people in their 50s and older</a></li><li><a href="https://www.marthastewart.com/8151490/women-founded-businesses-over-50">Meet Five Women Who Founded Their Own Businesses After They Turned 50</a></li><li><a href="https://okdork.com/successful-entrepreneurs-who-started-in-their-50s/">3 Billionaire Entrepreneurs Who Started in Their 50s</a></li></ul><p>The thing is, you just need to figure out the balance in your life. Doing a healthy routine you can manage, using that to create something that will make you closer to your dreams.</p><p>It doesn’t need to be opening a company, being an entrepreneur, or founding anything. You can just learn new things, invest your money and be a millionaire in a decade or two.</p><h3>Conclusion</h3><ul><li>Know yourself. For me, the perfect job needs to be a remote job. I would hate to wake up just to be stuck in traffic and this would stress me up. But for other people, seeing people could be fun.</li><li>Don’t worry if you still didn’t figure out some “dream”. Just live your best possible life. This will be a healthy one, you will understand the happy feeling will come.</li><li>Always listen to yourself. Even the people you love might hold you back or make a bad influence on you.</li></ul><blockquote>The most important: Routine.</blockquote><blockquote>Sometimes doing the thing you desire can push you away from the things you most want</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e47878ed30ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The reason you should be agnostic to any cloud/tool/language to become Senior]]></title>
            <link>https://mateusclira.medium.com/the-reason-you-should-be-agnostic-to-any-cloud-tool-language-to-become-senior-55b726296d66?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/55b726296d66</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[advice]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Sun, 08 Jan 2023 15:48:10 GMT</pubDate>
            <atom:updated>2023-01-08T15:48:10.242Z</atom:updated>
            <content:encoded><![CDATA[<h3>First, what does it mean to be agnostic?</h3><blockquote>It means you don’t believe there is or will be any technology that is the best for everything.</blockquote><p>Let me make that clear by bringing one example from my life. I was completely fine studying AWS (I have a basic certification already) and I’m already comfortable programming with Terraform. I was thinking Terraform was the best way to do IaC (Infrastructure as Code).</p><p>Turns out, during an interview, my manager asked me if I knew <a href="https://mateusclira.tech/be-aware-in-2023-bicep-is-growing-34296917113b">Bicep</a>. If you didn’t click the link you must be thinking “what the heck?” At least I was thinking that.</p><p>The thing is: when he explained why Bicep was good and the reason I was going to use it on the project if they hired me, my eyes were just glowing. I needed to learn Bicep. Terraform was no longer the one and true source of wisdom. In fact, Bicep has some advantages over Terraform.</p><p>In the end, being agnostic also means being open to the new possibilities you might be able to find only if you are not ignoring them by worshiping some technology.</p><h3>Let’s take Cloud as an example</h3><p>As a Cloud Engineer (DevOps, SRE, Platform Engineer) or whatever professional name you identify yourself with, you know you are not going to choose your own cloud provider. Perhaps you can even say your opinion, but the client is going to choose the best option for their pocket every time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k3Xpj1ocjWdwlRy2" /></figure><h3>So, should we learn them all?</h3><p>Hell no! Choose one to get started, learn how cloud services work, and understand how the network on the internet is used. However, be aware!</p><blockquote>Do not get enthusiastic about this first cloud of yours!</blockquote><p>Some people tend to feel passionate about the first thing they get to know. “Hey, I finally got it! So it might be because this cloud/language is the best!”. No, my fellow, you got it because you finally understood the fundamentals. And the point is, you can now understand every single cloud service!</p><p>Aaaand… the project is over, now we are going to change the cloud provider.</p><h3>Does this mean you should learn a new one all over?</h3><p>Again, no! You already got the point, there is no need to focus on learning any other architecture from the ground zero. Your mind should be able to map every app easily. I mean, google it and understand it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/0*flQv7VYoEDEqu1RQ" /></figure><p>There will be always some need, and you should focus your mind on resolving that need, not having all the services (and what they do) in your memory. For that, your hardest job is to understand:</p><ul><li>What’s going on?</li><li>What’s missing?</li><li>What does my client need?</li><li>Why it is not working?</li><li>What do I need to do so it can work?</li><li>What are the best ways to do it?</li><li>How to document it?</li><li>How to make it run automatically?</li><li>The list goes on…</li></ul><blockquote>The easiest thing is knowing the tool, the language, etc. You will need to learn something new now and then.</blockquote><h3>Conclusion</h3><p>No matter what you are learning, try always to go deep on the fundamentals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*yux_OxlWa25XC1_R" /></figure><ul><li>After you build a firm basis, it&#39;s easier and faster to learn about new technology in the same field;</li><li>The knowledge you’ve built is genuine, and you can use it to understand more than one tool, but the process;</li><li>This is the mindset of a Senior (Developer, Cloud Engineer, Architect, etc.)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55b726296d66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello World in Bicep: IaC made easy]]></title>
            <link>https://mateusclira.medium.com/hello-world-in-bicep-iac-made-easy-19417f08b16?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/19417f08b16</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 17:13:16 GMT</pubDate>
            <atom:updated>2022-12-30T19:07:02.917Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pTHtheFk2KalPsKl" /></figure><p>If you want to watch it instead of reading it:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwYyKgQhTksQ&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwYyKgQhTksQ&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FwYyKgQhTksQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/23d124c90f1b733d3638de4c4e2044fe/href">https://medium.com/media/23d124c90f1b733d3638de4c4e2044fe/href</a></iframe><p>If you want to copy instead of watching and reading it:</p><p><a href="https://github.com/mateusclira/bicep">GitHub - mateusclira/bicep</a></p><h3>What should be a Hello World in IaC?</h3><p>I will create an easy deployment example to get right to the point. Want to know what Bicep is first? Here goes my first article on this theme:</p><p><a href="https://mateusclira.tech/be-aware-in-2023-bicep-is-growing-34296917113b">Be aware in 2023: Bicep is growing</a></p><h3>Requirements</h3><ul><li>Azure CLI</li></ul><p><a href="https://learn.microsoft.com/en-us/cli/azure/install-azure-cli">How to install the Azure CLI</a></p><ul><li>Bicep install</li></ul><pre>az bicep install &amp;&amp; az bicep upgrade</pre><h3>What are we going to deploy?</h3><p>We are going to deploy an application. In Azure, we can deploy one application with the App Service. To deploy this app, we have 2 requirements: a storage account and an App Service Plan.</p><ul><li>App Service</li><li>App Service Plan</li><li>Storage Account</li></ul><h3>Deploying the Storage Account</h3><pre>param location string = &#39;eastus3&#39;<br>param storageAccountName string = &#39;test${uniqueString(resourceGroup().id)}&#39;<br><br>@allowed([<br>  &#39;nonprod&#39;<br>  &#39;prod&#39;<br>])<br>param environmentType string<br><br>var storageAccountSkuName = (environmentType == &#39;prod&#39;) ? &#39;Standard_GRS&#39; : &#39;Standard_LRS&#39;<br><br>resource storageAccount &#39;Microsoft.Storage/storageAccounts@2021-08-01&#39; = {<br>  name: storageAccountName<br>  location: location<br>  sku: {<br>    name: storageAccountSkuName<br>  }<br>  kind: &#39;StorageV2&#39;<br>  properties: {<br>    accessTier: &#39;Hot&#39;<br>  }<br>}</pre><p>Every parameter or variable is used to create our resource, which is the storage account.</p><ul><li>The first line: a simple parameter choosing the region we are going to use</li><li>Second line: this parameter uses string interpolation. This is the integration of our string with some strings we don&#39;t know yet. Another Concept here is the Object ID retrieving. The “resourceGroup().id” is getting whatever ID our resourceGroup has, and the “uniqueString()” transforms it into a Unique string.</li><li>@allowed is a Decorator. It is saying: the parameter “environmentType” can only be ‘prod’ or ‘nonprod’</li><li>storageAccountSkuName is a variable, and if “environmentType” receives the value prod, storageAccountSkuName will have Standard_GRS value, otherwise, Standard_LRS (cheaper).</li></ul><p>These creations of variables and parameters are useful because we are creating something that is going to be created again. Plus, we are using it for more than one project. On top of that, we are lazy and we like to copy ourselves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/0*Kik8HWpIQJtIXD9s" /></figure><p>So, the more we can modularise our code, the best! Speaking of that… I couldn’t stop noticing we have App Service and App Service Plan… This means we have room to create a module!</p><h3>Creating our first module</h3><pre>module appService &#39;modules/appService.bicep&#39; = {<br>  name: &#39;appService&#39;<br>  params: {<br>    location: location<br>    appServiceAppName: appServiceAppName<br>    environmentType: environmentType<br>  }<br>}</pre><p>This has the same structure as the creation of the resource. I mean, we are creating a resource here. Am I right?</p><p>The first line indicates the kind of deployment we are using.</p><ul><li>“module” means we have this code locally.</li><li>“appService” is how we are calling it on the code (we could call it whatever we want to).</li><li>‘modules/appService.bicep’ is the location where this function is getting the code from.</li></ul><blockquote>Be aware: in Bicep, the “= {“ needs to go on the same line here, because the language understands the end of the line as finishing the command.</blockquote><pre>param location string<br>param appServiceAppName string<br><br>@allowed([<br>  &#39;nonprod&#39;<br>  &#39;prod&#39;<br>])<br>param environmentType string<br><br>var appServicePlanName = &#39;test-launch-plan&#39;<br>var appServicePlanSkuName = (environmentType == &#39;prod&#39;) ? &#39;P2v3&#39; : &#39;F1&#39;<br><br>resource appServicePlan &#39;Microsoft.Web/serverFarms@2021-03-01&#39; = {<br>  name: appServicePlanName<br>  location: location<br>  sku: {<br>    name: appServicePlanSkuName<br>  }<br>}<br><br>resource appServiceApp &#39;Microsoft.Web/sites@2021-03-01&#39; = {<br>  name: appServiceAppName<br>  location: location<br>  properties: {<br>    serverFarmId: appServicePlan.id<br>    httpsOnly: true<br>  }<br>}</pre><p>This is the appService.bicep</p><p>I think the previous explanation is enough for you to understand everything here. However, here is my final tip: on the creation of the resource; we are also giving the location the same way we did in the module.</p><p>Have a closer look at ‘Microsoft.Web/serverFarms@2021–03–01’. This is the location where we call (by API) the appServicePlan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*u05MVgkmedGK788X" /></figure><h3>We now need outputs!</h3><p>Yes, how is the main code going to call the appService if this code doesn’t have any output?</p><pre>output appServiceAppHostName string = appServiceApp.properties.defaultHostName</pre><p>So, let’s turn possible to get the HostName of the appService! This needs to go on our appService.bicep</p><p>Now, we need to call it on our main.bicep:</p><pre>output appServiceAppHostName string = appService.outputs.appServiceAppHostName</pre><h3>Sounds good, let’s run it!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*k7EOE_eHoEX0fMiL" /></figure><pre>az deployment group create \<br>  --template-file main.bicep \<br>  --parameters environmentType=nonprod</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gw1kLdhXSn20gWt5Wlmk4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZT-2TT3CBUslcwvkcdov3g.png" /><figcaption>Portal Azure</figcaption></figure><p>So, it worked just fine! Try it for yourself!</p><h3>Conclusion</h3><p>We’ve deployed:</p><ul><li>App Service</li><li>App Service Plan</li><li>Storage Account</li></ul><p>With code. Just as we intended to. Grand finale for those who stay till the end:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*kJO_GbpOjlU0rCgt6YUOpA.png" /></figure><p>This extension on VSCode is a MUST. Follow me for more content on the cloud, DevOps, SRE, and so on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19417f08b16" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Be aware in 2023: Bicep is growing]]></title>
            <link>https://mateusclira.medium.com/be-aware-in-2023-bicep-is-growing-34296917113b?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/34296917113b</guid>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Wed, 28 Dec 2022 15:08:36 GMT</pubDate>
            <atom:updated>2023-01-07T12:01:08.172Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T53QleLz6Q5-csL2" /></figure><h3>So, what is Bicep?</h3><p>Do you know what ARM (Azure Resource Manager) is and understand that JSON templates are used for provisioning resources? So Bicep is this:</p><blockquote>It is a template language built from Microsoft to Azure.</blockquote><p>If you don’t know ARM, it is the service that’s used to deploy and manage resources in Azure. You can use the Resource Manager to create, update, and delete resources in your Azure subscription. You can interact with the Resource Manager by using many tools, including the Azure portal.</p><p>To interact with the ARM, we used to have only the JSON files, the same way we can interact on the AWS or GCP. Now, we have Bicep, which is a new Template Language.</p><blockquote><strong>If you want to see a tutorial, have a look here:</strong></blockquote><p><a href="https://mateusclira.tech/hello-world-in-bicep-iac-made-easy-19417f08b16">Hello World in Bicep: IaC made easy</a></p><h3>Why not use JSON?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z3iMgCquTqIE072f" /></figure><p>On the left, we see the Bicep file, and on the right side, we look at the JSON file. It is extremely easier to understand and use modularised code.</p><h3>Why use Bicep instead of other IaC tools?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/0*3KeSC_L9XqpHNqPr" /></figure><p>Azure-native:</p><ul><li>With Bicep, you’re using a language that is native to Azure. When new Azure resources are released or updated, Bicep will support those features on day one. When you use other third-party tools, it might take some time for new features to be defined in the tool set.</li></ul><p>Azure integration:</p><ul><li>ARM templates, both JSON and Bicep, are fully integrated within the Azure platform. With Resource Manager deployments, you can monitor the progress of your deployment in the Azure portal.</li></ul><p>Azure support:</p><ul><li>Bicep is a fully supported product with Microsoft Support.</li></ul><p>No state management:</p><ul><li>Bicep deployments compare the current state of your Azure resources with the state that you define in the template. You don’t need to keep your resource state information somewhere else, like in a storage account. Azure automatically keeps track of this state for you.</li></ul><p>Easy transition from JSON:</p><ul><li>If you’re already using ARM JSON templates as your declarative template language, it isn’t a difficult process to transition to using Bicep. You can use the Bicep CLI to decompile any ARM template into a Bicep template by using the bicep decompile command.</li></ul><h3>When not to use it?</h3><p>Multi-cloud:</p><ul><li>If your organization uses multiple cloud providers to host its infrastructure, Bicep might not be the right tool. Other cloud providers don’t support Bicep as a template language. Open-source tools like Terraform can be used for multi-cloud deployments, including deployments to Azure.</li></ul><h3>Conclusion</h3><p>Even though multi-cloud is becoming a trend, you should expect more use of Bicep in 2023, especially when you try to predict the future of the Market Share on the Microsoft Cloud Provider.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*bKtbQ0e5heuaPjUVXVnhsw.png" /><figcaption><a href="https://www.codeenigma.com/blog/comparing-aws-and-microsoft-azure-market-share-2021">https://www.codeenigma.com/blog/comparing-aws-and-microsoft-azure-market-share-2021</a></figcaption></figure><p>This trend remains. So, if you intend to deploy any project using only Azure, the best decision is to learn Bicep.</p><p><a href="https://www.channele2e.com/news/cloud-market-share-amazon-aws-microsoft-azure-google/">Cloud Market Share 2022: Amazon AWS, Microsoft Azure, Google Cloud - ChannelE2E: Technology News for MSPs &amp; Channel Partners</a></p><p>Want to know how to use Bicep? Follow me. I will create a tutorial teaching you how to create your first deployments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34296917113b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Never ask for a raise or a promotion]]></title>
            <link>https://mateusclira.medium.com/never-ask-for-a-raise-or-a-promotion-3a2f19627b2d?source=rss-511a6ecb6774------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a2f19627b2d</guid>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[career-development]]></category>
            <category><![CDATA[mindset]]></category>
            <dc:creator><![CDATA[Mateus Lira]]></dc:creator>
            <pubDate>Mon, 26 Dec 2022 15:07:15 GMT</pubDate>
            <atom:updated>2022-12-26T15:07:15.638Z</atom:updated>
            <content:encoded><![CDATA[<p>I mean, of course, you can discuss your salary if you are already doing a compensation discussion. But hear me out here and try to imagine what your boss might think.</p><p>There are 3 main reasons your boss would discuss your salary which are:</p><ul><li>You are doing more work than you should?</li></ul><blockquote>No, he is happy because you are efficient.</blockquote><ul><li>Your client gives frequently excellent feedback regarding your work</li></ul><blockquote>No, gladly you are doing your job right</blockquote><ul><li>Did you get yourself a degree or certificate? I think I don’t need to answer this one.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-ikzaWW1NOtPJOp0" /><figcaption>You can own a degree and be working for a driver’s app</figcaption></figure><h3>So, what makes a boss promote and give raises?</h3><h3><strong>Fear</strong></h3><p>Every boss is afraid an employee goes somewhere else. Nowadays, it is getting harder and harder to find IT people who can be a company&#39;s culture and technical fit. So, because of that, it is common trying to maintain their resources as hard as they can.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTulFqmYqEJc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTulFqmYqEJc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTulFqmYqEJc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/edd9f435af4f7a959e7a2e1fe1853cd4/href">https://medium.com/media/edd9f435af4f7a959e7a2e1fe1853cd4/href</a></iframe><p>In this video, Simon Sinek explains how hiring is basically finding a partner in a relationship. Think… that is not something you find every day, right? So, the company should fear you leaving, but how are they going to worry if you don’t value yourself?</p><p>The moment they got comfortable with you being where you are, not showing stoning progress, I’m sorry to say: you will not get a raise. Perhaps you can get a promotion with 2% raise as a “good boy” to go on if you are a good fit in the culture and are OK technically (but on a level they think they can easily replace you).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/0*TCT6CMpRwTF3cfw8" /></figure><h3><strong>Trust</strong></h3><p>This is subjective to build. You can create the perfect web app, a highly available app distributed across the globe, and still, get less paycheck than another coworker.</p><blockquote>If you are working for a dinosaur and you are a woman, you have an extra problem. There is an unsaid belief (which needs to be thrown in garbage) that companies can rely better on man (they don’t get pregnant, they don’t culturally take care of babies, and so on) but my point is not focusing on a culture problem here.</blockquote><p>Another way to earn trust is showing how you can endure under pressure, and for that, you need to pass over some challenging situations which will only exist over some time.</p><p>There is an enormous difference between the delivery of an application and being there to support the clients when everything breaks, taking care of the business while fixing the solution. Your boss needs someone like this, and this is not something you can see at an interview, or in one month of work. The more faith the boss puts in you, the more you are getting paid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*VXHNesCN3jE58PLM" /></figure><blockquote>Not always the best technically worker is the one who deserves the raise, but that one who can make the best technical decision out of the hard situations.</blockquote><h3>I’m working very hard and getting great feedback from my clients, why my boss is not giving me a raise?</h3><h3>- You only think you are working hard enough</h3><p>In that case, you should see your colleagues and their results. Be always aware of what they do. Please don’t get me wrong here. You must never undermine them. The better way to grow your own sense and learn is through collaboration.</p><h3>- You don’t know how to show your work</h3><p>Here I’m not meaning publishing on Medium or whatever you may be thinking. Endomarketing is extremely important, and it is something you need to work on.</p><p>Be aware that you are not supposed to be someone who self-promotes yourself posting on the general slack channel “Hey, I did this commit and it was outstanding”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/0*Iyq0RiFCZ27Jh2Hr" /></figure><p>However, you need to make them see you as the best version of yourself. They need to not only respect you, but whenever your results come, they already know they are good ones.</p><h3>- You seem too needy</h3><p>Although it hurts, this may be a reason for your boss subconsciously doesn’t feel the need to give you that raise. So, you are working hard and you show that. You do receive good feedback and still nothing? This may sound like the boss&#39; mistake (and it is) but you are a grown-ass adult. You can’t blame anyone for your life path, can you?</p><p>Lucky you, I can give you a hint on how to fix it. Are you going to like it? I promise you will love the result.</p><h3>So, feel like you do everything perfectly but your boss smelled your fear of losing your job?</h3><ol><li>Never stop doing your job perfectly</li><li>Start learning more than you need</li><li>Make everyone in your possible circle know how much you value yourself</li><li>Be careful, you got to be friendly but don’t get confused between empathy and sympathy</li><li>Embrace yourself with confidence by creating content, personal project, studying, reading, etc.</li></ol><p>Bosses are people, coworkers are people, and recruiters are people… learn how to deal with people and you are going to be fine.</p><p>And hey, next level? Read this.</p><p><a href="https://www.amazon.com/48-Laws-Power-Robert-Greene/dp/0140280197/ref=sr_1_1?keywords=48+laws+of+power+by+robert+greene&amp;qid=1667337265&amp;qu=eyJxc2MiOiIyLjcyIiwicXNhIjoiMi4wMSIsInFzcCI6IjIuMDMifQ%3D%3D&amp;sprefix=48+%2Caps%2C190&amp;sr=8-1">The 48 Laws of Power</a></p><h3>The result</h3><p>Either you got yourself a raise or another job with a better payroll and your former boss is spending a lot of time and money trying to hire and train your replacement to do a job you could easily do.</p><p>Funny fact, if you don’t get the raise soon enough, you are going to have the chance to choose between your new job and the old one, because your boss will realize it is less expensive to give you the raise.</p><p>The reason I’m saying this is that anyone who works properly and learns how to show it eventually thrives. It is impossible to get stuck working hard and knowing how people think.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a2f19627b2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>