<?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 Alejandro gavilanes@TUI on Medium]]></title>
        <description><![CDATA[Stories by Alejandro gavilanes@TUI on Medium]]></description>
        <link>https://medium.com/@alejandrogavilanes_52986?source=rss-e5cb4e8d30b6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Kszfm-ZfZMvdWmPY.</url>
            <title>Stories by Alejandro gavilanes@TUI on Medium</title>
            <link>https://medium.com/@alejandrogavilanes_52986?source=rss-e5cb4e8d30b6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 06:03:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alejandrogavilanes_52986/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[The Power of Flexible APIs AWS AppSync]]></title>
            <link>https://medium.com/@alejandrogavilanes_52986/the-power-of-flexible-apis-aws-appsync-43ae98dc2d0d?source=rss-e5cb4e8d30b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/43ae98dc2d0d</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[aws-appsync]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[appsync]]></category>
            <category><![CDATA[rest-api]]></category>
            <dc:creator><![CDATA[Alejandro gavilanes@TUI]]></dc:creator>
            <pubDate>Thu, 20 Jul 2023 20:22:53 GMT</pubDate>
            <atom:updated>2023-07-20T20:23:49.952Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*ulQ_FVtcO2lZgE47_7KRBw.png" /><figcaption>The Power of Flexible APIs</figcaption></figure><p>Integration is a key part of any enterprise, with APIs being the bedrock of all modern systems’ data exchange.</p><p>REST APIs are great and are key components of lots of architectural patterns, but they are not the silver bullet. Over-fetching and under-fetching can create specific challenges for DevOps teams when evolving modern applications that require low latency and fast responses.</p><p>In this short video, we will compare REST and GraphQL, as well as look at how AWS AppSync can be an immensely powerful tool, for any DevOps team that wants to hit the ground running in a truly short space of time when needing to design a flexible API that can adapt the payload based on the consumers own request.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FNbk92q8S3Ag%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNbk92q8S3Ag&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FNbk92q8S3Ag%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/29c6af4dfa3bb3ca5d0df8eef349c5b0/href">https://medium.com/media/29c6af4dfa3bb3ca5d0df8eef349c5b0/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43ae98dc2d0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working in AWS CLI with different Profiles with MFA]]></title>
            <link>https://medium.com/@alejandrogavilanes_52986/working-in-aws-cli-with-different-profiles-with-mfa-2fa5543fa53a?source=rss-e5cb4e8d30b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fa5543fa53a</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws-cli]]></category>
            <category><![CDATA[aws-mfa]]></category>
            <dc:creator><![CDATA[Alejandro gavilanes@TUI]]></dc:creator>
            <pubDate>Mon, 09 Jan 2023 15:13:33 GMT</pubDate>
            <atom:updated>2023-01-09T15:13:33.857Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*5u8zCkVQFe-e4BuzONrbMA.png" /><figcaption>AWS CLI</figcaption></figure><p>Well AWS is great, but when it comes to using it day-to-day as your work tool there are some tips and tricks to get you working.</p><p>At my work, we use AWS heavily and resources are divided over multiple AWS accounts, which is good practice for security and limits blast radius.</p><p>However, this changes how you use the AWS CLI from your machine and requires some extra configuration to get working, especially when using MFA.</p><p>This can be frustrating, especially if there is no straightforward guide on how to set this up and work. Yes, AWS has extensive documentation, but sometimes you just need a simple step-by-step guide.</p><p>So here I will try and help you by creating a simple set-by-step guide I assume you have already installed AWS CLI on your machine, Have AWS account set up withMFA and have run the AWS Configure command.</p><h3>SET UP Steps</h3><p>example is on a Windows machine, but the same applies to Mac and Linux.</p><h3><strong>1. Find Config File</strong></h3><p>Navigate to path C:\Users\%USERNAME% and in this folder, you will see a folder called .aws</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-l1Y2bTKo4bOT9E9jw17_A.png" /></figure><p>If you can’t see this directory, try unhiding the setting on Windows explorer (here is how <a href="https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5">https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5</a>)</p><h3>2. <strong>Adjust Config file</strong></h3><p>Open the config file with a text editor like notepad++ or Visual Studio Code</p><p>The contentof file will look like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/1*PBRKVITH9T8ICWL1sY7L8g.png" /></figure><p>You now need to add the following in my case to line 5.</p><p>[profile YOURPROFILENAME]<br>role_arn = arn:aws:iam::ACCOUNTNUMBER:role/ROLE<br>source_profile = default<br>mfa_serial = arn:aws:iam::XXXXXXXXXXXXXXX:mfa/YOURTUIUSER<br>region = your region</p><p><strong>Example</strong></p><p>I have account 12345567 that is used for a mobile application called MobUltra and I have role account-admin</p><p>[profile MobUltra]<br>role_arn = arn:aws:iam::12345567:role/account-admin<br>source_profile = default<br>mfa_serial = arn:aws:iam::544321987:<a href="/service/mailto:mfa/don.jones@tui.com">mfa/don.jones@tui.com</a><br>region = eu-central-1</p><p>The mfa_serial you will find on your AWS account in your user in IAM. Also, in our case we will be using same credentials we set-up in previous steps for that’s why source_profile is set to default.</p><p>this is what the file would look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*OgJxMEhR2HSc6Azpkvtq6w.png" /></figure><p>PLEASE note — To get your mfa_serial you need to go to your AWS account and in you IAM user look at the Security Credentials</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*i-cwW3r42-HDmWTBQNwNYQ.png" /></figure><h3>3. <strong>Test on AWS CLI</strong></h3><p>Run command:</p><pre>aws s3 ls --profile MobUltra</pre><p>AWS CLI will prompt you for MFA code, enter the code and you now will get a reply like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*CJzQchjo3pHrKUQEnHShmA.png" /></figure><p>Tthat&#39;s it, you should now be able to use CLI with any AWS account on different profiles that use MFA.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fa5543fa53a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>