<?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 Ryan Kirk on Medium]]></title>
        <description><![CDATA[Stories by Ryan Kirk on Medium]]></description>
        <link>https://medium.com/@KirkyKirax?source=rss-b002bde39087------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uAASsy2ILgb5V2jHMnFHEg.png</url>
            <title>Stories by Ryan Kirk on Medium</title>
            <link>https://medium.com/@KirkyKirax?source=rss-b002bde39087------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 12:32:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@KirkyKirax/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[Is DevOps Dead?]]></title>
            <link>https://medium.com/@KirkyKirax/is-devops-dead-58f6dd1e7b75?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/58f6dd1e7b75</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Mon, 02 Jan 2023 11:24:13 GMT</pubDate>
            <atom:updated>2023-01-02T11:24:13.423Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*OnX6RG4uID6OrYKu.jpg" /></figure><p>For the past 5 years, DevOps has been a fashionable term with teams and companies claiming they do DevOps, even though some arent necessarily doing it. It was first coined in 2007 where Operations and Software came together to form a hybrid set of distinct workflows that then became independent of both teams. Since then, branches of DevOps have appeared which focus on more specific areas creating a confusing minefield of what DevOps actually still does, along with if its now an old abstract concept, rather than what it used to be. A few of these branches came in the form of roles such as Platform Engineering, Site Reliability Engineering (SRE’s), and Operations Engineering which were birthed from the DevOps frameworks. There are plenty of arguments that the forming of these roles have actually made the role of DevOps obsolete.</p><p>In the distinctions between the roles, i would argue that DevOps is an all encompassing role, bringing together the elements of all the roles mentioned in this post. Is it dead? I dont think so. Not by a long chalk. <br>Companies who have more complex requirements, and or have larger estates to support and develop, may require more specific fields of DevOps, bringing about requirements for SRE’s and/or Platform Engineers etc. And this make sense. This is also assuming that companies are strictly following the skill set without responsibility creep which we commonly see, where engineers are responsible for things that a) Isnt in their skillset or b) should be out of their remit. It is also common for companies to hire in more specialist roles without the actual requirement. From my experience, i have seen solid engineers leave companies because they are ring-fenced and cant do what they brought their skillset to do. Which is a huge shame.<br>For companies and organisations that dont need these specialisms, a DevOps engineer almost always fits the bill. The benefit of being less specialised, from a role responsibility perspective anyway, is that the remit is wider, covering a lot more bases.</p><p>DevOps certainly is not dead. The same way that Software Engeering isnt dead because of the rise in AI and Machine Learning. Yes, requirements may shift both in a good and bad way, however it is a function that has really embedded itself within the tech space, and will be a long while before we see the reduction in this demand. In fact, it is still in the top in-demand roles within tech (<a href="https://www.itpro.co.uk/business-strategy/careers-training/354917/the-most-in-demand-tech-jobs">here</a>) so don fret.<br>For those hesitating about getting into this role due to being late to the party, dont worry. The role will still be around for a while yet, and while it will shift and morph with demands of the industry, the skills were be very transferable as well as good for an overall technical position.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58f6dd1e7b75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I asked ChatGPT ‘What is the future of Cloud Computing?’]]></title>
            <link>https://medium.com/@KirkyKirax/i-asked-chatgpt-what-is-the-future-of-cloud-computing-eac6580601bb?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/eac6580601bb</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[future]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Tue, 13 Dec 2022 13:02:20 GMT</pubDate>
            <atom:updated>2022-12-13T13:02:20.729Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nmExtOWR7IeXNcm5.jpg" /></figure><p>Disclaimer: This bit is hand written/typed by me. There have been a lot of articles about singing the praises of ChatGPT and is advanced capability. I have been playing around with it, and it certainly lives up to the hype. Therefore i decided to conduct an experiment and am going to post an article completely written by the ChatGPT bot about the future of cloud computing. The below has only been run once, and is completely un-altered. Enjoy.</p><p>Response: Cloud computing has come a long way since it first emerged in the late 1990s. In the past two decades, the technology has evolved from a niche concept to a mainstream technology that is used by millions of people and businesses around the world. As we move into the future, the role of cloud computing is only going to become more important.</p><p>One of the biggest trends in cloud computing is the move towards hybrid cloud solutions. A hybrid cloud is a combination of a private cloud, which is managed by a company on its own servers, and a public cloud, which is managed by a third-party provider. This allows companies to take advantage of the cost savings and scalability of the public cloud, while still retaining control over sensitive data and applications on their private cloud.</p><p>Another trend in cloud computing is the rise of edge computing. Edge computing involves bringing computing power and data storage closer to the user, rather than relying on centralized data centers. This allows for faster processing and improved performance, particularly for applications that require real-time data analysis.</p><p>The rise of the internet of things (IoT) is also driving the growth of cloud computing. As more and more devices are connected to the internet, the amount of data generated by these devices is increasing exponentially. Cloud computing provides a way for companies to manage and analyze this data, which is essential for making sense of the vast amounts of information generated by the IoT.</p><p>In the future, we can expect to see even more innovations in cloud computing. For example, there is a growing movement towards using artificial intelligence and machine learning in the cloud. These technologies allow companies to process and analyze vast amounts of data in real-time, providing valuable insights that can help businesses make better decisions.</p><p>Overall, the future of cloud computing looks bright. As the technology continues to evolve and become more sophisticated, it will become an increasingly integral part of how we live and work.</p><p>Conclusion: Also written by me. We can see from the above that the response is quite profound given a simple question and responding with a very comprehensive answer. My criticism would be that it does not include any hard data, which we humans go off for determining truthful sources. In my opinion this is a huge step in the way AI responds to Natural Language Processing (NLP), and is setting a very high bar. That being said, its going to be much harder in deciding if information somes from human or AI based sources. As proven above. Dont worry though, i will still be continuing all my articles from my experiences and knowledge!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eac6580601bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vital Lessons I learnt from adopting Kubernetes]]></title>
            <link>https://medium.com/@KirkyKirax/vital-lessons-i-learnt-from-adopting-kubernetes-60dea4f32f86?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/60dea4f32f86</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Sun, 27 Nov 2022 10:55:02 GMT</pubDate>
            <atom:updated>2022-11-27T10:55:02.359Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*hWrRahyv2qHNLTZb.png" /></figure><p>Kubernetes (k8’s) isn&#39;t necessarily the new kid on the block as its been around for quite a few years, but it is still what the cool kids use so there is the attraction to start using it. My team and I have spent the last 18 months drafting, developing, and deploying Kubernetes, and it hasn&#39;t been easy. Especially if you want to really bring the platform up-to-spec. We went full bore, bringing methods and technologies to our platform including: Helm, IaC through Terraform, and GitOps. This article will go through the various lessons that i learnt going through this process, which should help you decide whether Kubernetes is a good option for you, your team, and/or your organisation.</p><h3><strong>Know your use case</strong></h3><p>Kubernetes comes in all kinds of packages and services, and can be a minefield if you do not know your use case. Big cloud providers such as AWS, Azure, and GCP offer their own managed flavour of k8’s through EKS, AKS, and GKE. This takes a huge amount of management off of your team, offering a managed control plane, leaving you only worrying about the compute and application configuration. I say only, this is still a large amount of work. If you are after an on-premise solution, then you have a different sent of options through solutions such as Rancher, OpenShift, and Tanzu (if you’ve some $$ to spend). The on-premise solutions will require some more knowledge and configuration due to getting more involved in the setup. If budget is an issue, then you can really go in heavy with a fully stripped back implementation which is technically free, but requires a lot of knowledge and can be cumbersome in the future. Unless you are very well versed in the technology, i would not advise this. <br>Its no secret that the application world is moving into microservice architectures. However if your requirement is run a few small web applications, then is building a fully fledged k8’s platform really the best solution, especially within a cloud provider where you can use some of their more managed container services such as AWS’ Elastic Container Service through Fargate (<a href="https://aws.amazon.com/fargate/">fargate</a>). Dont create a technical rod for your teams back just to say you’re doing Kubernetes, your team wont rate you for it. Know your use case.</p><h3>It Takes Time</h3><p>In my experience, to really get a properly designed solution suitable to your organisation, onboard other teams within the business, ensure the process works, and start rolling out production services, you will need at least 18 months (depending on your team size and company culture). Unless you are a startup who has blank canvas without any technical debt or clunky applications. It is vital that you do not underestimate this. Although myfirstcontainer may only take a few hours work following a tutorial you found online, building the full solution with governance and guard rails is a different story. A few topics that we ran into along our journey were:</p><ul><li>Which deployment methodologies do we adopt</li><li>How do we manage security</li><li>Fault tolerance</li><li>Internal vs external application configurations</li><li>Container storage</li><li>How do we enable developers to safely develop on the platform</li><li>Change management</li></ul><p>Each one of these topics consisted of countless discussions, let alone the actual development. <br>Never over promise and under deliver. Give yourself sufficient time.</p><h3><strong>Upskill</strong></h3><p>Naturally, eventually, your team(s) will have to end up supporting the platform. This includes recognising and diagnosing errors, deployment issues, and developing/updating the platform. This requires your team to upskill (unless your team are already versed, then you’re in a good position). We know that engineers upskill at different rates which may be down to lack of time and capacity, speed of learning, and learning in different ways. Another thing never to underestimate is the time required for your team to upskill in Kubernetes. My advice would be to upskill as you develop, giving them maximum exposure to the platform and if this delays the platform by another 6 months, then so be it. You’ll be preventing a lot of headache further down the road.</p><h3>Do Your Research</h3><p>As with most things nowadays, there are plenty of ways to do Kubernetes. Do your research and see what other companies are doing. There are plenty of big organisations running Kubernetes (Netflix, Spotify, AirBnb to name a few). Do your research and see what lessons they learnt, how they configured their platform, and how they enabled development. Taking time to do proof-of-concepts of your own will provide you with larger success going forward.</p><h3>Get your Devs Onboard</h3><p>Your developers and software engineers are going to be consuming the platform, so getting them onboard is critical to Kubernetes success. A colleague of mine says ‘its like feeding deer’, which basically translates to giving them the platform slowly and carefully instead of just chucking it at them. We worked with our developers, taking onboard their requirements and issues with the platform as we developed, and building it into something that everyone is happy with. If your primary customers/consumers don’t like what you’re feeding them, the outlook is looking pretty bleak. Work with all the stakeholders, as it’s as much their platform as it is yours.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60dea4f32f86" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Know When Serverless is a Suitable Option for You]]></title>
            <link>https://medium.com/@KirkyKirax/how-to-know-when-serverless-is-an-suitable-option-for-you-c2f037a8214?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2f037a8214</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Sun, 23 Oct 2022 18:37:19 GMT</pubDate>
            <atom:updated>2022-10-23T18:37:37.378Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*W2Hcf-io6lv0uzm5.png" /></figure><p>Serverless has been around for a few years now but is still considered as one of the newer kids on the block with it still being a common topic at large tech conferences, blogs, and online video content . It is also thrown around as a buzzword within the Cloud industry, as many are. However that being said, serverless still very much has a place in cloud architectures due to its low barriers to entry, lower cost (for the most part), and removing the burden of Ops teams having to maintain and update infrastructure. However, as with most things, it still has to be a decision that bests suits your use case and/or business as you sometimes see companies throw all their infrastructure into serverless, to then migrate it back out 6 months later, which nobody wants to do. This article will go into when you should choose serverless, and to go in with your eyes wide open if you do.</p><h3>Serverless isnt Serverless</h3><p>An amusing mistake that is common amongst business leaders is that serverless does not mean it does not run on a server. It means that it runs elsewhere where the consumer i.e you, cannot see the underlying hardware, thus patching, updating, and managing infrastructure failures are a thing of your past. A seemingly obvious but commonly overlooked point.</p><h3>Serverless is not just a set scripts</h3><p>In its infancy, Serverless was the ability to run scripts. However nowadays, it has a plethora of services that form part of the serverless family from: message buses such as Kafka, relational and non-relational databases, and API’s. Understanding this, is key in your decision as again, its good to go into it with your eyes wide open. This being said, it doesn’t mean you have to use the whole suite but to reap all the benefits, using the family is a good idea for a true hands off experience.</p><h3>Despite what they tell you, it can get expensive</h3><p>Serverless is pretty cheap when it comes to consuming the services on a small scale. It just simply doesn’t make sense to run server technology if there are small services that don’t run very often. On the flip side, you really have to do some financials if you have an incredibly heavy set of services, as the cost can ramp up very quickly. Billing for serverless is a complex beast, with many small factors making up how much you spend. The big hitter is how much resource you consume. When you configure something like a Lambda function (AWS talk), you will allocate a set amount of compute resource, meaning that when it is executed it will automatically reserve this resource not matter how much you actually use e.g. 2GB RAM and 1vCPU. And that’s there the billing comes in. Now if you have a function that starts timing out at 15 minutes, then you are paying for 15 minutes of allocated resources. If you are running multiple, concurrent executions say 100 concurrent executions per second all timing out at 15 mins……expensive.</p><h3>You must know how to script</h3><p>One of the pre-reqs to adopting a serverless architecture through something like Lambda, is to be able to script in any of the support languages i.e Python, Powershell, Go, Javascript etc. If you dont know or learn how to write code efficiently, you will be hamstringing yourself from the off. Dont get me wrong, if you are using some like DynamoDB or API gateway instead of Lambda, scripting <strong>may not</strong> be essential but you should still learn for your own development in my opinion.</p><h3>You can cost optimize to bring costs down and increase efficiency</h3><p>As with anything on the platform, cost optimisation can be done. The slight spin on this, is that it can be done through the efficiency of how your code. As mentioned earlier, something like Lambda costs through the time of execution due to resource. Now, if you are able to execute the code at twice the speed, then you will incur half the cost. There are other configuration options such as running on ARM backend or reserving capacity to reduce these costs.</p><h3>You will have to keep your code updated</h3><p>When you deploy something like Lambda functions, you pick a runtime version for your code. As that version ages, it will eventually become out-of-support. The code will <strong>not </strong>stop being executed, however you will not be able to change the code within it. This therefore means that you will have to keep your code updated so that it continues to run with the later runtimes. It isnt huge but should still be an Ops considerations.</p><h3>Reduced overhead for operation teams</h3><p>If technical debt is a primary concern, then serverless is a great option for you. The overheard reduction potential that the architecture brings allows you and your engineering teams to focus on important development for your systems rather than constantly patching, fixing, and updating underlying infrastructures.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2f037a8214" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quicks Ways to Improve your Cloud Security Posture]]></title>
            <link>https://medium.com/@KirkyKirax/quicks-ways-to-improve-your-cloud-security-posture-723c228602bf?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/723c228602bf</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Sun, 25 Sep 2022 19:37:30 GMT</pubDate>
            <atom:updated>2022-09-25T19:37:30.043Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r3qCgKnSvWajRJdc.jpg" /></figure><p>Cloud adoption is usually rapid once a company or business decides to give the green. However in the flurry of deployments, one of the biggest items is left at the back. This is security. Ive seen it so many times where companies put systems into production, only to find its riddled with security holes, causing a huge reverse engineer effort, and that is if you have discovered the hole(s) before someone brings your site down or worse.<br>This article is going to go through some fairly simple ways to improve your cloud security posture on AWS from the get go, or whilst you already have an environment, whilst also gaining a better visibility on your platform.</p><blockquote>Please note that these services do cost. So please refer to the links provided in this article before enabling the service. Also these services do <strong>not</strong> prevent attacks on your platform, and merely provide mechanisms for you to identify potential attacks and configuration errors to ensure a more secure platform.</blockquote><h3>Config</h3><p>AWS Config tracks configuration changes on the platform, and can notify/alert on the higher impact changes. This gives a solid base for auditing and assessing your infrastructure in real time, whilst being aware of high level changes with further potential to then automate the response using something like a Lambda function. Config integrates nicely with a lot of AWS’ services, and provides a nice configuration change dashboard. Pricing <a href="https://aws.amazon.com/config/pricing/">here</a></p><h3>CloudTrail</h3><p>CloudTrail logs every type of service interaction that is available on the platform, and is the source of truth in the scenario of security incidents. It is a top recommendation to enable this service as one of the first things you do, to ensure that you have a record of what your platform is doing and when.<br>Pricing <a href="https://aws.amazon.com/cloudtrail/pricing/">here</a></p><h3>GuardDuty</h3><p>GuardDuty has been around for a while, however it does not reduce how useful this service is. GuardDuty is a one-click enable service, that starts looking at CloudTrail Logs, VPC Flow logs, and DNS queries. It has a complex machine learning backend that is managed by AWS, which then starts looking for anomalies and flagging them. It has a bunch of rules that it flags against ranging from CryptoMining, Potential Trojans, potentially hijacked EC2’s, and people who may have self-elevated their permissions.<br>Pricing <a href="https://aws.amazon.com/guardduty/pricing/">here</a></p><h3>Security Hub</h3><p>SecurityHub is AWS’ security and compliance centre. This service enables you to integrate with AWS’ security suite such as: Config, Guardduty, and Inspector.<br>SecurityHub is a great, easy, scalable service that will report on configurations on your platform against recommendations that the architects at AWS say you should adhere too. By having a list of non-compliant configurations separated by severity will allow you hone in on those big holes, bringing about a better security posture over time.<br>Pricing <a href="https://aws.amazon.com/security-hub/pricing/">here</a>.</p><p>Overall these are the services that i would recommend to get you started with improving the security posture of your platform, at least from a visibility standpoint. Let me know in the comments how you feel or if you use these services.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=723c228602bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Stand Out in a Cloud Engineer Interview]]></title>
            <link>https://medium.com/@KirkyKirax/how-to-stand-out-in-an-cloud-engineer-interview-7cc14e37dd8a?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cc14e37dd8a</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[success]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Mon, 19 Sep 2022 10:11:11 GMT</pubDate>
            <atom:updated>2022-10-23T18:39:54.427Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*MpPQ8eers5bXOa1o" /></figure><p>It goes without saying that careers in the Cloud space are growing at an exponential rate with the industry expected to be worth over $1 trillion by 2028 (<a href="https://www.globenewswire.com/en/news-release/2022/06/22/2467017/0/en/Demand-for-Global-Cloud-Computing-Market-Size-Share-to-Surpass-USD-1025-7-Bn-by-2028-Exhibit-a-CAGR-of-15-80-Cloud-Computing-Industry-Trends-Dynamics-Growth-Value-Analysis-Forecast.html#:~:text=%E2%80%9CAccording%20to%20the%20latest%20research,15.80%25%20during%20the%20forecast%20period">here</a>). This is great news for people who are, or aspiring to be, a cloud engineer (or something in that space such as DevOps, SRE, and Data engineering). However, with more demand means bigger competition for those top places. As a hiring manager myself, there are things that make an applicant stand out to me. This being said what stands out for me, may not be the same as someone else, but i’m going from my experience. <br>This article will go through skills, areas, and touches that will make you stand out in an interview for a Cloud Engineer position.</p><h3><strong>Infrastructure</strong></h3><p>It goes without saying that a lot of the average Cloud Engineer’s role will be deploying infrastructure into an environment. However, sometimes it seems it doesn&#39;t go without saying! Having a good understanding of how standard infrastructure works will give you a huge advantage not just in the interview, but in your role overall. These include:<br><em>TCP/IP Principles<br>DNS<br>Networking (Routing, Load balancing, Firewalls, WAN, and LAN)<br>Authentication (SAML, OIDC, MFA, OAuth)<br></em>If you don’t have a base understanding of the above, you’re already behind the 8 ball and a hiring manager will be able to see this. Ensure you get up to speed with the fundamentals so if for example you get asked to deploy infrastructure suitable to privately route layer 4 UDP traffic through a load balancer from on-premises, you will know that at the very least an Network Load Balancer (NLB in AWS) with potential for a site-to-site VPN, Direct Connect connection (if applicable), in combination of something like a Transit Gateway or Virtual Private Gateway the other end.</p><h3>Dress smart</h3><p>Im only 27 but i’m still kind of old school with this. Although i <strong>never</strong> hold it against the applicant if they decide to rock a hoody for the interview, it is certainly something that i notice if they turn up with at least a shirt on. Again, this is just an opinion thing but nobody ever gets slated for turning up wearing a shirt. At least as far as i know. Let me know in the comments how you feel about this!</p><h3>Get to know other cloud principles</h3><p>Having a high level understanding of principles used in other roles across the platform never hurts. In fact it will provide a key for success in your role as a Cloud Engineer. Imagine being put into a project team with Software engineer, and they are able to talk your language. Im talking infrastructure, networking, and security. It will make for a far more efficient process, less technical translations, and a respect and understanding for both sides requirements. <br>Therefore get to know what the difference between CI and CD is.<br>Get to know why you would choose an GraphQL API over Rest. <br>Understand why data engineers use certain types of databases, even if just out of curiosity. <br>You will find yourself being approached by all parts of the business for your opinion in certain design methodologies, opinions on certain projects and systems, and your opinion becoming highly regarded. It never hurts to learn, even if it’s high level.</p><h3>Come armed with a few questions</h3><p>This is an interesting one but coming to an interview armed with questions shows interest in either the company or role. Ive interviewed many people who don’t have a single question about the role, business, or tech stack. Again its not something i would hold against a candidate, but it definitely does show curiosity and interest. Due to this, at every stage of the interview process, i give them an opportunity to ask me some questions. I sometimes get technical questions but i also get more business and operating questions.</p><h3>Don’t exaggerate your skillset</h3><p>Any semi decent hiring manager will be able to tell if you have either lied or exaggerated your skillset, so keep it simple. If you have worked with something like Kubernetes but don’t have experience day-to-day activities in managing clusters, <strong>dont</strong> put in your CV that you have extensive experience operating the technology. It will never look good.<br>Keep it simple and be honest. A hiring manager with all the cards laid out in front of him/her will be able to make a more calculated decision. If you have a weakness in a certain part of the Cloud estate, be honest about it.<br>With so many ares and technologies in the cloud world, very often people will list every technology they have ever touched without any concrete knowledge of most of them.</p><p>This article has given some pointers to work towards in the interview stages, as well as going into the role of Cloud Engineer. Let me know your feedback comments below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cc14e37dd8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Get Into Tech]]></title>
            <link>https://medium.com/@KirkyKirax/getting-into-tech-6542322efc85?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/6542322efc85</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[tect]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 11:44:00 GMT</pubDate>
            <atom:updated>2022-10-23T18:48:07.534Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/489/0*PkCzqApSykGA31kS.jpg" /></figure><p>The demand for tech skills has never been greater than it is now. Requirements for tech experience such as programming, scripting, and data engineering is severely creeping into other industries and is now becoming a job requirement. A great example of this is Finance, where being able to query large data warehouses using languages and tools such as SQL and Python is very common.<br>With the pandemic putting a spotlight on the worlds reliance on tech for the now new generation of hybrid and remote working, professionals are now up-skilling, and even moving industries to become a part of this demand. However the question that is first asked to oneself is ‘where do i start?’. The tech world is a jungle with many avenues to go down, without actually considering the technology of choice. This article will go through these avenues from a high level, with skills required, difficulty levels, average time required, and technologies to look at / practice with.</p><h3><strong>Data Engineering</strong></h3><p>Data engineering has been growing exponentially in the last 10 years. The majority of large corporations now rely on data-led business decisions on a very large scale. This requires engineers at the coal face building and manipulating these systems to bring about the data that feeds into these decisions.</p><p>What Do Data Engineers do?<br>A data engineer manipulates and transforms data into a way that allows for analysis. This is done through various tools, languages, and methodologies.</p><p>Time and Difficulty:<br>I feel that data engineering has a few hurdles early on in the process, as a lot of it is based on the assumption that you are already versed in tech/some areas of tech. However once you get over these hurdles, you should be very much on your way.</p><p>What to Study?<br>- Start by ensuring that you have a basic — good understanding of how operating systems work, particularly linux. This will be a good foot hold going forward, without hitting an issue further on down the line. <br>- Look into databases and how they operate. This will be critical for your success going forward so most data paths lead back to database. Start by learning the fundamentals of how relational databases work, and then work on learning SQL as a language.<br>- There are varying languages that are good to learn along side SQL. Some examples: Python, Scala, R, Matlab, and Java. However it would be worth getting to know fundamentals of programming before diving into these languages as it will give you a very good foothold when tackling other technologies.<br>- Having a decent mathematical ability will also pay dividends, as quite a bit of data engineering relies on algorithms that are mainly mathematical based.</p><p>Resources;<br><a href="https://www.datacamp.com/courses/introduction-to-data-engineering?hl=GB">https://www.datacamp.com/courses/introduction-to-data-engineering?hl=GB</a><br><a href="https://www.udemy.com/topic/data-engineering/">https://www.udemy.com/topic/data-engineering/</a></p><h3>Software Engineering</h3><p>Firstly you really have to have a love of code as this will be you all day every day. Software engineering is a broad term but has many sub categories such as app development, software design and development, and database development.</p><p>What Do Software Engineers do?<br>Software engineers take in functional and non-functional requirements from a client or business, and translate these into working code.</p><p>What to Study?<br>Choose a programming language, preferably an object-orientated language such as Java or C#, and then just code as much as possible. This being said, pay special attention to the fundamentals of how to program rather than trying to memorise entire dictionaries of syntax. StackOverflow will always be there to help with syntax, but it wont necessarily when it comes to how you should code. By learning these fundamentals will allow you to translate into almost any language.</p><p>Time and Difficulty:<br>Software engineering is definitely one of the longest and hardest to get into due to the sheer amount of endless material, patterns, and concepts to go through. However dont let that put you off, as you are only as good as the amount of effort you put in. Pick your first language and stick with it, it <strong>does</strong> get easier.</p><p>Resources:<br>Some good resources to get started:<br><a href="https://www.codecademy.com/learn/learn-java">https://www.codecademy.com/learn/</a><br><a href="https://www.w3schools.com/">https://www.w3schools.com/</a></p><h3>Cloud Engineering</h3><p>Cloud engineering is a different kettle of fish. Firstly Cloud engineers have very broad responsibilities including cyber security, platform, infrastructure, networking, and operations. Many learn general concepts of how the cloud works and how to operate it, following by gravitating to specific specialisms for example some may find themselves better versed in Cloud security.<br>There are coding elements to cloud engineering through infrastructure-as-code such as Terraform, and Cloudformation. However these arent a necessity when starting out.</p><p>What Do Cloud Engineers do?<br>Cloud engineers will design, build, and stitch together potentially many cloud services to achieve a desired outcome. There are a million ways to achieve a requirement, but a good cloud engineer will find the most fault tolerant, better priced, and more performant efficient design. Cloud engineers also often manage and develop the underlying platform to allow developers to develop within the environments securely.</p><p>Time and Difficulty:<br>Cloud engineering definitely has the lowest barriers to entry due to the accessibility to the platform as well as many vendors offering free trials, free training, and endless ways of doing stuff. However the real difficulty is becoming that skilled, multi-platform engineer who has a deep knowledge of the full stack from the code, to scaling your infrastructure to deal with potentially millions of requests. Once you nail this, you will find yourself very much in demand.</p><p>What to Study?<br>Learning how basic compute infrastructure works is a great first step and is often missed out when people get into cloud engineering. This makes for holes in their designs later down the road, or a misunderstanding of how certain technologies work. Some focal points on this are:<br>- Server and Server operating systems<br>- Basic networking principles<br>- Cyber security <br>These will serve as a great stepping stone into the world of cloud engineering. After this you will have to pick you cloud of choice (kind of like picking your first Pokemon). The big 3 that people tend to choose from are:<br>- Google Cloud Platform (GCP)<br>- Amazon Web Services (AWS)<br>- Microsoft Azure<br>Its going to be a huge undertaking if you try to learn multiple vendors at once, so stick to one. You can then start learning how the platform works.</p><p>Resources:<br>- <a href="https://www.udemy.com/">Udemy</a> (what i personally used)<br>- <a href="https://acloudguru.com/">ACloudGuru</a><br>- YouTube</p><h3>Conclusion:</h3><p>We have gone through a few areas of tech. Dont get me wrong, there are so many that its impossible to cover them off but i hope this has given some advice for people starting off.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6542322efc85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Multi Region Networks — The Right Way]]></title>
            <link>https://medium.com/@KirkyKirax/aws-multi-region-networks-the-right-way-6cee13a88445?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cee13a88445</guid>
            <category><![CDATA[cloud-instructure]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Thu, 11 Aug 2022 07:34:08 GMT</pubDate>
            <atom:updated>2022-08-11T07:34:08.527Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS Multi Region Networks — The Right Way</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ylyr1BBY78rqr7G9.jpg" /></figure><p>As the use of cloud is expanding at its current rate, expanding cloud based datacentres into multiple geographic regions becomes somewhat of a requirement at some point down the road. This can either be due to a number of factors. The requirement could be from having a DR (disaster recovery region) for your applications, or it could just be brining your applications close to your users across the globe.<br>This article will go through the varying setup options that you could use depending measure against the varying use cases. As most things in cloud, one size does not in fact, fit all.</p><p><strong>Components discussed:</strong></p><p>Before we dive into the setups, we will need to ensure that you know the differing pieces of networking infrastructure used within AWS.</p><p><em>Transit Gateway</em> — The Transit Gateway is integral to scalable, multi region setups. Under the hood, it is a regional virtual layer 3 router that has the ability to hook into many different VPC’s, enabling a central point of traffic routing for inter-vpc traffic.</p><p><em>VPC Peering</em> — VPC Peering is a VPC configuration that joins multiple VPC together in a 1:1 fashion allowing singular connections. However, you cannot daisy chain VPC’s and expect traffic to traverse them in a transitive manner.</p><p><em>Route Table </em>— A route table is a instruction set for traffic which directs where it moves towards. You have control over these directions by adding routes into them.</p><p><em>Route 53</em> — Route 53 is AWS’ global DNS service and allows for varying DNS based routing options.</p><p><em>Direct Connect </em>— A low latency, private, dedicated connection installed from your on-premise into AWS. This can be varying bandwidth from 500Mb/s all the way to 100Gb/s.</p><p><strong>VPC Peering:</strong></p><p>If you need 2 separate VPC’s to be able to communicate, then VPC peering is a quick and easy solution. To get setup you just need to initiate a join request from the source VPC to the destination. This can be within the same AWS account, or cross account which gives nice flexibility. This is a great setup to sync data in a primary/secondary fashion across regions<br>There are considerations to this however:</p><ol><li>Don’t let this solutions become unwieldy — Once you have a few VPC’s connect in a hub and spoke type model, it can be tempted to keep adding on the existing solution. Before you know it, you have a jungle of VPC’s meshed together which creates technical debt and a bit of a nightmare to manage. Aka keep it for simple use cases</li><li>VPC Peering MTU Limitations — VPC peering has an MTU size limitation of 1500 bytes. Any packets that exceed this will be dropped by the backend AWS’s routers.</li></ol><p>Once you have established a VPC peer, then you will have to update your route tables to allow the flow of traffic. You will also have to put in a route within the destination route table for the source VPC to ensure a route back for the packets.</p><p><strong>Transit Gateway:</strong></p><p>AWS announced the Transit Gateway back in 2017 which, as mentioned above, is a layer 3 router that allows the 1:many configuration for hooking in hundreds of VPC’s allowing transitive routing between them. The Transit Gateway allows for the true hub and spoke model.</p><p>At time of writing, the Transit Gateway, like a VPC, is a regional product. However it does allow for Transit Gateway peering which Is an abstraction of the VPC peering in a way that you can then connect hundreds of VPC’s in a completely different regions over AWS’ high speed private backbone.</p><p>A Transit Gateway can integrate with other AWS networking products such as Site-to-Site VPNs, and Direct Connect.</p><p>Considerations to this setup:</p><ol><li>Costs — The Transit Gateway’s cost is done per GB processed. If you have applications that are planning to talk multi-region using a large amount of traffic, then this could become costly. Make sure you baseline your usage before diving in.</li><li>Knowledge — Transit Gateways are great, however not something to just be thrown in without at least a semi-decent understanding of the network topology and its limitations, as this could cause you issues further down the line.</li><li>The Transit Gateway allows for jumbo framed packets up to 8500 MTU.</li></ol><p><strong>VPN:</strong></p><p>For a low cost solution, and/or if security is the top priority, then using a VPN between the regions is a good shout. Due to being cross region, this traverses AWS backbone and should give you a decent speed.</p><p>Considerations of this setup:</p><ol><li>Latency — Obviously it goes without saying that a VPN provides latency degradation, albeit slight with todays technology. If latency is top of the list in terms of priority, then consider customising this with an accelerated site-to-site VPN, or refer to other methods.</li><li>Throughput — An AWS VPN has a maximum throughout of 1.25 Gbps. Therefore for high throughput applications, this may not be suitable.</li><li>Cost — AWS charge based up on VPN connection hours, along with AWS’ standard data in/out pricing model.</li></ol><p><strong>Route53:</strong></p><p>Route53 wont allow you to configure multi region networks, but can be a very useful tool in the multi-region arsenal. There are configurable options within Route53 that allows you to route users to various regions based upon:</p><ul><li>Latency Based Routing: This analyses, based upon the users request location, is the best region to send the request to. This is great for multi-region applications that are accessed over the internet, as it will always choose the fastest route to the user.</li><li>Geographic Based Routing: This is more deterministic, as Route53 will route requests based on purely regions i.e if the users requests originates in the US, then it will direct traffic to the US region, if request based in the EU, then the same but for the EU region.</li></ul><p><strong>Direct Connect Gateway:</strong></p><p>Give the scenario that have a dedicated Direct Connect connection from your on-premise, and want to span the connection globally without having to peer or manage any connections. This is where the Direct Connect Gateway (DXGW) comes in. The DXGW is a global service that allows you to hook in Virtual Private Gateways within any VPC in any region, and it will handle all of the routing for you by advertising the routes back to your on-prem routers. <br>This makes it especially easy to have a hub and spoke model of your on-premise having dedicated connectivity to private VPC’s all over the world at a low latency due to AWS high speed backbone. By doing this way instead of a Transit Gateway will reduce latency due to having to traverse your home region before then being routed elsewhere. (See below for an example provided by AWS)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/0*8E30jp_NFeLwBxIb.png" /></figure><p><strong>Conclusion:</strong></p><p>This article has given you a bunch of different methods for connecting regions together, as well as brining your applications close to your end users. Each sub-topic or service mentioned above warrants its own article to deep dive into the details, so we will keep this one high level for now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cee13a88445" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Optimising your AWS Elasticsearch/ELK stack for better Performance — Deep Dive]]></title>
            <link>https://medium.com/@KirkyKirax/optimising-your-aws-elasticsearch-elk-stack-for-better-performance-deep-dive-50c5e9b2d1bf?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/50c5e9b2d1bf</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[elasticsearch]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Sat, 16 Jul 2022 13:47:16 GMT</pubDate>
            <atom:updated>2022-08-21T10:14:42.001Z</atom:updated>
            <content:encoded><![CDATA[<h3>Optimising your AWS Elasticsearch/ELK stack for better Performance — Deep Dive</h3><p>You may or may not have heard of the ELK stack. This article will define what ELK is, and how to optimise the areas to get more bang for you buck. Specifically, this is for AWS hosted solutions using AWS Elasticsearch/OpenSearch. In technical layman’s terms, it is an open-source system that allows for data ingesting, processing, and visualising that is split into three elements:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*04-YQSqgbAKrdyWq.png" /></figure><ul><li><strong>E</strong>lasticsearch- Is the processing and storage element of the stack. This orchestrates the data into blocks of data known as indexes &amp; shards, and is the control centre of the stack. Elasticsearch also does the cluster orchestration for memory and compute resource balancing such as JVM Garbage collection, moving data between nodes, and dealing with memory pressure.</li><li><strong>L</strong>ogstash- Is the ETL (Extract, Transform, and Load) part of the stack, and is responsible for aggregating, transforming, and sending data on its way to be ingested by Elasticsearch. Logstash tends to run on separate compute to the rest of stack and can be built to be scalable.</li><li><strong>K</strong>ibana- Kibana is the top layer of the ELK cake that shows pretty dashboards and visualises data queries. This is usually the bit that the end users see.</li></ul><p>Now that we have the intro’s and definitions out the way. Lets deep dive into a small number of gotcha’s and optimisations that you can make for a more efficient setup.</p><h3><strong>Logstash</strong></h3><p>Starting upstream with Logstash. Logstash (as well as the rest of the stack) is a Java based app, and leans largely on the memory side of resource requirement.</p><p>1)<strong>Memory based nodes - </strong>The basic but probably most crucial. Be sure to give your logstash nodes a decent amount of memory per node for optimal performance such as the R6i, R5a, or R6g instance types in AWS. This is especially important if you meet any of the below criteria:</p><ul><li>Ingesting data from multiple sources concurrently as throughput is likely to be greater and your nodes</li><li>Ingesting multiple different types of data. This will put higher stress on your nodes as they attempt to transform multiple data types from different sources.</li><li>The data throughput is high</li></ul><p>2)<strong>Multiple Logstash Configurations -</strong>Separate out different logstash configurations for heavy data type/sources, and put them on their own node. This allows nodes to be solely focused on data streams that are either very high throughput, or require lots of heavy transformations.</p><p>3)<strong>Vertical Scaling - </strong>If you scale your nodes vertically, be aware that allocating JVM more than 8GB (for a 64 Bit system) could cause Garbage Collection (GC) issues and delays due to longer amount of time to run the process. Java by default allocates 50% of the physical memory to the JVM, so 16GB of memory per node would be the recommended limit as this would allocate 8GB to the JVM.</p><p>4)<strong>Horizontal Scaling - </strong>Following point (3), scale horizontally instead of vertically. This will allow more distributed processing using smaller nodes and should improve your performance. For extra points, tune your nodes to use AWS Autoscaling when data requirement picks up.</p><p>5) <strong>Batching- </strong>For higher serial throughput, change the <em>pipeline.batch.size: INSERT NUMBER </em>in the <em>logstash.yml</em> config file to be greater than the default of 125 records per request based on a single core. If you are running an 8 core node, then it will be 8 * 125 records in a single process iteration. This will allow the nodes to push a large batch of data in a single request, however be careful as this has more memory overhead, and if not implemented properly can cause the OOM to crash.</p><p>6) <strong>Persistent Queues- </strong>Enabling persistent queues in the <em>logstash.yml </em>config file using <em>queue-type: persisted </em>will mean that logstash will buffer data by writing to disk/filesystem before then being picked up for processing and sending. This acts as a buffer in times of high throughput and should keep your nodes balanced.</p><h3>Elasticsearch</h3><p>1) <strong>Distributed Computing-</strong> One of the main things that will speed up Elasticsearch, is to scale horizontally. More lower spec nodes is always better than less high spec nodes. This is due to the amount that the nodes have to juggle from replicating indexes and shards, to running queries against the data. Making use of the multiple availibility zones that AWS offer whill help with this, as it will handle all of replication and traffic distribution for you. By configuring your cluster in this way will take significant pressures off the nodes and allow them to work together in load distribution.</p><p>2) <strong>Node types- </strong>Like Logstash, Elasticsearch is memory hungry and requires memory based instances. In experience, I have found that the R5 instance class work well for the data nodes and M5 for the master nodes as the master orchestration requires a bit more CPU resource (more on this below). However, baseline your nodes properly against the volume of data that you have to process as there isnt a 1 configuration that fits all.</p><p>3) <strong>Master nodes-</strong> Elasticsearch give you the option of having Master nodes. This nodes are dedicated to balancing and running system and data administration in the back end. Basically they keep your indexes and data nodes in check. You dont have to enable master nodes, but for cluster stability purposes, its advised.</p><p>4) <strong>Graviton</strong>- Im personally a big fan of AWS’ own ARM chipset, Graviton. AWS Elasticsearch/Opensearch allow you to configure or move your clusters to Graviton nodes with a few clicks (R6g, M6g, and R6gd instance types). These offer you better price performance and (in my experience) give you better overall performances for your cluster.</p><p>5)<strong> Shards and Indexes-</strong> This is a real rabbit hole and worth an entire article in itself, however i will go through the basic rules of thumb when dealing with data. Aim for 25 shards maximum per GB of Heap Memory so a node with 30GB heap memory can have up to 750 shards, however the more you keep below this number, the better performance you will have. The other key point is to keep your average shard size to between a few GB and a few tens of GB as larger shards require more processing during replication.</p><p>You now have a pretty good set of general recommendations when dealing with ELK/Opensearch stacks. Obviously there isnt a solution that fits all use cases, so as mentioned before, baseline and play around to your requirements to get a proper result. However bearing the above in mind never hurts!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50c5e9b2d1bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Securely Share Files within AWS without a login]]></title>
            <link>https://medium.com/@KirkyKirax/how-to-securely-share-files-within-aws-without-a-login-dc648d7b0d26?source=rss-b002bde39087------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc648d7b0d26</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Ryan Kirk]]></dc:creator>
            <pubDate>Sat, 09 Apr 2022 09:40:25 GMT</pubDate>
            <atom:updated>2022-04-09T09:40:25.722Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*zUDqLXTywM_aa9-Z.jpg" /></figure><p>AWS is great for uploading and storing large files, however sometimes you may require to share it with someone or an organisation that sits outside your environment. This is especially true if these files are sensitive and you dont want to open your environment up by giving that person a login.</p><p>There is where AWS S3 pre-signing comes in. It allows you to generate a temporary URL that timeouts, but lets people download the specific file by embedding an hashed token within that URL.</p><h3>AWS Console:</h3><p>Up until a while ago, S3 did not have the option to generate pre-signed URL’s through the AWS console, requiring all signing to be done through the CLI.<br>1) Head into the bucket and select the desired file. Drop down actions and click ‘share with a presigned URL’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FijhvxpDriiVL1S0x4K_Ag.png" /></figure><p>2) Select how long you want your URL to be live and hit Create. This will automatically copy the link into your clipboard, ready for you to share.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B0T1zspESxlPsP4Y8j_Byg.png" /></figure><h3>AWS CLI:</h3><p>The AWS CLI also provides an easy (but not as easy) way of generating presigned URL’s.</p><ol><li>Put your API keys into whatever CLI tool you are using such as Mac’s Terminal or Windows Command Prompt.</li><li>You can always run a test to ensure you are in the right place by running: aws s3 ls</li><li>To generate the URL enter: aws s3 presign s3://example-bucket/yourobject.txt <strong>604800</strong></li></ol><blockquote>The highlighted number is the seconds that the URL exists for and is changeable.</blockquote><p>4. You will then have a presigned URL to copy and forward on to whoever needs it.</p><h3>Limitations &amp; Quirks:</h3><ul><li>The maximum lifespan for a presigned URL is <strong>604800</strong> seconds i.e 1 week if using an <strong>IAM User</strong></li><li>The maximum lifespan for a presigned URL is <strong>6 hours</strong> if using an <strong>IAM Instance Profile</strong></li><li>The maximum lifespan for a presigned URL is <strong>36 hours</strong> if using <strong>AWS STS (Secure Token Service)</strong></li></ul><h3>Things to Consider:</h3><p>Although S3 pre-signing is a great way to share files without having to manage SFTP sites or other dedicated upload/download areas, there are still a few things that you need to consider.</p><ul><li>The URL’s are alive until the duration is up, meaning that technically speaking, anyone who has that URL can download the file as they please or until the file is deleted. Bear this in mind when sharing sensitive material.</li><li>You let the URL’s loose into the wild and there is no way of tracking the use</li><li>Keep the expiry as low as you can to limit the threat vector</li><li>Great for one off sharing, but potentially needs a more sturdy implementation should there be plenty of sharing with multiple people i.e weighing up using locked down bucket policies rather than presigning all the time.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc648d7b0d26" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>