<?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 Keiran Holloway on Medium]]></title>
        <description><![CDATA[Stories by Keiran Holloway on Medium]]></description>
        <link>https://medium.com/@KeiranHolloway?source=rss-7c398d5c15a5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1xsVvNXcdy9CM3HuLGZMew.jpeg</url>
            <title>Stories by Keiran Holloway on Medium</title>
            <link>https://medium.com/@KeiranHolloway?source=rss-7c398d5c15a5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 03:50:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@KeiranHolloway/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[K-Swarm: Building a Robot Army for AI-Acclerated Software Engineering on AWS]]></title>
            <link>https://awstip.com/k-swarm-building-a-robot-army-for-ai-acclerated-software-engineering-on-aws-64bbcd6fbb6e?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/64bbcd6fbb6e</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ai-cloud]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Fri, 30 Jan 2026 09:02:13 GMT</pubDate>
            <atom:updated>2026-02-02T11:02:36.949Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Will it solve it? Who knows. It’s ambitious — but fun to try.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/0*l3OjWcnJyanTNJXK.png" /></figure><h3>The Problem Isn’t Code Generation. It’s Flow Control.</h3><p>Modern software delivery doesn’t fail because we can’t write code quickly enough.</p><p>It fails because <strong>work does not flow smoothly through the system</strong>.</p><p>GitHub issues pile up. Context gets lost. Senior engineers become bottlenecks. Work stalls overnight. Infrastructure drift creeps in because the console is “faster this one time.”</p><p>AI copilots help individuals type faster; but they do nothing to address:</p><ul><li>Queue depth</li><li>Context switching</li><li>Approval latency</li><li>After-hours idle time</li><li>Infrastructure discipline</li></ul><p><strong>K-Swarm</strong> is an attempt to treat software development as what it increasingly is: a <strong>distributed, event-driven system with human approval gates</strong>, not a sequence of artisanal coding sessions.</p><p>This is not autonomous AI.</p><p>This is <strong>workflow orchestration with AI workers</strong>, built deliberately on <strong>Amazon Web Services</strong> primitives.</p><h3>The Core Hypothesis</h3><p>Most day-to-day engineering work is formulaic:</p><ul><li>“Add endpoint X that does Y”</li><li>“Fix bug where Z happens”</li><li>“Update dependency A to version B”</li><li>“Refactor module C to match pattern D”</li></ul><p>The hypothesis behind K-Swarm is simple but uncomfortable:</p><blockquote>If a task can be clearly described, reviewed as a plan, and validated deterministically, then humans do not need to execute it step-by-step.</blockquote><p>Humans provide <strong>intent</strong> and <strong>approval</strong>.<br> Machines handle <strong>execution</strong>, <strong>scale</strong>, and <strong>availability</strong>.</p><h3>High-Level Architecture (AWS-Native by Design)</h3><p>K-Swarm is built as a <strong>hybrid serverless + elastic compute system</strong>. Not because it’s trendy — but because the workload is:</p><ul><li>Bursty</li><li>Queue-driven</li><li>Failure-tolerant</li><li>Naturally parallel</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*irbIKkHUryrfoN0w.png" /></figure><h3>AWS Runtime &amp; Platform (Service-by-Service)</h3><p>K-Swarm is implemented entirely on <strong>Amazon Web Services</strong>, using a mix of serverless control-plane components and elastic compute for AI workers. Each service has a narrowly defined responsibility.</p><h3>API Gateway — Secure Ingress</h3><p><strong>Amazon API Gateway</strong> provides the public HTTPS endpoint for GitHub webhooks.<br> It terminates TLS and forwards requests to Lambda after signature validation. No worker nodes are internet-facing.</p><h3>AWS Lambda — Control Plane Logic</h3><p><strong>AWS Lambda</strong> is used for all short-lived coordination tasks:</p><ul><li>Webhook handler for GitHub issue events</li><li>Approval Monitor (polls for plan approvals every 60 seconds)</li><li>Status and health APIs for the read-only dashboard</li></ul><p>Lambda is intentionally <em>not</em> used for AI execution due to runtime duration, memory pressure, and subprocess constraints.</p><h3>Amazon SQS — Work Queues and Backpressure</h3><p><strong>Amazon Simple Queue Service</strong> decouples ingestion from execution and provides natural backpressure.</p><p>Two primary queues exist:</p><ul><li><strong>Planning Queue</strong> — issues awaiting plan generation</li><li><strong>Execution Queue</strong> — approved plans ready for implementation</li></ul><p>Each queue has an associated DLQ, allowing failed tasks to be analyzed without blocking forward progress.</p><h3>Amazon DynamoDB — System of Record</h3><p><strong>Amazon DynamoDB</strong> is the authoritative state store for K-Swarm.</p><p>It tracks:</p><ul><li>Task lifecycle state and metadata</li><li>Worker heartbeats and liveness</li><li>Failure categories and retry history</li><li>Checkpoints for resumable execution</li><li>Repository-to-AWS role mappings</li><li>Cached prompts per execution phase</li></ul><p>All items use TTLs where appropriate to prevent unbounded growth.</p><h3>Amazon EC2 Auto Scaling — AI Worker Fleet</h3><p>K-Swarm execution workers run on <strong>Amazon EC2</strong> within an Auto Scaling Group.</p><p>Key characteristics:</p><ul><li>Instance types: t3.xlarge, c5.2xlarge, c6i.xlarge</li><li>80% Spot, 20% On-Demand for cost efficiency</li><li>Multi-AZ deployment</li><li>Workers poll SQS and self-assign tasks</li><li>Each worker reports a heartbeat every 2 minutes</li></ul><p>Workers are fully disposable; failures are isolated by design.</p><h3>Amazon Bedrock — Foundation Model Runtime</h3><p>All LLM inference is performed through <strong>Amazon Bedrock</strong>.</p><p>Different models are used for different phases:</p><ul><li>Planning uses a slower, higher-reasoning model</li><li>Execution and validation use faster models optimized for throughput</li></ul><p>Workers invoke models via the Claude CLI with Bedrock enabled, keeping model access abstracted from the application logic.</p><h3>AWS Systems Manager Parameter Store — Secrets Management</h3><p><strong>AWS Systems Manager</strong> Parameter Store is used for encrypted configuration:</p><ul><li>GitHub Personal Access Token</li><li>Webhook HMAC secret</li><li>Context7 API key</li></ul><p>Secrets are injected at runtime via IAM permissions — never hard-coded or baked into AMIs.</p><h3>Amazon S3 — Worker Artifact Storage</h3><p><strong>Amazon S3</strong> stores versioned worker scripts and supporting assets.</p><p>This allows:</p><ul><li>Rolling worker updates without AMI rebuilds</li><li>Reproducible worker environments</li><li>Rapid rollback of faulty worker versions</li></ul><h3>Amazon CloudWatch — Observability and Guardrails</h3><p><strong>Amazon CloudWatch</strong> provides system-wide visibility.</p><p>It captures:</p><ul><li>Per-task latency and success rates</li><li>Queue depth and scaling signals</li><li>Worker health and heartbeat gaps</li><li>Circuit breaker triggers and recovery</li></ul><p>Alarms are wired into scaling and failure-handling logic rather than human paging.</p><h3>Why This Layout Matters</h3><p>This architecture deliberately separates:</p><ul><li><strong>Control plane</strong> (Lambda, DynamoDB, SQS)</li><li><strong>Execution plane</strong> (EC2 workers)</li><li><strong>Inference plane</strong> (Bedrock)</li></ul><p>That separation is what makes K-Swarm:</p><ul><li>Scalable with backlog depth</li><li>Resilient to individual worker failure</li><li>Auditable and reviewable by humans</li></ul><p>And crucially — it keeps AWS as a <em>first-class architectural choice</em>, not an incidental hosting detail.</p><h3>From GitHub Issue to Pull Request (End-to-End)</h3><p>K-Swarm is activated by a simple trigger: a labeled issue in <strong>GitHub</strong>.</p><h3>1. Issue Ingestion</h3><ul><li>GitHub webhook hits API Gateway</li><li>Lambda validates HMAC signature</li><li>Issue metadata is normalized and written to DynamoDB</li><li>Task is enqueued to the <strong>Planning Queue (SQS)</strong></li></ul><h3>2. Planning Phase (High-Fidelity, Slow Model)</h3><p>A worker EC2 instance pulls the task and invokes <strong>Claude Opus via Amazon Bedrock</strong>.</p><p>The planning agent:</p><ul><li>Reads the repository</li><li>Greps relevant code paths</li><li>Uses Context7 + AWS MCPs for external context</li><li>Produces a <strong>human-readable execution plan</strong>, broken into subtasks</li></ul><p>Crucially:<br> <strong>No code is written at this stage.</strong></p><p>The plan is posted back to GitHub as a comment.</p><h3>The Human Approval Gate (The Only Place Humans Must Intervene)</h3><p>Approval happens <em>where engineers already work</em>: GitHub.</p><p>Options include:</p><ul><li>👍 reaction</li><li>@k-swarm approve</li><li>Subtask checkbox approval</li><li>Full plan editing</li></ul><p>The key design choice:</p><blockquote><strong><em>The GitHub comment is the source of truth.</em></strong></blockquote><p>At execution time, the worker re-fetches the plan. Any human edits are honored verbatim.</p><p>This creates a clean contract:</p><ul><li>Humans approve <em>intent</em></li><li>Machines execute <em>mechanics</em></li></ul><h3>Execution Phase (Fast, Disposable, Isolated)</h3><p>Once approved:</p><ul><li>Task is enqueued to the <strong>Execution Queue</strong></li><li>A worker pulls it and creates a fresh working directory</li><li>Repo is cloned into /tmp/work-{uuid}</li><li>A feature branch (k-swarm/issue-{N}) is created</li></ul><p>Execution uses <strong>Claude Sonnet</strong> for efficiency:</p><ul><li>Code changes</li><li>Tests</li><li>Terraform updates</li><li>Pre-commit fixes</li></ul><p>All subtasks commit to the same branch.<br> A <strong>single PR</strong> is created at the end.</p><p>No worker:</p><ul><li>Can push to protected branches</li><li>Can force-push</li><li>Can bypass branch protection</li></ul><h3>Stateless Workers, Stateful System</h3><p>Workers are intentionally dumb.</p><p>All durable state lives in <strong>Amazon DynamoDB</strong>:</p><ul><li>Task lifecycle</li><li>Worker heartbeats</li><li>Checkpoints</li><li>Failure analytics</li><li>Cross-account role mappings</li></ul><h3>Task State Machine</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/0*560pF4YembBub_rO.png" /></figure><p>Execution checkpoints allow recovery without re-planning:</p><ul><li>REPO_SETUP</li><li>BRANCH_CREATED</li><li>IMPLEMENTATION_COMPLETE</li><li>VALIDATION_PASSED</li><li>PRE_PR</li></ul><p>This matters because <strong>non-determinism is a feature, not a bug</strong>.</p><h3>Non-Determinism, Managed Explicitly</h3><p>K-Swarm makes no attempt to pretend AI output is reproducible.</p><ul><li>No fixed seeds</li><li>No replay guarantees</li><li>Multiple valid implementations are acceptable</li></ul><p>Instead:</p><ul><li>Validation is deterministic (tests, linters, Terraform plans)</li><li>Failures are categorized</li><li>Retries use bounded exponential backoff</li><li>Circuit breakers stop cascading failures</li></ul><p>This mirrors real distributed systems thinking — not ML idealism.</p><h3>Scaling Characteristics</h3><p>K-Swarm scales on <strong>queue depth</strong>, not human availability.</p><ul><li>EC2 Auto Scaling driven by SQS metrics</li><li>80% Spot, 20% On-Demand</li><li>Scale to zero when idle</li><li>Multi-AZ worker fleet</li><li>Stateless workers → no coordination overhead</li></ul><p>Compare that to hiring:</p><ul><li>Months of ramp-up</li><li>Permanent cost</li><li>Knowledge silos</li></ul><h3>Infrastructure as Code: Enforced, Not Encouraged</h3><p>Workers have:</p><ul><li>No console access</li><li>No click-ops</li><li>No shared credentials</li></ul><p>All infrastructure changes must:</p><ul><li>Be expressed in code</li><li>Pass Terraform validation</li><li>Go through PR review</li></ul><p>IaC discipline becomes a <strong>property of the system</strong>, not a team aspiration.</p><h3>After-Hours Engineering Is a Scheduling Problem</h3><p>Issues created at 17:00 don’t need empathy.<br> They need compute.</p><p>K-Swarm doesn’t replace global teams — it removes idle time:</p><ul><li>Immediate planning</li><li>Overnight execution</li><li>Morning PRs ready for review</li></ul><p>This isn’t about replacing humans.</p><p>It’s about <strong>collapsing latency in the delivery pipeline</strong>.</p><h3>What K-Swarm Will Not Solve</h3><p>Let’s be explicit:</p><ul><li>Novel architecture design</li><li>Poorly written issues</li><li>Missing tests</li><li>Political codebases</li><li>Ambiguous requirements</li></ul><p>K-Swarm accelerates <strong>execution</strong>, not <strong>thinking</strong>.</p><h3>Why This Matters (Even If It Fails)</h3><p>If K-Swarm succeeds, it changes how teams think about:</p><ul><li>Backlogs</li><li>Senior bottlenecks</li><li>After-hours productivity</li><li>Infrastructure discipline</li></ul><p>If it fails, it still teaches us something important:</p><blockquote>Most of the pain in software engineering lives in the workflow — not the code.</blockquote><p>Will it solve it?</p><p>Who knows.</p><p>But it’s ambitious.</p><p>And it’s absolutely worth trying.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64bbcd6fbb6e" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/k-swarm-building-a-robot-army-for-ai-acclerated-software-engineering-on-aws-64bbcd6fbb6e">K-Swarm: Building a Robot Army for AI-Acclerated Software Engineering on AWS</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The CrowdStrike IT Meltdown: What lessons can we learn from this event?]]></title>
            <link>https://medium.com/@KeiranHolloway/the-crowdstrike-it-meltdown-what-lessons-can-we-learn-from-this-event-9d04169ba53f?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d04169ba53f</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[crowdstrike-outage]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Mon, 22 Jul 2024 10:00:39 GMT</pubDate>
            <atom:updated>2024-07-22T12:02:52.780Z</atom:updated>
            <content:encoded><![CDATA[<h3>The CrowdStrike IT Meltdown: What Lessons Can We Learn From This Event?</h3><p>Some say that no publicity is bad publicity. In light of last week’s events, however, CrowdStrike might be feeling the full implications of that statement after transforming from a publicly listed company known primarily in tech circles to a household name overnight — and not for the most positive reasons. Due to a software update that was automatically deployed to their 24,000-strong, enterprise-heavy user base, CrowdStrike managed to disrupt point of sale systems, air travel, and banking operations at lightning speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3nH3Y8ZNKzPLSeWN" /></figure><p>In retrospect, CrowdStrike’s response to this event was mostly commendable. They took ownership of the issue and quickly embarked on a roadshow of apologies and remediation support. It was certainly a “bad day” for CrowdStrike. Companies generally get a single free pass on an event of this magnitude. However, the need to be careful with how they move forward. This incident offers a unique opportunity for the broader technical and IT security industry to learn from.</p><p>One observation from this event is that, being a security company, they trade in<strong> credibility and trust</strong>. One of the elements I found a little bit off was their attempt to downplay the level of recovery effort involved. The CEO was quoted as saying, <strong>“<em>The issue has been identified, isolated, and a fix has been deployed.</em>”</strong></p><p>…</p><p><strong><em>“Many of the customers are rebooting the system and it’s coming up and it’ll be operational,” he said, but added: “It could be some time for some systems that won’t automatically recover.”</em></strong></p><p>For engineers who understood the implications of the event, it was clear early on that manual intervention would be required. This manual intervention would require physical hands on keyboards, and any automated fix could not be automatically deployed. This was never going to be a quick process.</p><p>Whilst it is appreciated that CrowdStrike is a publicly listed company, using carefully crafted, word-smithed responses with broad-based distribution only sounds disingenuous to those ‘in the know.’</p><p>This is a time to eat humble pie, accept that you’re a company made up with humans who can get it wrong. Recovery gracerfully and avoid getting on the defensive or redirecting blame to other parties (eg, Microsoft).</p><h3>Key Lessons from the CrowdStrike Incident</h3><p><strong>Measured Response is Crucial</strong>: The impulse to react swiftly can be tempting, but decisions driven by emotion or recent events often lead to short-sighted solutions. It’s essential to approach crisis management with a well-considered strategy rather than knee-jerk reactions.</p><p>Going all Elon Musk — probably isn’t the most considered response:</p><figure><img alt="…perhaps going all Elon is not the best approach." src="https://cdn-images-1.medium.com/max/662/1*Ao4sAPTLgVsg3qeiTwY99w.png" /></figure><p><strong>Robust Communication Systems</strong>: Effective out-of-band communication is vital during significant disruptions. The failure to maintain robust communication channels can severely hinder incident response and resolution efforts. This event likely took out key infrastructure — a back for incident response is something every organisation should implement.</p><p><strong>Be Wary of Opportunistic Vendors</strong>: In the aftermath of such incidents, numerous vendors may seize the opportunity to market their solutions as the ideal alternative. If considering a switch, ask critical questions about how their products would prevent similar failures.</p><p><strong>Avoid Overcomplicating the Solution</strong>: There was some talk around introducing redundant endpoint protection. This would only exacerbate issues rather than resolve them. Adding complexity can double the risk and increase the workload for operational and security teams.</p><p><strong>Rebuilding Trust through Transparency</strong>: CrowdStrike is a company which has built itself upon taking adversity and making it a viable business. They must now focus on rebuilding trust with consumers. Security vendors operate by selling trust, and while CrowdStrike’s initial response was commendable, they need to be transparent about how they ended up in this situation. This involves answering tough questions and providing transparency into what went wrong. Accepting and addressing operational gaps can turn this into a learning exercise for the entire industry.</p><p><strong>Incremental Updates Are Best</strong>: The practice of rolling out all changes simultaneously is outdated. Embracing traditional deployment methods or modern CI/CD strategies, such as canary deployments, can mitigate the risk of widespread disruptions. CrowdStike are not alone here, but having agents which automatically update themselves on constumer end-points will always exhibit this behaviour. System Administrators need more control and this is somewhat uniform across lots of SaaS providers which deploy agents for greater insight.</p><p><strong>Increased Accountability for Security Vendors</strong>: Security companies must be held to higher standards, with greater visibility and offer more control over our production systems. The approach to categorizing updates — much like operating system vendors do — can help prioritize critical fixes and manage deployment windows. Security vendors must also make sure that they are following best-practices against the operating systems which they’re operating on this. This includes following operating system conventions (eg, installing programs into sensible locations) and gracefully handling error conditions. There was a great <a href="https://x.com/Perpetualmaniac/status/1814376668095754753">commentary on X around how the agent failed to handle this error condition satisfactorily</a>.</p><p><strong>Avoiding End-of-Week Updates</strong>: While not always feasible in a security context, avoiding updates on Fridays or near weekends can prevent unnecessary risks. System owners and operators should have the autonomy to determine their security posture based on their specific threat landscape, rather than having updates forced upon them.</p><p><strong>Prioritize Thorough Testing</strong>: Rigorous testing before deployment is essential. Software should adhere to the conventions of the host operating system and support resilient, immutable deployments to ensure reliability and security.</p><p>The CrowdStrike IT meltdown was a significant disruption, but it also serves as a valuable case study. The broader technical and IT security industries can learn much from how CrowdStrike handled the crisis. By understanding and applying these lessons, we can improve our systems, enhance our crisis response strategies, and ultimately build a more resilient digital future.</p><p>Before you go — if you’ve got this far you’ve hopefully seen some value in this article. I write and publish this content free of charge. The cost for reading it though? <strong>Please clap the article and click follow me</strong> — <strong>Think of this as a gentlemen’s agreement. The cost is nothing financial just a token of appreciation for the time taken to put this together. Thank you</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d04169ba53f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Avoiding Vendor lock-in? What a waste of time!]]></title>
            <link>https://medium.com/@KeiranHolloway/avoiding-vendor-lock-in-what-a-waste-of-time-03680b067e71?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/03680b067e71</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[vendor-management]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Fri, 02 Feb 2024 15:11:48 GMT</pubDate>
            <atom:updated>2024-02-02T15:11:48.233Z</atom:updated>
            <content:encoded><![CDATA[<p>The concept of vendor lock-in is a conversation that I seem be frequently having — or more importantly — how to avoid it?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*Vd8hxB826SPjuw9jhylU4g.png" /></figure><p>However — I’m going to let you into a little secret:</p><h4><strong>Lock-in is unavoidable</strong></h4><p>It is important to know that lock-in isn’t only the domain of cloud hyperscalers such as AWS/GCP/Azure. Lock-in takes any number of permutations including:</p><ul><li><strong>Application Vendors — </strong>Software applications which run your business always have a degree of lock-in.</li><li><strong>Hardware vendors </strong>— The hardware you run on will always have a unique architecture</li><li><strong>Technology selection</strong> — You’re almost certainly going to be using technology somewhere within your business that you haven’t created — you’re going to be tied to that, at least in part.</li><li><strong>Operating Systems —</strong> Are going to provide a level of lock-in which is hard to avoid</li></ul><p><strong>What about if I build it myself?</strong></p><p>Obviously some of the above can be engineered by building yourself; for example, your own application. However, Ultimately you’re going to have dependencies somewhere within your technology stack. Not to mention — you are simply creating a lock-in around having the rightly skilled engineers to build, operate and matain your services.</p><p>A common pattern which I’ve seen is seeking to adopt ‘cloud native’ approaches to operating in the cloud. The most frequently observed is using something like Kubernetes within a hyperscaler and avoiding any native cloud primitives (including running you own orchestrator).</p><p>The argument being, containers are portable right? And if I’m running the container orchestrator myself then I can just simply move to another cloud if I want to? <strong>Wrong.</strong></p><p>There are inherent primitives which will be adopted as part of your running environment. What about things like Identity and Access Management (IAM) or security groups? Even network topology and IP numbering is likely going to create a level of dependency.</p><p>It’s not uncommon for companies to allocate significant resources — time, money, and effort — in an attempt to dodge vendor lock-in, sometimes even before their product or service fully materializes. This preemptive aversion can lead to excessive spending and divert attention from what truly matters: <strong>creating and delivering business value.</strong> The irony is that, in many cases, the initial stages of development and deployment benefit from the stability and integration that comes with choosing a single vendor, suggesting that the fear of lock-in may be prematurely overstated.</p><p>Despite the challenges, the quest for cloud agnosticism remains a noble yet formidable goal for many organizations. Striving to design systems that are cloud-agnostic — capable of running across multiple cloud environments with minimal adjustment — is admirable but fraught with complexity. Such endeavors often require significant customization and abstraction, potentially diluting the unique advantages each cloud provider offers, including their highly optimized and innovative services.</p><p>In an ironic twist, organizations most vocal about their fears of vendor lock-in are frequently seeking expensive extended support contracts, displaying a paradoxical lack of agility needed to transition or adapt to new technologies. This scenario underscores a misalignment between the stated desire for flexibility and the operational realities that bind them to specific vendors or technologies.</p><p>Rather than fixating on avoiding vendor lock-in, organizations would benefit more from investing in robust continuous improvement processes.</p><p>Operating in a dynamic technological landscape demands agility, foresight, and a commitment to ongoing development. By redirecting efforts from lock-in avoidance to enhancing people, processes, and tools, companies can foster an environment ripe for continuous innovation. Key strategies include automating as many processes as possible, adopting a culture of frequent, incremental updates, embracing immutable infrastructure, and adhering to principles like those outlined in the 12-factor app methodology. Moreover, reducing the burden of undifferentiated tasks through platform as a service (PaaS) and serverless computing can significantly lighten operational loads.</p><p>While the specter of vendor lock-in will continue to loom in the tech industry, reorienting the conversation towards strategic flexibility, continuous improvement, and embracing the evolving technological landscape can provide a more productive and forward-looking path. By focusing on adaptability, leveraging the strengths of chosen platforms, and committing to an ethos of perpetual evolution, organizations can navigate the complexities of lock-in with confidence and agility.</p><p>Before you go — if you’ve got this far you’ve hopefully seen some value in this article. I write and publish this content free of charge. The cost for reading it though? <strong>Please clap the article and click follow me</strong> — <strong>Think of this as a gentlemen’s agreement. The cost is nothing financial just a token of appreciation for the time taken to put this together. Thank you</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=03680b067e71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS recertification: Is it worth it?]]></title>
            <link>https://medium.com/@KeiranHolloway/aws-recertification-is-it-worth-it-9f968040167b?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f968040167b</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Fri, 10 Nov 2023 09:31:49 GMT</pubDate>
            <atom:updated>2023-11-13T09:43:49.213Z</atom:updated>
            <content:encoded><![CDATA[<p>To provide some context — I’ve been using AWS in various capacity for over 9 years and my first AWS certificate was obtained back in 2015. Whilst I did recently recertify my AWS Security Specialty exam, I’ve not really done much study for AWS certification. In the past week, I recently shifted my focus to the Solution Architecture exams. As a warm-up, I first tackled the SA Associate certification — but was it worth it? <strong>Read on!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*_YiYdXH6sBhS-OBfi_b3GQ.png" /></figure><p>I must confess, my initial thoughts on AWS recertification were laced with a healthy dose of skepticism. The idea of shelling out more money to rehash what I believed to be old news seemed like a clever ruse by Amazon to keep my wallet on a string. Yet, as I journeyed through the recertification process, I discovered it was less about Amazon filling their coffers and more about filling the gaps in my AWS knowledge. It was an opportunity to dive into the platform’s evolving landscape and get hands-on with tools that were either nascent or nonexistent during my last certification. For instance, understanding the intricate capabilities of the AWS Network Firewall wasn’t just a box-ticking exercise; it was a deep dive into security excellence. There’s a silver lining to this cloud (pun intended), and it’s worth exploring the myriad benefits that AWS recertification can bring to professionals like myself who may have been initially cynical.</p><h4>Keeping Pace with Cloud Evolution</h4><p>Amazon Web Services (AWS) is an ever-morphing entity, frequently updated with new features and services. Recertification becomes a conduit to not only refresh one’s existing knowledge but also to get acquainted with the latest advancements. Take the AWS Network Firewall, for instance, a service that was perhaps a mere blueprint or a rudimentary feature during your initial certification days. Now, it’s a robust service that can shape your network’s security posture. Recertification opens up the avenue to learn about these innovations, ensuring that your skills are relevant and aligned with current industry standards.</p><h4>Staying Ahead in Security Practices</h4><p>Security in the cloud is not a static concept. It is an ongoing battle with new threats emerging daily. AWS recertification puts security best practices at the forefront, compelling professionals to stay ahead of the curve. What was considered secure a year ago might now be a vulnerability waiting to be exploited. By recertifying, you get to grips with the newest security protocols and learn how to implement them effectively within your infrastructure.</p><h4>Bridging the Knowledge Gap</h4><p>There is a significant difference between knowing a platform and mastering it. AWS recertification bridges the knowledge gap, transforming superficial understanding into deep expertise. It nudges you to learn about less-known services and features, expanding your AWS repertoire. This process ensures that you are not just re-learning what you already know but also fortifying your expertise with new insights and skills.</p><h4>Rediscovering AWS — through Hands-On Experience</h4><p>AWS certifications aren’t just about passing an exam; they often involve hands-on labs and real-world scenario testing. Recertification reacquaints you with this practical side of AWS. You don’t just understand the theory; you can apply it effectively. This hands-on experience is invaluable, making you more competent and comfortable with the AWS ecosystem.</p><h4>Conclusion</h4><p>While I entered the recertification process with a degree of cynicism, it wasn’t long before I realized its intrinsic value. AWS recertification isn’t just a monetary transaction; it’s an investment in yourself and your professional future. It’s about staying relevant, secure, and ahead in the fast-paced realm of cloud services. So, if you find yourself questioning the merit of recertifying, consider the manifold benefits — from mastering new features like the AWS Network Firewall to adopting the latest security best practices. In the dynamic cloud environment, such an investment is not just beneficial; it’s essential.</p><p>Before you go — if you’ve got this far you’ve hopefully seen some value in this article. I write and publish this content free of charge. The cost for reading it though? <strong>Please clap the article and click follow me</strong> — <strong>Think of this as a gentlemen’s agreement. The cost is nothing financial just a token of appreciation for the time taken to put this together. Thank you</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f968040167b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tacit Knowledge — The silient efficiency killer your Dev/Ops teams]]></title>
            <link>https://medium.com/@KeiranHolloway/tacit-knowledge-the-silient-efficiency-killer-your-dev-ops-teams-b87caf794140?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/b87caf794140</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Thu, 13 Jul 2023 15:21:22 GMT</pubDate>
            <atom:updated>2023-11-07T16:54:10.840Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tacit Knowledge — The silient efficiency killer in your Dev/Ops teams</h3><p>Technology plays a central role in shaping the trajectory of every business. Reliability, efficiency and scalabily are terms are common place in every infrastructure architecture discussion. However, even with the strategic important of technology — many organisations often struggle with day to day operational issues.</p><p>In any given operational team, and you will often find a a single, highly skilled and knowledable individual who can answer any question. These are commonly considered the ‘rockstar’ engineers are are frequently the high-performers. The underlying charaterisics though — is that they’re also the holder of significant “<strong><em>tacit knowledge</em></strong>”. They maintain the know-how in their minds which is often hard to articulate, quantify or pass-along. Unfortunately, this charaterics can also be the silent root problem of many technology operational issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*jJw2kvHmbMo20UiX0uMZ1g.png" /></figure><h3>Understanding Tacit Knowledge</h3><p>It’s essential to understand what tacit knowledge is; Coined by Michael Polanyi in the 1960s, the term refers to the knowledge we possess but find hard to explicitly describe or communicate. This type of knowledge is typically acquired through personal experience or social interactions and includes skills, ideas, insights, and intuitions.</p><p><strong><em>In operation teams, this can often be considered as “Tribal knowledge”</em></strong></p><p>For example, a seasoned DevOps engineer intuitively knows how to solve complex system issues by simply looking at an error message and, through their implicit understanding of the context, knows the solution. This instinctual problem-solving approach is a form of tacit knowledge.</p><h4>The Tacit Knowledge Dilemma in IT Operations</h4><p>In DevOps, tacit knowledge poses a critical problem because it’s personal and context-specific. Here are the key ways in which it contributes to IT operational issues:</p><ol><li><strong>Bottleneck in Knowledge Transfer:</strong> Tacit knowledge is often not documented. When experienced IT professionals leave an organization or move to other projects, their in-depth, ‘tacit’ understanding of the system often goes with them, leaving a knowledge gap. This gap can lead to operational inefficiencies, prolonged issue resolution time, and, in severe cases, system downtime.</li><li><strong>Reduced efficiency in day-to-day executation: </strong>If other team members have a fixed dependency on a single individual then the overall team output is substantially constricted.</li></ol><blockquote><em>Remember — The theory of constraints:</em></blockquote><blockquote><em>Maximum throughput of any process is limited by the bottleneck.</em></blockquote><blockquote><em>If a single person holds the knowledge to get something completed — they are a bottleneck</em></blockquote><blockquote><em>Any optimization outside of the bottleneck is just an illusion</em></blockquote><p>3.<strong> Hindrance to Automation: </strong>As businesses continue to rely on automation for improving operational efficiency, tacit knowledge presents a roadblock. Automated systems require explicit, codified instructions. The difficulty in converting tacit knowledge to explicit rules hampers the automation of complex tasks, slowing down IT process evolution.</p><p>4. <strong>Inhibiting Innovation:</strong> Innovation thrives when knowledge is shared freely, sparking new ideas. But the unarticulated nature of tacic knowledge impedes this free flow of ideas, stalling innovation.</p><h4>Mitigating the Impact of Tacit Knowledge</h4><p>While it may seem daunting to tackle tacit knowledge-related issues, several strategies can help:</p><ol><li><strong>Documentation needs to be a first-class — </strong>I maintain a mantra within the teams: “<strong>if it isn’t written down, then it hasn’t happened!</strong>” — This means that documentation is the key to everything. If you’re working on a task, then it isn’t complete until it is documented.</li><li><strong>Foster a Culture of Knowledge Sharing</strong>: Encourage employees to share their insights and experiences with the team. This could be through regular team meetings, mentorship programs, or collaborative problem-solving sessions.</li><li><strong>Invest in Knowledge Management Systems:</strong> These systems can capture, organize, and distribute knowledge across the organization. While tacit knowledge may not be easily documented, knowledge management systems can facilitate the conversion of tacit knowledge into more explicit, shareable formats. Maintain a single source of truth. Avoid duplication and everyone should know where knowledge lives. This knowledge should be democratized (which means don’t save technical documentaiton in word docs on your desktop!)</li><li><strong>Continuous Training and Upskilling: </strong>Regular training sessions can help employees gain the tacit knowledge of experienced team members. Simultaneously, upskilling programs can help to standardize the knowledge within the team, reducing reliance on individual members’ tacit knowledge.</li></ol><p>In conclusion, tacit knowledge can no longer be the silent elephant in the room when it comes to DevOps issues. By understanding and addressing the challenges posed by tacit knowledge, organizations can significantly improve their IT operations, ensuring they remain robust, efficient, and ready to drive business success. After all, in the ever-evolving IT landscape, knowledge is not just power — it’s progress.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b87caf794140" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud is supposed to remove undifferentiated heavy lifting… why are there so many *Ops ?]]></title>
            <link>https://medium.com/@KeiranHolloway/cloud-is-supposed-to-remove-undifferentiated-heavy-lifting-why-are-there-so-many-ops-7f94598ab37b?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f94598ab37b</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[finops]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Mon, 22 May 2023 09:32:58 GMT</pubDate>
            <atom:updated>2023-05-22T09:32:58.884Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cloud is supposed to remove undifferentiated heavy lifting… why are there so many *Ops ?</h3><p>You’ve probably heard of <strong>DevOps</strong> — the combination of Development practices and IT operations to shortern the software development lifecycle. It was the original of all the “Ops” disciplines.</p><p>Just when you thought it the cloud was supposed to make it easier for all — there seems to be more operations than you can point a stick at!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*KHW8uVDB9c5gP9czYizjsg.png" /></figure><p>Here’s just a few of them…..</p><ol><li><strong>GreenOps:</strong> Running sustainable (or at least carbon-netural) cloud environments…</li><li><strong>DataOps</strong>: An automated, process-oriented methodology, used by analytic and data teams, to improve the quality and reduce the cycle time of data analytics.</li><li><strong>SecOps (or DevSecOps)</strong>: Refers to integrating security practices within the DevOps process. SecOps involves collaboration between security, operations, and development teams.</li><li><strong>FinOps:</strong> Aims to bring financial accountability to the variable spending model of cloud, enabling teams to make business trade-offs between speed, cost, and quality.</li><li><strong>GitOps:</strong> An operational framework that takes DevOps best practices used for application development such as version control, collaboration, compliance, and CI/CD, and applies them to infrastructure automation.</li><li><strong>AIOps: </strong>Utilizes big data, data analytics, and machine learning to automate IT operations processes, including event correlation, anomaly detection, and causality determination.</li><li><strong>ChatOps:</strong> Leverages chat clients, chatbots, and real-time communication tools to facilitate how software development and operation tasks are communicated and executed.</li><li><strong>MLOps (or AIOps):</strong> Applying DevOps principles to machine learning algorithms. This includes continuous integration, testing, deployment, and monitoring of ML models.</li><li><strong>NoOps:</strong> The anti-ops! If you have too many ops, this is the one where we just stop doing it. I jest, but really it is the notion where you shouldn’t need to operate anything as the infrastructure is abstrated away that you shouldn’t need a dedicated operations team.</li><li><strong>BizOps:</strong> Integrates business IT systems with line-of-business or end-user systems to help organizations run smoothly. BizOps can also refer to a team or organizational function that uses data, analytics, and technology to deliver optimal business performance.</li><li><strong>HROps (or PeopleOps):</strong> Human Resources Operations, it focuses on creating a great employee experience using data and HR technology.</li><li><strong>SalesOps:</strong> Really? Is this really a thing? surely this is just product-based selling (y’know, the usual SaaS selling model). However, Apprently it is a real thing! Increasing sales productivity through reduced friction in the sales process through technology, process improvement and reporting.</li></ol><p>How much ops do you really need?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f94598ab37b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Securing Containers in AWS ECS: Everything you need to consider…]]></title>
            <link>https://awstip.com/securing-containers-in-aws-ecs-everything-you-need-to-consider-dabee4a2ee7a?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/dabee4a2ee7a</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Mon, 15 May 2023 13:22:51 GMT</pubDate>
            <atom:updated>2023-11-11T17:00:06.607Z</atom:updated>
            <content:encoded><![CDATA[<p>AWS provides a lot of different ways to run containers. In fact, listing <a href="https://www.lastweekinaws.com/blog/the-17-ways-to-run-containers-on-aws/">all the ways</a> in which <a href="https://www.lastweekinaws.com/blog/17-more-ways-to-run-containers-on-aws/">AWS let you a container </a>is not an easy feat! For now though, we’re going to focus on one: <strong>Amazon Web Services: Elastic Container Service (ECS).</strong></p><h4>Securing Containers on ECS…</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*cqIaoc6dHJNK87VlsSQKXg.png" /></figure><p>This post comprehensively covers what you need to think about when it comes to running containers within ECS. This intended to discuss security aspects from the bottom up covering:</p><ul><li>AWS ECS control plane</li><li>Underlying Infrastructure</li><li>Worker nodes (with both EC2 and Fargate)</li><li>Network Security</li><li>Identity and access management</li><li>Security best-practices within the container itself</li><li>CI/CD tooling and best practices using a DevSecOps approach</li></ul><h4>Control Plane Security</h4><p>Securing the control plane is crucial for maintaining a secure container environment. Some best practices include:</p><ul><li><a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-getting-started.html">Enabling AWS CloudTrail</a> for logging and monitoring API calls made within your AWS environment.</li><li>Using AWS Config to continuously assess, audit, and evaluate the configurations of your AWS resources. <a href="https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html">There are a number of AWS managed config rules for ECS</a> which you can enable relatively quickly to identify areas where security can be enhanced.</li><li>You can also look at limiting which IP addresses can successfully make calls to the AWS ECS API. See<a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_aws_deny-ip.html"> conditional policies which limit access based on source IP address.</a> Be aware of automated processes which may need to use this API (for example, autoscaling). Test this a lot in lower environments before promoting to production.</li></ul><h4><strong>Infrastructure Security</strong></h4><p>Securing the underlying infrastructure is essential for the protection of your containers. Consider the following practices:</p><ul><li><a href="https://medium.com/aws-tip/immutable-infrastructure-should-be-your-target-operating-model-for-servers-in-the-cloud-f28258444f00">Regularly patching and updating your operating systems</a> running your worker nodes and any associated software.</li><li><a href="https://aws.amazon.com/security-hub/">AWS Security Hub</a> to monitor and manage security alerts and <a href="https://aws.amazon.com/config/">AWS Config</a> automate compliance checks.</li><li>Using <a href="https://aws.amazon.com/guardduty/">Amazon GuardDuty</a> for intelligent threat detection and continuous monitoring.</li></ul><h4>Worker Nodes: Fargate vs. ECS</h4><p>General operational hygiene should be observed within the cloud. This includes things like:</p><ul><li>Do not hard code credentials where not necessary. This means using primitive such as <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM Roles</a> and AWS services such as <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html">AWS Secrets manager</a> or <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html">SSM parameter store.</a></li><li>Ensure that credentials are not long-lived. This means that they should be periodically rotated.</li><li>Use secure networking mode. I would recommend using ‘awsvpc’ which means that ECS creates and managed a separate ENI for each task. This means every task will get a unique private IP address within the VPC which can have security groups directly applied and provide enhances security at the container level.</li></ul><p>Both Fargate and EC2 launch types have different shared responsibility models. It is critical to understand your roles and responsibilities under each of these models.</p><h4>EC2 Worker nodes</h4><p>This could not be considered a comprehensive article of ECS security without the obligatory picture of the share responsibility model. It is very important to note though, that scope of responsibility does shift between EC2 workers and Fargate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/0*dePz8FRwSTKx8y80.png" /></figure><p>You will note that the responsibilities with EC2 focus on the virtual machine host itself. Areas which you need to consider:</p><ul><li>The IAM role which is attached to the EC2 instance should be as restricted as possible. Any task which runs on a worker node can inherent these permissions so this should be very limited. You can then grant permissions are required on a container basis using IAM roles defined in the task definition. This will override the EC2 IAM role.</li><li>Use an AMI which is provide enhanced security. The ECS Optimized AMI from AWS is a good starting point. There are other more security focused AMIs available too. For example: <a href="https://aws.amazon.com/bottlerocket/">Bottlerocket</a></li><li>Keeping the AMI is your responsibility too when using EC2. It is recommended that you have a mechanism in place to update your images on-boot or frequently replace images with updates applied. I am a strong advocate of <a href="https://medium.com/aws-tip/immutable-infrastructure-should-be-your-target-operating-model-for-servers-in-the-cloud-f28258444f00">automating this</a>.</li></ul><h4>Fargate Worker nodes</h4><p>Alternatively, with fargate the shared responsibility model shifts slightly with the worker node responsibility shifting to AWS. As result, this provides a higher level of isolation between tasks. Some of the best-practice which should be followed include:</p><ul><li>Limiting the permissions of the task role to the minimum required. This means that fine-grained permissions should be defined and applied that mature the requirements of the container code.</li><li>Ensure that you are running the latest fargate platform version. This may mean periodically recycling the task and ensuring that you specify the latest platform version.</li></ul><h4>Network Security</h4><p>Implementing network security measures helps protect your containers from potential threats. Some best practices include:</p><ul><li>Do not assign public/internet routable address space to tasks. Your ECS worker nodes should be sitting in private subnets only and using ‘awsvpc’ network mode. This means that every task will receive its own elastic network interface and private IP addresses. Be aware that small EC2 instance are limited to how many ENIs they can have attached and make sure you have enough free IP addresses within your CIDR network segment.</li><li>With your ECS worker nodes sitting in private segments services should only be exposed publicly sitting behind a network intermediary (for example, an Elastic Load Balancer). Tasks should never be directly exposed to the public Internet.</li><li>Restrictive security groups in conjunction with network ACLs should be used for limiting traffic and protecting your containers.</li><li>Employing <a href="https://aws.amazon.com/waf/">AWS WAF</a> (Web Application Firewall) to protect against common web exploits is recommended. There are also other third-party layer 7 firewalls which provide enhanced security. For example, Akamai’s <a href="https://www.akamai.com/products/kona-site-defender">Kona site defender</a>, Imperva’s <a href="https://docs.imperva.com/bundle/cloud-application-security/page/more/aws-plan.htm">FlexProtect</a> or CloudFlare’s <a href="https://www.cloudflare.com/waf/">WAF products</a>.</li></ul><h4>IAM Approaches</h4><p>Using Identity and Access Management (IAM) effectively is crucial for safeguarding your environment. There are a range of general best practices which need to be considered:</p><ul><li>Implementing the principle of least privilege for IAM roles and policies. This should consider worker nodes and permissions which are applied to containers.</li><li>Regularly auditing IAM roles, users, and groups for compliance. Users really should only be used of real humans signing into the environment. IAM roles should be applied to routine changes — your CI/CD Pipelines should be authenticating using <a href="https://medium.com/@KeiranHolloway/the-4-golden-tenants-to-avoid-long-lived-credentails-within-aws-508cc155fe0d">OpenID Connect to avoid the need for long-live credentials to be hard-coded anywhere.</a></li><li>Enabling multi-factor authentication (MFA) for all IAM users.</li><li>Use task execution roles for every task/container. This means that you can use very restrictive IAM Roles on the worker nodes and then have fine grain controlled applied at the container/task level.</li></ul><h4>Container Security</h4><p>To ensure security within the container, consider the following practices:</p><ul><li>Utilizing trusted base images and scanning images for vulnerabilities. <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Amazon’s ECS provives both basic and advanced scanning</a>. It is recommended that you use Amazon Inspector which can feed observed vulnerabilities to AWS EventBridge. From here you can be notified of events and work towards remediation.</li><li>Implementing runtime security measures, such as <a href="https://docs.docker.com/engine/security/apparmor/">AppArmor </a>or <a href="https://www.elephdev.com/cDocker/313.html?ref=addtabs&amp;lang=en">SELinux</a>.</li><li>Limiting resource usage to prevent resource exhaustion attacks. This is particularly important when it comes to CPU or Memory limits; ensure you are using hard limits.</li><li>Containers must be running in non-privilege mode. This includes running the container as a user other than root.</li><li>Ensure that you task definitions should not share the host’s process namespace.</li><li>Tasks/Containers should be limited to read-only access to root filesystem. This protects against attacks where malicious code is somehow uploaded or injected into a container and then executed.</li><li>Secrets should not be passed as container environment variables.</li><li>Ensure that metrics and logs are sent from the containers to a common logging platform. Examples of tools include: <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights.html">AWS Container Insights</a>, <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">CloudWatch Logs </a>or third-party tools like <a href="https://www.datadoghq.com/">Datadog </a>or <a href="https://www.splunk.com/">Splunk</a>.</li><li>If you are using ephemeral or persistent storage — ensure that this is encrypted.</li><li>Ensure that unencrypted and other insecure ports are not exposed from the container unnecessarily.</li></ul><h4>DevSecOps and CI/CD Tooling</h4><p>Incorporating DevSecOps principles into your CI/CD pipelines can help identify and mitigate security risks early in the development process. Identifying issues and remediating them in lower environment (shifting-left) is always a good approach to save you time.</p><p>Some examples of tools and practices include:</p><ul><li>Static application security testing (SAST) tools like <a href="https://www.sonarsource.com/products/sonarqube/">SonarQube </a>, <a href="https://www.microfocus.com/en-us/cyberres/application-security/static-code-analyzer">Fortify </a>or <a href="https://snyk.io/learn/open-source-static-code-analysis/">Snyk</a></li><li>Dynamic application security testing (DAST) tools like <a href="https://www.zaproxy.org/">OWASP ZAP</a> or <a href="https://portswigger.net/burp">Burp Suite</a>.</li><li>There are also open source container image scanning tools like <a href="https://github.com/arminc/clair-scanner">Clair </a>or <a href="https://github.com/aquasecurity/trivy">Trivy</a>.</li><li>Infrastructure as Code (IaC) security scanning tools like <a href="https://www.checkov.io/">Checkov </a>or <a href="https://runterrascan.io/">Terrascan </a>to validate your IaC repositories to mitigate risks.</li><li>Employing vulnerability and dependency scanning tools like <a href="https://docs.gitlab.com/ee/user/application_security/container_scanning/">Snyk </a>or <a href="https://whitesource.atlassian.net/wiki/spaces/WD/overview">WhiteSource</a>.</li><li>Security scanning with tools like <a href="https://cycode.com/introducing-container-secret-scanning/">Cycode</a> or enabling secret scanning within your code repository tooling (Eg, <a href="https://docs.github.com/en/code-security/secret-scanning/configuring-secret-scanning-for-your-repositories">Github Security scanning</a>).</li></ul><h4>Conclusion</h4><p>Containers provide a huge number of benefits and can speed up your organization. Maintaining the security of this infrastructure needs to remain at the forefront. Hopefully this article has provided a number of approaches on how to address this.</p><p>Before you go — if you’ve got this far you’ve hopefully seen some value in this article. I write and publish this content free of charge. The cost for reading it though? <strong>Please clap the article and click follow me</strong> — <strong>Think of this as a gentlemen’s agreement. The cost is nothing financial just a token of appreciation for the time taken to put this together. Thank you</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dabee4a2ee7a" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/securing-containers-in-aws-ecs-everything-you-need-to-consider-dabee4a2ee7a">Securing Containers in AWS ECS: Everything you need to consider…</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Immutable Infrastructure should be your target operating model for servers in the cloud]]></title>
            <link>https://awstip.com/immutable-infrastructure-should-be-your-target-operating-model-for-servers-in-the-cloud-f28258444f00?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f28258444f00</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[immutable]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Mon, 17 Apr 2023 14:11:35 GMT</pubDate>
            <atom:updated>2023-04-18T16:53:34.177Z</atom:updated>
            <content:encoded><![CDATA[<h4>What do I mean by immutable servers?</h4><p>Immutable infrastructure is something which has been around for a while now. However, let’s put a bit of meat on the bones and specifically enumerate what I mean by ‘immutable servers’. Some of the key characteristics include:</p><ul><li>A server is built once and it’s state or configuration does not change after it has been created. This also means persistent data cannot be stored within an Instance.</li><li>Instead of making updates or modifications to an existing server the current instance is destroyed and recreated with the new configuration.</li><li>The configuration of a server image is version controlled and stored within a central repository using Infrastructure as code (IaC).</li><li>Deployment of servers is automated and repeatable. There should be no human intervention required in the deployment process.</li><li>Servers are considered as disposable. They should be easily replaced and this should happen frequently.</li><li>There should be no need to sign into a server instance. Logging should be centralized and ‘break-glass’ access should only be used in actual emergencies.</li></ul><h4>What benefits does it give you?</h4><p>There are various benefits that this will give you including:</p><ul><li>Providing better reliability, consistency and scalability within the cloud.</li><li>Allows for better deployment practices. For example, blue/green deployment or canary patterns. No in-between state whilst updates are being applied</li><li>Enhance security. As server instances are not accessed by humans it bolsters the security of a given instance environment. Given the increased consistency you reduce the level of entropy being introduced into your environment.</li><li>Provides the ability to deploy new environments quickly and repeatably.</li><li>Creates known good deployment patters and enforces consistency across the fleet. Avoids the dreaded configuration drift.</li><li>Establishes a rollback process — if you make configuration changes which have adverse affect you can trivially rollback to a previous version</li><li>Encourages experimentation. Given you can build up test/dev environments which will identically mirror production you can experiment safely.</li><li>Avoids long-running instances which can get abandoned and/or forgotten about. This can introduce security concerns and unnecesary spend.</li></ul><h4>How can this be implemented?</h4><p>There are a number of patterns in which this can be implemented. The practice which I have the most experience establishes a CI/CD pattern for building and deploying a ‘golden AMI’. For this example, we will look specifically at how this can be done within AWS.</p><p>The high-level design for this approach looks along the following lines:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_paQ1gEWwrbRDONP" /></figure><p>The more detailed breakdown:</p><ol><li>All of your configuration including the IaC code, packer configuration and other dependencies (for example, ansible) are stored within a centralized code repository.</li><li>A jenkins job is trigger when all code is merged which results in the the configuration being pulled and a packer job being initiated.</li><li>Packer will create the golden AMI within AWS which can be used for future deployments.</li><li>A second jenkins job will then triggered to run the terraform to update the launch templates and an ASG upgrade will be triggered to replace all EC2 instances.</li></ol><p>This mechanism ensures that all instances are now running the latest AMIs which have been created in a consistent fashion.</p><p>It is worthwhile noting that this is particularly high-level and this flow is quite extensible.</p><h4>Extending on this concept…</h4><ul><li>As mentioned above, you can have any number of dependencies added to the repo. For example, you can use tools like Ansible to create more configuration within the EC2 instances. This can include things like hardening the Operating System, installing additional agents, scanning for vulnerabilities and ensuring all Operating system updates are applied at build time.</li><li>Adding detection mechanisms to identify non-compliance EC2 instances can be done through AWS config (or EventBridge etc). For example:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*zZUfOK1s4r51EzfkknLExA.png" /></figure><ul><li>Consideration needs to be given to any long-running instances sitting outside EC2 instances. My favourite approach for this is to change thinking and accept everything should be immutable. This means moving state and any persistent data out of the instances and into better suited data-stores (or, worst-case, use EFS).</li><li>Additional policies can be added to enforce more compliance. For example, if an EC2 instance is running for more than 30 days then another Jenkins job could be triggered to rebuild the AMI and recycle the ASG to ensure that stage instances are being terminated.</li><li>Logging needs to be centralized and remove it from the Operating System local disks.</li></ul><p>Before you go — if you’ve got this far you’ve hopefully seen some value in this article. I write and publish this content free of charge. The cost for reading it though? <strong>Please clap the article and click follow me</strong> — <strong>Think of this as a gentlemen’s agreement. The cost is nothing financial just a token of appreciation for the time taken to put this together. Thank you</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f28258444f00" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/immutable-infrastructure-should-be-your-target-operating-model-for-servers-in-the-cloud-f28258444f00">Immutable Infrastructure should be your target operating model for servers in the cloud</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FinOps: A comprehensive guide of the full spectrum]]></title>
            <link>https://medium.com/@KeiranHolloway/finops-navigating-the-world-of-cloud-cost-management-51da4ad6e060?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/51da4ad6e060</guid>
            <category><![CDATA[cost-optimization]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[finops]]></category>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 08:07:35 GMT</pubDate>
            <atom:updated>2023-04-14T09:18:46.809Z</atom:updated>
            <content:encoded><![CDATA[<p>FinOps has become the buzzword of the moment in the realm of cloud cost management. While cost governance and cloud optimization is not a new concept, the evolution of FinOps has captured the attention of many.</p><p>As someone who has spent a significant amount of time running cost-focused programs for customers, my thoughts on FinOps are continuing to evolve.</p><p>One observation is that FinOps programs often aims to be ‘all-inclusive’. As such, striving to consider the full total cost of ownership (TCO) for cloud environments. Arguably, this is the best and most comprehensive way to approach cost management within the cloud. This approach is also likely to be labour-intensive and costly to execute. Unless you are spending more than $10k/month on cloud or with the intention to increase, it is also almost certainly overkill.</p><p>In this post, I delve into the diverse spectrum of cloud management concepts and examine the development of FinOps. As with most things in the cloud, there is no ‘one-size-fits-all’ solution for FinOps. My goal is to demystify various approaches used. This should also offer guidance to help you determine the best strategy for your organization.</p><h4>Introducing the FinOps Spectrum</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XsDgfm5l95bQGtPujPnQDw.png" /></figure><h4>Tooling and visibility</h4><p><strong>What is it?</strong></p><p>Start by gaining visibility into your cloud costs on your respective hyperscaler. For AWS, there are native tools like <a href="https://aws.amazon.com/aws-cost-management/aws-cost-explorer/">Cost Explorer</a>. This tool will give you some insight around existing spend and potential cost optimizations. <a href="https://aws.amazon.com/premiumsupport/technology/trusted-advisor/">Trusted Advisor </a>can give some high-level ideas around where services can be optimized (or removed, if unused).</p><p>There are also other third party tools such as <a href="https://www.vmware.com/products/aria.html">VMWare’s Aria</a> (previously Cloud Health) and <a href="https://cloudcheckr.com/">CloudCheckr </a>which can provide a consolidated view around spend.</p><p><strong>Effectiveness: Low</strong></p><p>At this end of the spectrum the focus is largely around providing visibility and not necessarily policing spend. There are cost optimization changes which can be made. However, this needs to be measured against the cost of taking your engineers away from other tasks which may be more important to the business (such as releasing features and generating revenue!).</p><p>Optimizing for spend and cleaning up resources is good from an operational hygiene point of view. Make sure you factor in the time required to get context around resource usage. This will need to come from engineers and application builders — often the most contended resource in your organisation.</p><p>I find that visibility gives insight and drives awareness around cost. This doesn’t immediately result in cost reduction in your environment. However, it does establish good operational practices with cost appreciation.</p><p><strong>Effort: Low</strong></p><p>Any tooling deployed should be able to at least give you a starting point as to where you should look.</p><p>This activity is more about driving visibility and understanding of cloud spend. There are likely some ‘quick-wins’ identified through these tools. Executing against this should be prioritised against other revenue-generating activities that the teams may be working on.</p><p><strong>Cost Spend Profile: $ ($100s/month+ )</strong></p><p>The idea being that cloud spend should be top of mind without an active FinOps function. This mean, formalised FinOps team, processes or governance attached. Spend within the cloud will remain the responsibility of the teams operating there.</p><p><strong>What should you do now:</strong></p><ul><li>Consider how much wastage is within your cloud environment is acceptable. What does a 25–35% saving mean to your business? For example, if you’re spending $2500/month on AWS there isn’t significant value in doing ‘FinOps’</li><li>Decide if adding more work to your engineering team / application owners is worth the available cost-savings.</li><li>Educate engineers using the cloud about how they can view and understand cloud spend. This will allow empowerment and make cost conscious decisions around architecture practices.</li><li>Think about how you can automatically deliver cost reports and insight to consumers. This will help keep cost at the top of mind.</li></ul><h4>Cost Showback</h4><p><strong>What is it?</strong></p><p>Allocating cost to the teams and the cost centres responsible for the spend is a good cost management practice. Amazon Cost usage reports and <a href="https://aws.amazon.com/organizations/">AWS Organization</a> can help you with resource tagging. Resource tags allow spend to be attributed to teams to allow to understand their cloud spend.</p><p>Tools like <a href="https://www.vmware.com/products/aria.html">VMWare Aria</a> (Cloud Health) can help with building up cost perspectives on how much each team is spending within the Cloud. This is determined using resource tags so it imperative to have an effective tagging strategy.</p><p><strong>Effectiveness: Low</strong></p><p>To hold teams and individuals accountable for spend within the cloud you need to be able to track who is creating which resource. This is the cornerstone of any FinOps/Cost Management workstream at scale.</p><p>This item is considered low effectiveness. Whilst this will tell you who created the spend — this will not necessarily optimize cloud cost. This activity is to facilitate teams and individuals to understand their cloud spend. If it cannot be understood, then it cannot be managed.</p><p><strong>Effort: Low/Medium</strong></p><p>Tagging resources in principle is a easy thing to do. Yet, doing this with cloud resources already running can be time consuming. Part of this activity is tracking down who created the resource and then tagging correctly. Sometimes, this requires redeploying to make it stick. This is one of these topics which is important to get nailed sooner rather than later. The longer you leave it — the harder it is to address. This is quintessential technical debt and will grow overtime if left unchecked.</p><p><strong>Cloud Spend: $ ($100s/month+)</strong></p><p>Providing Cost Showback/attribution is important to get right. Irrespective of your footprint size within the cloud getting this right will make your life easier in the long run.</p><p><strong>What should you do now:</strong></p><ul><li>Establish a tagging strategy for cost attribution</li><li>Build out reports to report on who is spending what — make sure that these are periodically reviewed.</li><li>Educate engineers and teams around how they can be cost conscious. They should know how to access these cost reports.</li><li>Make the individual application/owners/teams responsible for their spending within the cloud.</li><li>Consider targets and budgets which these teams should adhere.</li></ul><h4><em>Infrastructure Optimization</em></h4><p><strong>What is it?</strong></p><p>Optimizing your Infrastructure by right-sizing compute, leverage reserved instances/capacity and savings plans. Consider using services like the <a href="https://aws.amazon.com/compute-optimizer/">Compute Optimizer</a> and<a href="https://aws.amazon.com/premiumsupport/technology/trusted-advisor/"> Trusted Advisor</a>. Some of the real world examples of what you can do around infrastructure include:</p><ul><li>Removing unused services (eg, unattached load balancers or EBS volumes)</li><li>Removing misconfigured resources (Deleting Elastic IP addresses)</li><li>Turning off unused EC2 instances</li><li>Deleting resources which are no longer required</li><li>Rightsizing Compute Instances</li></ul><p><strong>Effectiveness: Low/Medium</strong></p><p>The changes which are listed here can rapidly generating savings within your cloud environment. The majority of these are considered ‘optimization’ — taking spend out after it has started occurring.</p><p>Remember to get context from the application owners and cloud engineering teams to know what each resource are using for. The effectiveness of this approach generally yields good return on investment.</p><p><strong>Effort: Low/Medium</strong></p><p>You will need to distract developers and application owners away from their day jobs to implement changes. The good thing, it is relatively low effort as there shouldn’t be any need to rearchitect or change the way in which the cloud is used. For the most part, this should be looking at how resources have been deployed and considering how they are being used now. If they are no longer required, then they can be turned off and even destroyed.</p><p>The effort may increase where there are abandoned resources and finding the owner is tricky! Go back and think about Cost Showback and resource tagging!</p><p><strong>Cloud Spend Profile: $$ ($1000s/month+)</strong></p><p>The challenge that you’re often going to find is executing against these changes. Consideration needs to be given against how much wastage there is within a cloud environment to get an idea around how much saving is there. For example, it is not uncommon to find 25–35% wastage within any cloud environment. If your bill is $5000/month and you can generate more revenue through having your engineers working on releasing new feature, then there RIO may not be there to spend significant amounts of time.</p><p><strong>What you should think about:</strong></p><ul><li>Infrastructure optimization is one of the easier ways to quickly save money and is an early-stage activity within FinOps.</li><li>Every cloud environment that I’ve come across has some amount of wastage. This is typically at least in the region of 25–35% if your teams are not considering cost during design, implementation and on-going operations.</li><li>Tooling will give insight, but context from your engineering teams and application owners is needed to progress.</li><li>Remember, cloud engineers will need to do work to make savings. How does this impact their other deliverables? Saving money is good, but not if it impacts revenue generation!</li></ul><h4>Automation in situ</h4><p><strong>What is it?</strong></p><p>Deploying automation mechanisms to ensure that service operating in a cost-effective fashion. Examples around workstreams that I have completed using automation include:</p><ul><li>Tuning autoscaling tasks to ensure that spend is better aligned with usage. This can be through better scaling policies or looking at resource allocations for other compute jobs. For example, tuning Lambda functions to allocate an optimal amount of CPU/RAM. Tuning container resource allocations is another option.</li><li>Automating the shutdown of development or test environments outside of business hours. The <a href="https://aws.amazon.com/solutions/implementations/instance-scheduler-on-aws/">AWS Instance Scheduler </a>can be used to do this.</li></ul><p><strong>Effectiveness: Medium</strong></p><p>This can be a quite an effective way to save money within your cloud environment. The activities which are listed above (non-exhaustive) are using automation to stop cloud spend when services are otherwise not in-use.</p><p>If you consider a development/test environment which is running all month (assume 730/hours). This is only being used during the 40–50 hours/week when developers at work. Shutting these down reduces the monthly usage by around 60–65% which is immediate cost efficiency.</p><p><strong>Effort: Low/Medium</strong></p><p>The effort required to deploy these is at the lower end of the scale. Whilst some context is required (knowing when services are in use) it doesn’t need detailed, lower-level application knowledge. A generalist cloud engineer (or even external party) could deploy the AWS Instance schedule quickly and schedule shutdown windows.</p><p>Tuning other services requires cloud knowledge, but in-depth application knowledge and application re-architecture is not required.</p><p><strong>Cloud Spend Profile: $$ ($1000s/month+)</strong></p><p><strong>What you should think about:</strong></p><ul><li>These cost savings are generally modest for a low/medium level of effort. You can usually get quick RIO for the effort involved.</li><li>You do not need a complete FinOps practice to execute activities like this.</li><li>Communication to the team who use the cloud environment ahead of making these changes is key. You do not need to have application owners or key cloud engineers implementing.</li><li>Automation can be deployed in isolation of other on-going workstreams</li><li>Consider any pre-purchased capacity reservations or savings plans which negate this effort.</li></ul><h4>Third Party Consultancy</h4><p><strong>What is it?</strong></p><p>There are a lot of companies out there who specialise in running FinOps services. My current employer <a href="https://www.rackspace.com/en-gb/cloud/cloud-optimization">Rackspace</a> runs a lot of different cloud optimisation programs. FinOps being one of the various flavours.</p><p>The rationale behind using an external partner means that your teams can continue to focus on the building applications and revenue generating activities. FinOps can be time consuming and non-differentiation to your organisation can be run externally.</p><p><strong>Effectiveness: Medium/High</strong></p><p>This can be a highly effective technique. Using a third party vendor provides a unique perspective as they’ve frequently looking at bills from cloud providers. This means that they can share their learnings from doing this day in day out and provide expertise around operating in a cost-efficient way.</p><p>External providers operate in various ways:</p><ol><li>Providing expertise around what you bill should look like based on your existing use</li><li>Quickly identifying where your spending is inconsistent with peers in your industry</li><li>Identifying cost inefficiencies and coming up with strategies to rapidly address</li><li>Running cost governance/cost optimisation programs</li><li>Enabling teams to understand how best to architect with consideration for cost</li><li>Directly implementing cost saving changes</li><li>Consultation around advanced cost optimization techniques (outside the scope of this article).</li></ol><p><strong>Effort: Low</strong></p><p>From a cloud consumer point of view the effort is relatively low depending on the engagement. Speak with a third party consultant to understand how they can assist with FinOps.</p><p><strong>What you should think about:</strong></p><ul><li>Consultancies can operate at various levels. Think about where you are resource constrained and make sure that you’re working with a company who can meet you where you are at.</li><li>Consultancies can augment your team and the savings which are identified / executed against will often offset their consultancy costs.</li><li>Consider using a company which has a diverse range of experience across many hyperscalers. They can help with a broader knowledge base.</li></ul><p><strong>Cloud Spend: $$ — $$$$ (Thousands/month+)</strong></p><p>Depending on the consultancy and the level of involvement desired.</p><h4>Cost Governance</h4><p><strong>What is it?</strong></p><p>Throughout this article we’ve been talking about cost ‘optimization’ activities. Ie, workstreams to provide visibility of what is being spent in the cloud and then look at mechanisms to optimized spend. Cost governance is more focused on the long-term lifestyle changes around cloud consumption. This intended introduce regimented processes which will create rapid results but also make them stick. Cost governance will also introduce feedback loops to aide continual improvement.</p><p>I’ve written more details article around this:<a href="https://www.rackspace.com/en-gb/blog/focusing-just-cost-optimization-youve-already-wasted-money"> Focusing just on cost optimization? You’ve already wasted money.</a></p><p>The conceptional idea here is to establish a cross functional team responsible for spend practices within the cloud. This may dovetail into your existing <a href="https://docs.aws.amazon.com/whitepapers/latest/public-sector-cloud-transformation/building-a-cloud-center-of-excellence-ccoe-to-transform-the-entire-enterprise.html">cloud centre of excellence.</a></p><p>I have established this and integrated this for various enterprises over the years. This is considered the forerunner to FinOps. There is substantial value of a systemic cost-governance program. however, for many organizations this can be considered overkill.</p><p><strong>Effectiveness: Medium/High</strong></p><p>Establishing a cost governance board (CGB) has proven effective. This reframes how the stakeholders view consumption within the cloud. Cloud architecture and cost optimization are one and the same. During the design process cloud cost can be considered as a non-functional requirement. This means that cost is discussed as part of architectural practices and solutions are devised understanding the on-going financial implications.</p><p><strong>Effort: Medium/High</strong></p><p>Whilst this will deliver highly optimized cloud environments there is an overhead. Establishing a cost-governance board across all cloud activities is a non-trivial activity.</p><p><strong>Cloud Spend Profile: $$$ ($10,000s/month+)</strong></p><p><strong>What you should think about:</strong></p><ul><li>Do you have the necessary capabilities to establish a cost governance board?</li><li>Is there buy in across the business to establish a cross-functional cost governance board? Having a cloud management office or cloud centre of excellence established makes this easier to put in place.</li><li>Is the cloud spend sufficient enough to justify the overhead of a cost governance board?</li></ul><h4>Cloud Re-Architecture</h4><p><strong>What is it?</strong></p><p>We often see legacy workloads being transition into the cloud which comprises of a lift and shift. This is a quick way into the cloud, but it is also generally more expensive then running this within a legacy hosting environment. Persistent running costs add up quickly.</p><p>Taking advantage of cloud native primitives will almost certainly save you money, however, they require re-architecture which is an expensive exercise.</p><p><strong>Effectiveness: High</strong></p><p>Taking legacy applications running in static compute instances and recrafting these to take advantage of cloud native primitives is a good cost optimization approach. You can take your billing increment from hours or minutes to seconds or milliseconds per transaction.</p><p><strong>Effort: High</strong></p><p>Rearchitecting applications is significant work and rarely undertaken in the real world. This is very much an activity that can be characterized as ‘spend money to save money’. In this case though — the money is engineering time and effort. This needs to be considered against other areas where you engineers could be investing time.</p><p><strong>Cloud Spend Profile: $$$ ($10,000s/month+)</strong></p><p>This is not for the faint-hearted. Whilst this can be accomplished and it will save money on the long-term it is a lot of commitment and will make an enormous difference.</p><p><strong>What you should think about:</strong></p><ul><li>There is significant time required to rearchitect an application. Whilst this comes with big payoffs over the long-term there are large short-term costs associated with the work.</li><li>Rearchitecting comes with other benefits apart from cost optimization — disaggregating the monolith into separate microservices or using cloud native primitives allow for faster release cycles and reducing time to market.</li><li>This work will be distracting for the application owners. Consider how much this will slow down other development activities</li><li>Re-architecture does come with risk that needs to be managed</li><li>Remember <a href="https://en.wikipedia.org/wiki/Hofstadter%27s_law">Hofstadter’s law </a>— “It always takes longer than you expect, even when you take into account Hofstadter’s law” Development work always takes longer than expected as the unknowns are hard to predict for.</li><li>There could be a short-term period when two versions of the services are running new/old. Account for the double-bubble.</li></ul><h4>Complete FinOps</h4><p><strong>What is it?</strong></p><p>FinOps considers everything on this page and then some. The intention with FinOps is to consider every single aspect of financial operations end to end across all technology estates.</p><p>It comprises of all the above. Depending on who you speak to, FinOps is also intended to cover the wide array of governance aspects in the cloud which may touch on cost in any way, shape or form.</p><p>This quickly extends into all operational practices and operational excellence. According to some FinOps practitioners this means that it can be used to ensure that all services are operated in a consistent and governed way. This can result in it also extending across other disciplines including things like sustainability, security, reliability, performance, and architectural practices.</p><p><strong>Effectiveness: High</strong></p><p>This is highly effective but as it requires inputs from all other components it also requires a level of operational maturity to perform in a meaningful way.</p><p><strong>Effort: High</strong></p><p>This takes a level of maturity to implement and should be expected to be an extended project within its own right.</p><p><strong>Cloud Spend: $$$ — $$$$ (Thousands to Millions/month)</strong></p><p><strong>What you should think about:</strong></p><ul><li>Transition to utilizing a full FinOps approach will encourage operational maturity and ensure that you are getting the best cost optimization within the cloud.</li><li>This is intended to transcend across the cloud practices but also look at the entire operating model (spanning people, process and technology).</li><li>FinOps in its entirety is incredibly broad. Unless you have substantial spend within the Cloud — you don’t need everything.</li><li>Third parties consultancies and cloud management businesses can help you implement a FinOps program if you do not already have the skillset in house</li></ul><h4>Conclusion</h4><p>Throughout this post I have discuss various facets of FinOps within cloud environments and the various guises which it can take. There is no single ‘one-size fits all’ approach to FinOps and there are various aspects within your company to decide the best strategy.</p><p>Some of the key attributes have been discussed with this article and a summarizing table below should help guide you and your organisation around how to attack this topic.</p><p>Aspects which should be considered:</p><ul><li><strong>Operational maturity</strong> — Starting small, get tooling in place, determine how to attribute spend within your company and then continue to bolt in additional layers of governance as you mature. (Think: crawl, walk, run).</li><li><strong>Cloud Spend — </strong>Review your bills and understand both your bill today, and your anticipated trajectory. If your bill is within the hundreds and will likely end up in the thousands per month then you likely only want to adopt some of the early phases. Alternatively, if that trajectory is into the millions — act quickly. Getting cost governance and control in place early will save you significantly.</li><li><strong>Human Resourcing — </strong>Whilst tooling will get you part of the way, you need to focus on skills and knowledge around two areas. Firstly, around the cloud hyperscaler. You need access to knowledgeable cloud engineers and architects to be effective. Secondly, you will need access and time for the application owners and operators in the cloud to give you context around their business uses of the cloud.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*8caGKjup3uenCovqPFH_bQ.png" /></figure><p>In conclusion, I have also written a number of other articles related to this topic which can be found at:</p><ul><li><a href="https://medium.com/@KeiranHolloway/avoiding-common-pitfalls-when-running-a-cloud-cost-optimisation-program-c3da6d13f199">Avoiding Common pitfalls when running a Cloud Cost Optimization program</a></li><li><a href="https://medium.com/@KeiranHolloway/how-to-run-a-successful-aws-cost-optimization-program-6c057b08b15a">How to run a successful AWS Cost-Optimization Program</a></li><li><a href="https://www.brighttalk.com/webcast/11031/460626">Achieving cost optimization through containers and serverless technologies</a></li><li><a href="https://www.rackspace.com/en-gb/blog/focusing-just-cost-optimization-youve-already-wasted-money">Focusing on cost optimization? You’ve already wasted money</a>.</li></ul><p>Thank you for taking the time to read this article. <strong>If you have found value in it, please consider supporting me by liking and following me</strong>. As a content creator, I strive to provide valuable insights and knowledge for free, and your support means a lot. I<strong>t’s not about financial gain, but rather a way to show appreciation for the effort and time put into creating this content. So, let’s make a gentleman’s agreement — you keep reading and learning and liking my posts</strong>,<strong> and I’ll keep sharing my expertise with you.</strong> Thank you for your support!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51da4ad6e060" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Avoiding Common pitfalls when running a Cloud Cost Optimization program]]></title>
            <link>https://medium.com/@KeiranHolloway/avoiding-common-pitfalls-when-running-a-cloud-cost-optimisation-program-c3da6d13f199?source=rss-7c398d5c15a5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3da6d13f199</guid>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[saving-money]]></category>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Keiran Holloway]]></dc:creator>
            <pubDate>Thu, 09 Mar 2023 17:10:44 GMT</pubDate>
            <atom:updated>2023-03-10T09:38:45.134Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*YUmL6cK-0987XMG_PhI1wQ.png" /></figure><p>I have authored a peice around How to run a succesful <a href="https://medium.com/@KeiranHolloway/how-to-run-a-successful-aws-cost-optimization-program-6c057b08b15a">AWS Cost-Optimization program</a> in the past. This article is a follow-up on this, to discuss common mistakes and pitfalls.</p><p>This covers the key misteps that I’ve observed in my time working with AWS.</p><h4><strong>Stop doing optimization and start doing cost governance</strong></h4><p>If you’re commencing a cost optimization activity within your organization then I have bad news for you: <strong>You’re already wasting money.</strong></p><p>When operating in the cloud, the concepts of cost and architecture are effectively the same thing. Ensuring that you have good architecture practices in place that considers cost is critical.</p><p>Your cloud team should be oriented for good cost decisions up-front which will save you money. This means good architecture decisions. This will also save you time as you will not need to go back to unwind design decisions which were cost ineffective.</p><h4><strong>Failing to understand the recommendations</strong></h4><p><a href="https://medium.com/@KeiranHolloway/how-to-run-a-successful-aws-cost-optimization-program-6c057b08b15a">As per my last blog post</a>, the first step is to look at the recommendations being provided and drawing sensible conclusions. Cloud Management platforms (such as Cloud Health) and associated tooling will provide recommendations. These recommendations are provided without context. This means that they could be wrong. For example, recommedantions around downsizing EC2 instances takes into account performance data available. Chosing to act on these recommendations without context could have a material impact on service availability.</p><p>I fondly reflect on a customer that I was working with who looked at AWS cost saving recommendations and decided to remove 300 “unused” elastic load balancers</p><p>They were considered “‘unused” because they’d had a very small number of hits and used with ECS containers. The cost management tool was misreporting their use. A well-intentioned cloud engineer went in and deleted these load balancers. Whilst this would have saved a chunk of cash, this also rendered both the user-acceptence and development environments unavailable.</p><p>Worse than this — the URI paths and target groups had been added manually (outside of IaC). This mean that it wasn’t simply a case of re-deploying. Every single one of these ELBs needed to be recreated by hand. This took days to complete. Whilst this work was being completed none of the developers could do their job.</p><p>There were significant cost-savings which were otherwise possible. In part, the ELBs could be consolidated. However, deleting every single load balancer was not the desirable approach!</p><h4><strong>Not having the right buy in from around the business</strong></h4><p>Needing to rearchitect and transition workloads off expensive deployment patterns takes time. This also requires involvement from various stakeholders, and they need to be on-board.</p><p>If you don’t get this, then you’re going to be stymied from the get-go.</p><p>Previously, I worked with customers who had a legacy shared services environment. This environment was running software which was aging and unreliable. This needed to be propped up on a daily basis. It was overprovision with too many resources and all work was manual. Simple cost effective concepts like autoscaling were missing.</p><p>Our team built a new shiny platform which was all singing and dancing. All administration tasks were automated using IAC and running at a fraction of the cost. The customer ended up running the two environments con-currently for many months. There was no buy-in or commitment from the application owners to deploy onto the new platform. Running two copies of the infrastructure resulted in even more wasted money!</p><h4><strong>Bringing in experts to help with the wrong aspects</strong></h4><p>When working through a cost optimization program, there are a few different roles. For example, application owners, developers, cloud engineers, cloud architects, security experts, data engineers.</p><p>Cloud engineers are the “doers”. They’re the people who will be putting hands on keyboards to do the work. A wrong (but common) assumption is having more cloud engineers at once will save money faster.</p><p>As per the theory of constraints goes. <strong>Any optimization outside the bottleneck is an illusion.</strong></p><p>For example, understanding the context of the recommendations requires developer knowledge. It could also even need input from the application owner. If you’re looking to re-architect, you need cloud architects. Make sure you have the right skills and capability otherwise you could end up stalled. Adding more engineers only makes senses if you’re constrained with the doing.</p><h4><strong>Failing to think long-term — specifically around architecture practices.</strong></h4><p>It is not uncommon to see people lift-and-shift workloads from on-prem or dedicated host environments into the cloud. If you want a similar level of resilience and availability that you’re familiar with running you own facility — it is probably going to cost you more to use the cloud.</p><p>When moving to the cloud, consider the cost around long running EC2 or Virtual Machines. It can be expensive. Consider licensing requires to do so as well. Compare and contrast this against cloud native primitives (serverless or PaaS approaches); at a bare minimum — consider containerisation.</p><h4>Be aware of the upper limits of what you can save..</h4><p>You may have historically procured commercial discounts through volume purchasing agreements. For example, with AWS you can buy savings plans or reserved instances/capacity. When using these commerical constructs, you get a discount for commiting to a certain level of spend. Usually the commitment team is either 1 or 3 years and you agree to pay a minimum fixed fee each month.</p><p>Spending time and money once you get to your agreed minimum spent will make no difference to your AWS bill. Be concious of this when running cost optimization programs as this will be the upper limit of savings.</p><p>Before you go — if you’ve got this far you’ve hopefully seen some value in this article. I write and publish this content free of charge. The cost for reading it though? <strong>Please clap the article and click follow me</strong> — <strong>Think of this as a gentlemen’s agreement. The cost is nothing finacial just a token of appreciation for the time taken to put this together. Thank you</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3da6d13f199" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>