<?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 Shaun Ganley on Medium]]></title>
        <description><![CDATA[Stories by Shaun Ganley on Medium]]></description>
        <link>https://medium.com/@sganley27?source=rss-65296dc43595------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dt7Y3elCbsIu-fxhk-cDXQ.jpeg</url>
            <title>Stories by Shaun Ganley on Medium</title>
            <link>https://medium.com/@sganley27?source=rss-65296dc43595------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:15:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sganley27/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[Loop engineering is going to cause chaos]]></title>
            <link>https://sganley27.medium.com/loop-engineering-is-going-to-cause-chaos-0a9b585f1c80?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a9b585f1c80</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Fri, 03 Jul 2026 13:44:34 GMT</pubDate>
            <atom:updated>2026-07-03T13:44:34.191Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*Sn0pAGEgJphaPzcNygLDag.png" /><figcaption>Loop flow</figcaption></figure><h3>Context</h3><p>Let me start by answering the question: what is loop engineering?</p><p>First we had <strong>prompt engineering </strong>which was about writing better instructions, then came <strong>context engineering</strong> which evolved to include everything the model sees: instructions, tools, external data, memory, message history and then came <strong>harness engineering</strong> which again evolved to include the machinery around the model: tools, sandboxes, orchestration, guardrails, hooks, and observability.</p><p><strong>Loop engineering</strong> is the layer above that. It is the control structure that decides how work is discovered, executed, checked, remembered, and repeated. In other words, replacing yourself as the person who prompts the agent to the person who designs the system to do it instead.</p><p>At its simplest, it is an engineered cycle of observe → decide → act → verify → repeat: the loop keeps going until a success condition is met or a stopping rule kicks in. The problem is not in the loop; it is in the control system around it: memory, limits, checks, and the ability to stop.</p><h3>Problem</h3><p>To be very clear — I don’t have a problem with the concept of loop engineering, I actually think it’s an incedibly powerful concept if applied correctly. The problem I forsee happening is <strong>automating the human out of the loop where human oversight is critial</strong>.</p><p>I can think of plenty of examples where agents can run autonamously without the need for human supervision:</p><ul><li>Feature development where the implementation detail is well-specified, the agent has a deterministic way of validating that the output if correct and can work in an isolated development environment</li><li>Application support where an error is being triggered in the logs, the agent can analyse the error, triage, determine the best solution and log the recommendation in a backlog</li><li>Service operation where the completion rate of a journey has dropped significantly below the target, the agent can analyse the root cause and propose solutions to improve.</li></ul><p>In all of these scenarios the work that is taking place has a limited and isolated blast radius: a pull request for review by an engineer or a ticket in the backlog for review by the team. There’s no way to impact a production environment.</p><p>Now let’s look at how the scenarios above see where things can go wrong:</p><ul><li>The pull requests are normally of high enough quality so you give the agent the ability to push code changes to the main branch which get pushed to production. A week later you’re in the news for leaking customer data because the agent added a search feature without limitng search results to user permissions.</li><li>The triage fix recommendations are normally the correct fix so you give the agent the ability to push the suggested fixes to your main branch which get pushed to production. A day later you’re in the news because the agent installed a package with a known security vulnerability and gained admin access to your database.</li><li>The service improvement suggestions are normally implemented so you give the agent the ability to push the suggested improvements to your main branch which get pushed to production. An hour later you’re in the news because the agent removed the check that the user has paid before completing an order. The agents job was to increase orders and that’s exactly what it did. Congratulations — you’re down £1 million.</li></ul><h3>Legal Consequences</h3><p>You now also have to consider if your loop is against the law: under Article 14 of the EU AI Act, high-risk AI systems must be designed so natural persons can effectively oversee them, understand their limits, monitor anomalies, avoid over-reliance, override outputs, and interrupt the system safely.</p><p>In the UK, the ICO’s guidance on automated decision-making and profiling says that when solely automated decisions have legal or similarly significant effects, organisations must provide information about the processing, offer simple ways to obtain human intervention or challenge a decision, and carry out regular checks to ensure systems work as intended.</p><p>If the loop can affect rights, money, employment, safety, regulated operations, or production systems, human oversight has to be built in.</p><h3>Solution</h3><p>So how do you build safe loops?</p><ul><li>Keep humans at the points where accountability matters and let automation do the repetition.</li><li>Put approval gates in front of production-critical or irreversible actions.</li><li>Enforce budgets, stopping rules, and iteration caps outside the model.</li><li>Scope permissions tightly.</li><li>Separate execution from deployment.</li><li>Instrument the whole system so you can see what it did, why it did it, and how much it cost.</li></ul><p>The organisations that win with loop engineering will not be the ones that remove humans most aggressively. They will be the ones that know exactly where humans are still non-negotiable: legal decisions, security-sensitive changes, and anything that touches production without an easy rollback.</p><p>Loop engineering is powerful. But if you do not design the brakes with the same care as the engine, the chaos will not come from the loop. It will come from your decision to trust it too early.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a9b585f1c80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Coding Agents Haven’t Made Us Faster — They Just Moved the Bottleneck]]></title>
            <link>https://sganley27.medium.com/ai-coding-agents-havent-made-us-faster-they-just-moved-the-bottleneck-851baeccd799?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/851baeccd799</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[code-review]]></category>
            <category><![CDATA[spec-driven-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Tue, 17 Mar 2026 09:25:22 GMT</pubDate>
            <atom:updated>2026-03-17T09:25:22.973Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D0puOf8pB03GkB2b" /><figcaption>Photo by <a href="https://unsplash.com/@koushikpal?utm_source=medium&amp;utm_medium=referral">Koushik Pal</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Every few months someone confidently declares that AI coding agents are about to 10x software engineering. And every few months, teams discover the same ugly truth: yes, the agent writes code quickly — but now you’re drowning in the review.</p><p>We didn’t eliminate the bottleneck.<br> We <em>relocated</em> it.</p><p>And we placed it somewhere even more painful.</p><p>AI-generated code looks plausible, compiles cleanly, and often passes the tests it was allowed to generate… because of course it does. If you let the agent write the implementation <em>and</em> the tests, it will happily validate its own fantasies. The result is a growing pile of changes that are syntactically correct, behaviourally unverified, and architecturally incoherent — and now a human has to unwind all of it.</p><p>Teams aren’t moving faster. They’re triaging more.</p><h3>Coding Isn’t the Hard Part — Aligning Intent Is</h3><p>The industry keeps pretending that the expensive part of engineering is typing characters into a file. It isn’t. Never has been.</p><p>The expensive part is <strong>capturing intent precisely enough that someone (or something) can implement it without breaking everything else</strong>.</p><p>Right now the human‑to‑agent interface is natural language. That sounds convenient, but in practice it’s brittle. You ask for a change. The agent infers what it thinks you meant. It produces code that technically satisfies one interpretation, but not necessarily the <em>right</em> one.</p><p>Now your reviewer spends the entire code review reconciling what the code <em>does</em> with what the system <em>should do</em>. That’s the bottleneck. And AI has made it larger, not smaller.</p><h3>The Fix Isn’t Better Models — It’s Better Interfaces</h3><p>If you want AI coding agents to actually improve delivery, you need to change the interface, not the intelligence.</p><p>You need <strong>specs</strong> and <strong>scenarios</strong>. But critically, not <em>one kind of spec</em>. Two distinct layers.</p><h3>1. The Two‑Layer Spec Model</h3><p>To make AI predictable, you must separate <strong>what the system is</strong> from <strong>what’s changing</strong>.</p><h3>a) The System Spec — the long‑lived contract</h3><p>This is the foundational description of the domain, the invariants, the architectural constraints — the underlying truth of the system.<br> It changes rarely because it defines the <strong>shape of the universe</strong> the agent is allowed to operate within.</p><p>It’s the constitution of the software.</p><h3>b) The Per‑Change Spec — the short‑lived instruction</h3><p>This is where the work happens.</p><p>Every change gets its own spec, a point‑in‑time artefact that captures:</p><ul><li>the behaviour being added or modified</li><li>constraints for implementation</li><li>boundaries the agent must respect</li><li>compatibility concerns, sequencing rules, performance constraints</li></ul><p>Once the agent generates code that satisfies the scenarios, this spec becomes historical context.<br> It’s not a living document — it’s an <strong>intent snapshot</strong>.</p><p>This two‑layer model eliminates ambiguity at the source:</p><ul><li>The <strong>System Spec</strong> constrains <em>what is allowed</em>.</li><li>The <strong>Per‑Change Spec</strong> defines <em>what must happen now</em>.</li></ul><p>AI becomes a compiler, not a clairvoyant.</p><h3>2. Scenarios — Behavioural Truth Outside the Codebase</h3><p>Scenarios form the behavioural test harness. This is the external oracle the agent must satisfy.</p><p>And they must be:</p><ul><li>human‑authored</li><li>implementation‑agnostic</li><li>stable</li><li>separate from the application code</li></ul><p>If you let the agent write tests for its own output, you don’t get verification — you get collusion.<br> Scenarios break that loop.</p><p>They ensure:</p><ul><li>behavioural drift is detected</li><li>architectural drift is impossible</li><li>humans don’t need to inspect every diff</li></ul><p>This is TDD, but finally used for its original purpose: validating intent, not retrofitting it.</p><h3>This Is How the Dark Software Factory Works</h3><p><a href="https://factory.strongdm.ai/">StrongDM’s internal model</a> — the “dark software factory” — already demonstrated this:</p><ul><li>A <strong>stable, canonical system description</strong> (System Spec)</li><li>A <strong>per‑change diff‑spec</strong> describing each small, intentional modification</li><li>A <strong>permanent library of behavioural scenarios</strong></li><li><strong>Zero code review</strong> unless the System Spec itself changes</li></ul><p>Humans review <em>intent</em>, not implementation.<br> The factory handles the rest.</p><p>This is the inversion the industry is missing.</p><h3>Specs + Scenarios Are How We Move Forward</h3><p>With a <strong>System Spec</strong>, <strong>Per‑Change Specs</strong>, and <strong>Scenarios</strong> in place:</p><ul><li>AI becomes predictable</li><li>Quality becomes enforceable</li><li>Behaviour becomes independently verifiable</li><li>Architecture stops decaying</li><li>Code becomes the cheapest, least interesting part of the delivery chain</li></ul><p>This is how you actually 10x a team:<br> by removing human reviewers from everything except <em>intent change</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=851baeccd799" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an AI‑Ready Workforce]]></title>
            <link>https://sganley27.medium.com/building-an-ai-ready-workforce-14fe91dab334?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/14fe91dab334</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[talent-development]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Tue, 17 Feb 2026 13:55:08 GMT</pubDate>
            <atom:updated>2026-02-17T13:55:08.140Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-TLx2VaETEx52ikz" /><figcaption>Photo by <a href="https://unsplash.com/@brookecagle?utm_source=medium&amp;utm_medium=referral">Brooke Cagle</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>At the beginning of 2025, during what should’ve been a forgettable alignment call, someone asked a question that should now concern every board in the industry:</p><p><strong>“If our engineering teams are building software with AI from day one…<br> why are we still training people for a world that no longer exists?”</strong></p><p>For us, that single question exposed a strategic blind spot — one that most organisations still have. AI has fundamentally changed how software is delivered, but most talent pipelines are still optimised for a pre‑AI operating model. That mismatch creates risk: delivery risk, security risk, quality risk, and organisational speed risk.</p><p>So we rebuilt our early‑careers training from the ground up. Not to be trendy. Not for PR. But because the economics — and risks — of engineering have changed.</p><p>What follows isn’t about training programmes.<br> It’s about <strong>future‑proofing your engineering workforce</strong> in a landscape where AI is no longer optional infrastructure — it’s a force multiplier that reshapes roles, responsibilities, and the cost of getting things wrong.</p><h3>1. Breadth Before Depth Is Now a Risk Mitigation Strategy</h3><p>Historically, organisations specialised engineers early: QA, data, cloud, platform. Efficient on paper, but fragile in reality. AI changed the maths.</p><p>Agents can now generate multi‑layer changes across UI, API, domain, data, and infrastructure in a single operation. A deeply specialised junior who understands only their slice introduces organisational risk rather than reducing it.</p><p>So we flipped the model:</p><p><strong>Develop broad‑capability engineers first — specialise later.</strong></p><p>This creates engineers who:</p><ul><li>understand cross‑system impact,</li><li>can collaborate across domains,</li><li>and make decisions with organisational‑wide implications in mind.</li></ul><p>This isn’t pedagogy; it’s resilience.</p><p>A workforce built narrowly breaks easily.<br> A workforce built broadly adapts.</p><h3>2. “Basics First” Is No Longer a Sensible Investment Strategy</h3><p>For years, training pipelines assumed juniors should learn foundational coding before touching AI. That approach is now misaligned with reality — and expensive.</p><p>Agents can generate features — not snippets, <em>features</em> — with architectural implications. Teaching juniors to work without AI before teaching them to work <em>with</em> AI creates a skills gap on day one and increases onboarding time, rework, and senior supervision load.</p><p>So we changed the sequencing:</p><p><strong>AI from day one.<br> Foundations in parallel, not in advance.</strong></p><p>The ROI case is simple:</p><ul><li>juniors become productive faster,</li><li>seniors spend less time unpicking misunderstandings,</li><li>teams integrate new talent with less drag,</li><li>and your cost per feature decreases earlier in the talent lifecycle.</li></ul><p>This is a structural efficiency gain, not a teaching preference.</p><h3>3. Architectural Thinking Can No Longer Be Optional</h3><p>AI doesn’t think in classes or files — it thinks in systems.<br> A “small” request can lead to double‑digit file changes, pattern refactors, or data‑flow rewrites.</p><p>That’s powerful when guided well.<br> It’s expensive when guided poorly.</p><p>So we train juniors to reason like architects from week one: boundaries, dependencies, extensibility, constraints. This protects against the biggest organisational risk emerging in AI‑accelerated engineering:</p><p><strong>AI amplifies both good and bad decisions.</strong></p><p>If your juniors can’t reason at a system level, every AI‑accelerated change magnifies technical debt, not value.</p><h3>4. Design‑First Thinking Protects Quality at Scale</h3><p>One of the biggest myths in tech right now is that AI removes ambiguity. It doesn’t. It multiplies whatever thinking you give it. We watched trainees generate “working” features that collapsed under real‑world execution because the prompt lacked clarity.</p><p>The fix wasn’t better tools.<br> It was better thinking.</p><p>We enforce a spec‑driven funnel:</p><ul><li>goal,</li><li>constraints,</li><li>context,</li><li>acceptance criteria,</li><li>edge cases.</li></ul><p>This dramatically improves output quality without increasing training overhead.</p><p>From a board perspective, this directly improves:</p><ul><li>defect rates,</li><li>rework cost,</li><li>delivery quality,</li><li>and engineering predictability.</li></ul><p>Good engineering fundamentals still matter — they just move earlier in the process.</p><h3>5. Outcome‑Driven Learning Builds Problem Solvers, Not Instruction Followers</h3><p>Step‑based training (“type this, then that”) produces fast learners but weak engineers. AI accelerates this weakness because it rewards people who can think independently, evaluate trade‑offs, and guide generative systems.</p><p>So we replaced step‑following with outcome‑ownership.</p><p>Teams are given a real problem and must deliver a solution. No prescribed route. No instructions. Just context and autonomy.</p><p>This builds:</p><ul><li>judgement,</li><li>reasoning,</li><li>resilience,</li><li>and decision‑making — <br> all of which reduce long‑term cost and organisational risk.</li></ul><h3>6. Pod‑Based Learning Creates Faster, More Durable Knowledge Transfer</h3><p>We formalised three‑person learning pods because we saw something consistent: knowledge doesn’t scale linearly; it scales socially. Groups of three generated higher‑quality reasoning, faster problem solving, and fewer escalations.</p><p>For leadership, this matters because pods:</p><ul><li>reduce reliance on single points of failure,</li><li>shorten the time to “team‑ready” talent,</li><li>and build shared mental models that reduce onboarding cost.</li></ul><p>This is organisational efficiency disguised as a teaching practice.</p><h3>7. No‑AI Days Are About Risk Reduction, Not Nostalgia</h3><p>When trainees told us they feared losing the ability to read or debug code, we introduced “No‑AI Days.” The goal wasn’t to slow progress — it was to deepen competence. When AI was restored, trainees:</p><ul><li>questioned outputs more critically,</li><li>validated assumptions,</li><li>and identified faults faster.</li></ul><p>The organisational benefit?</p><p><strong>Teams that trust AI without blindly trusting it.</strong></p><p>That distinction matters.</p><h3>8. PRs Remain the Last — and Most Important — Quality Gate</h3><p>AI accelerates delivery.<br> It does not protect quality.</p><p>We implemented a four‑stage PR flow:</p><ol><li>self‑review,</li><li>AI review,</li><li>peer review,</li><li>senior review.</li></ol><p>Early PRs had 40 comments — and that’s where the real learning happened. Over time, comment volume fell because capability rose.</p><p>From a leadership perspective, this delivers:</p><ul><li>stronger engineering judgement,</li><li>lower defect density,</li><li>more autonomous teams,</li><li>and reduced pressure on senior talent.</li></ul><p>Quality becomes a shared organisational capability, not a bottleneck.</p><h3>9. The Strategic Horizon: From AI‑Assisted to Autonomous Delivery</h3><p>Right now, engineers guide agents and validate their output.<br> <strong>That’s the “Now.”</strong></p><p>Coming next: semi‑autonomous agents that generate, test, evaluate, and refine code before a human intervenes.</p><p>Later: task‑level autonomy, where engineers focus on architecture, verification, risk and ethics — not manual construction.</p><p>For leadership, this changes the investment landscape:</p><ul><li><strong>Your competitive advantage will depend on organisational ability to articulate problems, not write code.</strong></li><li><strong>Verification, guardrails, and governance will become core engineering competencies.</strong></li><li><strong>Engineering speed will spike — but only if quality gates evolve at the same pace.</strong></li></ul><p>Autonomy without verification is liability.<br> Autonomy with verification is leverage.</p><h3>Final Thoughts</h3><p>If your training pipeline still assumes:</p><ul><li>deep early specialisation,</li><li>fundamentals before AI,</li><li>step‑driven learning,</li><li>siloed engineering roles,</li><li>or late exposure to architectural thinking…</li></ul><p>…then you’re optimising your workforce for a delivery model the industry has already left behind.</p><p>AI isn’t replacing engineers.<br> It’s <strong>changing what engineering is</strong> — and boards must respond accordingly.</p><p>Your future cost, speed, and risk profile depend on whether your talent strategy evolves with your delivery model.</p><p>A workforce built for a pre‑AI world will become a strategic liability.</p><p>A workforce built for an AI‑first world becomes a competitive advantage.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14fe91dab334" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a standard AI Agent definition]]></title>
            <link>https://sganley27.medium.com/creating-a-standard-ai-agent-definition-c2fe8c0117a2?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2fe8c0117a2</guid>
            <category><![CDATA[ai-tools]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Thu, 16 Oct 2025 16:03:26 GMT</pubDate>
            <atom:updated>2025-10-16T16:03:26.056Z</atom:updated>
            <content:encoded><![CDATA[<p>Medium tells me it’s been more than 3 years since my last post on here; my bad folks. I’ll try to do better…</p><p>I’ve recently been getting swept up in the wave that is AI Agents as I’m sure many of you reading with have been. Recent releases such as OpenAI’s AgentKit has triggered a lot of content and conversations recently about AI Agent tooling and platforms.</p><p>There are a lot of those tools and platforms already out there and no doubt a lot more companies are going to want a slice of that pie — so expect plenty more announcement of new AI Agents in the near future.</p><p><strong>This got me thinking — if I build an AI Agent what platform should I choose? And what happens when I inevitably choose the wrong one and want to quickly change to another?</strong></p><p>So I started a new project with the aim of standardising how AI Agents are defined and providing a single source to map these to schemas used by other platforms. I started with the question: what should a standard AI Agent schema look like?</p><p>All agents seem to have different interfaces for defining the following things:</p><ul><li><strong>Triggers</strong> — a way of invoking an agent; this could be via webhook, API invocation or chat interface</li><li><strong>Tools</strong> — capabilities that the agent has access to; this could be file search for RAG capabilities, web search for information or MCP servers that can be invoked</li><li><strong>Inputs &amp; Outputs</strong> — the expected data structures for what the agent consumes and produces. Some platforms define these as JSON schemas, others as free-form text, and some don’t define them at all.</li><li><strong>Metadata</strong> — descriptive information like the agent’s name, description, version, author, and licensing. This is critical for discoverability and governance but is often inconsistent across platforms.</li><li><strong>Policies &amp; Constraints</strong> — rules that govern what the agent can or cannot do, such as rate limits, safety constraints, or compliance requirements.</li><li><strong>Context &amp; Memory</strong> — how the agent maintains state or retrieves historical context. Some platforms use vector stores, others rely on session-based memory, and there’s no standard way to declare this.</li></ul><p>I wanted to create a representation of the above information that could then be mapped to the schema of any platform and provide a consistent schemas that new platforms could rely upon.</p><p>This led me to creating my first ever NPM package: <a href="https://www.npmjs.com/package/@ai-agent-schema/schema">https://www.npmjs.com/package/@ai-agent-schema/schema</a></p><p>The package is generated from a completely open-source GitHub repository: <a href="https://github.com/shaunganley/ai-agent-schema">https://github.com/shaunganley/ai-agent-schema</a></p><p>I don’t want to <em>own</em> the schema and nor do I believe that anyone should have full control over it. I want this to be a community effort to extend and maintain so if you’re interested in getting involved then I would love to have you contributing to the repository.</p><p>All of the information you need about the schema and how to use it can be found in the links above. Fill your boots!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bfYJ3h6lhllTq5w8" /><figcaption>Photo by <a href="https://unsplash.com/@cashmacanaya?utm_source=medium&amp;utm_medium=referral">Cash Macanaya</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2fe8c0117a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Challenges for DfE 10x Economy in NI]]></title>
            <link>https://sganley27.medium.com/challenges-for-dfe-10x-economy-in-ni-fa93b988bea8?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa93b988bea8</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[economy]]></category>
            <category><![CDATA[northern-ireland]]></category>
            <category><![CDATA[diversity]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Fri, 22 Apr 2022 10:16:19 GMT</pubDate>
            <atom:updated>2022-04-22T10:16:19.676Z</atom:updated>
            <content:encoded><![CDATA[<p>The Department for the Economy in Northern Ireland recently outlined a vision to improve the economy with a focus on technology and innovation. As someone already working in the technology sector in Northern Ireland this is an encouraging step in the right direction towards improving the industry.</p><p>However, achieving this vision will not be easy, as proven by previous attempts like the Success through Skills strategy. There are many challenges to overcome to make this vision a success and I wanted to capture my thoughts on some of them below.</p><p>I’ve been involved in recruiting, training and developing talent for one of Northern Ireland’s top technology firms for the past number of years. I’ve also worked closely with education authorities and universities in recent years to help addresses some of the challenges that I will talk about below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0gdW9RVfivgqiDFu" /><figcaption>Photo by <a href="https://unsplash.com/@kmitchhodge?utm_source=medium&amp;utm_medium=referral">K. Mitch Hodge</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Education</h3><p>In order to grow the technology sector in Northern Ireland it’s vital to have a pipeline of aspiring professionals with the skills to be able to make an impact in the industry.</p><p>Currently, Northern Ireland, unlike elsewhere in the UK, has no IT curriculum pre-GCSE level. That means that any exposure to IT skills gained during primary and secondary education comes from non-IT related teachers and subjects.</p><p>This simply needs to change to support a growth in the number of technology professionals with relevant skills. GCSE is much too late in the education pipeline to start to introduce foundational IT related skills as part of the curriculum.</p><p>Technology skills are arguably more applicable than many of the skills that are mandatory in the current curriculum in Northern Ireland. By introducing these skills earlier in the education pipeline we will see higher standards of aspiring professionals joining the industry.</p><p>One of the unique challenges we have with the technology industry is the rapid speed of innovation. That means that the technologies and skills that are relevant today will no longer be relevant in 10 years. This poses a real challenge for technology teachers.</p><p>Teachers of many non-IT subjects can train to do their job teaching against a certain version of the curriculum and that will change very little over the years. With technology subjects however, this will quickly result in teaching non-relevant skills.</p><p>This also needs to change. The IT curriculum needs to be updated to more often to keep up with the industry. Additional training needs to be offered to IT teachers to allow them to stay up-to-date with the latest trends in the industry and be able to educate their students appropriately.</p><p>I would also like to see more collaboration between the local technology industry and the education institutions. The best people to teach the skills that are needed to work in the industry are those who are already working there and there are some exceptional role models capable of teaching students and teachers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s0X0i59BlTv2Kuvy" /><figcaption>Photo by <a href="https://unsplash.com/@bochelly?utm_source=medium&amp;utm_medium=referral">Mr. Bochelly</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Interest</h3><p>The number of students taking up IT-related GCSE’s and A-Level’s is on the decline. This is a worrying stat, as the growth of the sector depends on the next generation to work in the industry. It’s also a surprising stat to most; why would the interest in IT be declining when the industry itself is booming?</p><p>There could be lots of reasons causing this decline. One of the thoughts is that the difficulty of IT subjects is higher than other subjects which results in lower graded and therefore a lower level of interest in the subject for fear of lower grades.</p><p>One of the common themes that we see is that there is a negative stigma associated with a career in technology that taking an IT subject could lead to. This could come from the portrayal of the typical “hacker” characters in the entertainment industry where you sit in a dark room to all hours with flashing text on the screen and your hood up for some reason.</p><p>This could not be further from the truth. Careers in technology can be as diverse as you want them to be. From developers to business analysts to testers to user experience and everything in between. All of these careers use the skills that are part of the IT curriculum.</p><p>One way to improve the interest in careers in technology would be to introduce more fun and interesting activities as part of the curriculum. IT subjects don’t have to be all about development methodologies and building order systems.</p><p>The modern world of technology includes cyber security, artificial intelligence and virtual reality which are all creative topics that can peak the interest of potential technologists.</p><p>Parents have a massive influence over the subject choices. That means that as well as educating the students of the exciting possibilities of pursuing a career in technology, we need to also educate the parents on these possibilities.</p><p>Parents tend to approach subject choices with a more career-focussed mindset. The technology sector in Northern Ireland is currently booming with jobs with competitive salaries almost guaranteed. The graduate wage in the technology sector currently is higher than the average salary across the country.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XFM776hdRXScGXdI" /><figcaption>Photo by <a href="https://unsplash.com/@balazsketyi?utm_source=medium&amp;utm_medium=referral">Balázs Kétyi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Diversity</h3><p>Following on from the decreasing interest in technology subjects, we also have a real lack of diversity in the people who are pursuing careers in technology. Diversity is a vital part of innovation and creativity because people from similar backgrounds may see the world in a similar way.</p><p>Over the past number of years we’ve seen the female role models really pushing to have more female representation in technology. I’ve seen first-hand over the past number of years that is having a positive impact on the number of females applying for roles, although the gap is still too large.</p><p>The impact of organisations like Women Who Code is vital to removing the stigma around the technology industry for females. It is therefore imperative that organisations like this continue to be funded and pushed to ensure that the gender gap continues to close.</p><p>There is still a lot of work to be done to make technology careers attractive and attainable to people from minority backgrounds in Northern Ireland. We are missing out on a large talent pool of potential role models for future generations by not being more inclusive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XW1pV-vs7gCW8RwV" /><figcaption>Photo by <a href="https://unsplash.com/@surface?utm_source=medium&amp;utm_medium=referral">Surface</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Apprenticeships</h3><p>Large technology employers in Northern Ireland such as Kainos, PWC and Allstate have all launched apprenticeships programmes of the past number of years. Apprenticeship programmes provide an alternative to the traditional university pathway by allowing professionals to work while studying part-time.</p><p>These schemes have been incredibly successful and have given professionals the opportunity to graduate with a degree with no student debt and 4 years of industry experience.</p><p>For companies the depth of skills and knowledge that we see from apprentices when graduating from apprenticeship programmes is far greater than those we see coming out of universities.</p><p>Apprenticeship programmes is something I’m passionate about growing and improving. I would like to see more funding put in to encourage more businesses to run these programmes and also increase the number of apprenticeship opportunities at companies already running these programmes.</p><p>We have an opportunity to grow the technology industry in Northern Ireland without the bottleneck of university graduates and I think this will be important if we want to sustain growth in the short term.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oDrYPSXDFiftKzXq" /><figcaption>Photo by <a href="https://unsplash.com/@mimithian?utm_source=medium&amp;utm_medium=referral">Mimi Thian</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Closing thoughts</h3><p>It’s great to see the Department for the Economy in Northern Ireland focus on the technology sector as an ideal opportunity to help grow the economy over the next decade.</p><p>The technology sector in Northern Ireland will face challenges in the near future with the quality, quantity and diversity of the talent leaving the education system.</p><p>These problems can only be solved with a combination of funding, collaboration with technology businesses across the country and openness of the education authorities and institutions to change the current curriculum.</p><p>I do however believe that there are a number of passionate people in Northern Ireland who are capable of driving this change and achieving these goals with the appropriate platform and support to help drive this change.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa93b988bea8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverless Cloud: A First Look]]></title>
            <link>https://medium.com/better-programming/serverless-cloud-a-first-look-7abb3cd04cf7?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/7abb3cd04cf7</guid>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Fri, 25 Mar 2022 12:23:40 GMT</pubDate>
            <atom:updated>2022-03-28T14:47:03.177Z</atom:updated>
            <content:encoded><![CDATA[<h4>Know what can you actually do with Serverless Cloud</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zwtLMbhRt7JA-kyC" /><figcaption>Photo by <a href="https://unsplash.com/@bendavisual?utm_source=medium&amp;utm_medium=referral">Benjamin Davies</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Serverless Cloud first came to my attention during Serverless Summit 2021 when AWS Serverless Hero <a href="https://www.jeremydaly.com/">Jeremy Daly</a> presented the product that he’d been helping build himself.</p><p>For anyone with an interest in Serverless who somehow hasn’t managed to come across Jeremy before I’m sure he won’t mind me linking to his content, I strongly recommend subscribing to his newsletter ‘Off-by-none’ which I’ve used to keep up with the serverless world for the past few years.</p><p>Firstly, let’s answer address the elephant in the room: what is Serverless Cloud?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*C2geiB0p4m2QxECBgvchrg.png" /></figure><p>Serverless Cloud allows you to build your applications without having to worry about the creation and management of cloud services, giving developers more time to focus on what they do best; writing code. It does this by abstracting the cloud services with an interface that you can add as a dependency in your application, leaving Serverless Cloud to do all of the heavy lifting.</p><p>Serverless Cloud also provides a dashboard that allows you to monitor your application with metrics and logs out of the box. It also allows your to invoke your endpoints directly from the dashboard, removing the need for a tool like Postman to perform the same functionality.</p><p>Now to the fun part: what can I do with Serverless Cloud?</p><h3>Storage</h3><p>Serverless Storage gives you the ability to store files without having to write the Infrastructure as Code code to create and manage the S3 buckets yourself, you don’t even need to pass a link to the bucket into your application.</p><p>Storage is a very common use case in modern software applications. In the example below you can see that I call the storage API to store the CV of an employee and the get the download URL of the file which I’m returning in the response.</p><pre>import { api, data, storage, schedule, events } from &quot;@serverless/cloud&quot;;</pre><pre>api.post(&quot;/employees/:id/cv&quot;, async (req, res) =&gt; {</pre><pre>let key = &quot;employee:&quot; + req.params.id;<br>let employee = await data.get(key);<br>let filepath: string = &#39;/cv/&#39; + req.params.id + &#39;.txt&#39;;</pre><pre>await storage.write(filepath, req.body);</pre><pre>let downloadUrl = await storage.getDownloadUrl(filepath);   employee.cvUrl = downloadUrl;</pre><pre>await data.set(key, employee, true);</pre><pre>res.send({ downloadUrl });<br>});</pre><p>Another cool feature of the storage service is the ability to add listeners for any changes in your bucket. This is very cool and you would usually have to handle these events in your config, for example calling a lambda when anything changes in your bucket.</p><p>The code below writes a log message any time a file is stored in my bucket with the cv prefix. You can use this feature to build a pipeline of asynchronous tasks, for instance scanning the uploaded file for a virus or redacting sensitive data from a file before making it available for retrieval from your application.</p><pre>import { api, data, storage, schedule, events } from &quot;@serverless/cloud&quot;;</pre><pre>storage.on(&quot;write:cv/*&quot;, async (event) =&gt; { </pre><pre>console.log(&#39;File has been uploaded, scanning for virus: &#39; + event.path);</pre><pre>});</pre><p>You can see the other features of the storage service <a href="https://www.serverless.com/cloud/docs/apps/blob-storage">here</a>.</p><h3>Data</h3><p>Serverless Data gives you the ability to store your application data in a key/value data store without having to manage database access, maintenance, sizing or even having to pass connection strings to your application.</p><p>Data is a cornerstone of software so having access to store and retrieve your application data by calling a method has the potential to reduce a great deal of development time in your teams. In the example below you can see how I retrieve a list of all employees, get a single employee and store an employee.</p><pre>import { api, data, storage, schedule, events } from &quot;@serverless/cloud&quot;;<br>import { Employee } from &quot;./models/Employee&quot;;<br>import { v4 as uuidv4 } from &#39;uuid&#39;;</pre><pre>api.get(&quot;/employees&quot;, async (req, res) =&gt; {</pre><pre>let result = await data.get(&quot;employee:*&quot;, true);</pre><pre>res.send({ employees: result.items });<br>});</pre><pre>api.get(&quot;/employees/:id&quot;, async (req, res) =&gt; {<br>let key = &quot;employee:&quot; + req.params.id;</pre><pre>let result = await data.get(key);</pre><pre>res.send({ employee: result });<br>});</pre><pre>api.post(&quot;/employees&quot;, async (req, res) =&gt; {<br>let employee: Employee = req.body;<br>let id: number = uuidv4();</pre><pre>await data.set(&#39;employee:&#39; + id, employee);</pre><pre>events.publish(&quot;employee.created&quot;, {    name: employee.name  });</pre><pre>res.send({ employeeId: id });<br>});</pre><p>You can see the other features of the data service <a href="https://www.serverless.com/cloud/docs/apps/data">here</a>.</p><h3>Events</h3><p>Serverless Events allow you to publish events and then handle them asynchronously, either immediately or after a period of time. Again this allows you to build out asynchronous pipelines of tasks without having to create queues and configure lambda invocations.</p><p>In the example below you can see how I publish an event when an employee is created and then asynchronously pick up the event. You can use this to send welcome emails or let other integrations of your application such as a payroll system know that this new employee has been created.</p><pre>import { api, data, storage, schedule, events } from &quot;@serverless/cloud&quot;;<br>import { Employee } from &quot;./models/Employee&quot;;<br>import { v4 as uuidv4 } from &#39;uuid&#39;;</pre><pre>api.post(&quot;/employees&quot;, async (req, res) =&gt; {<br>let employee: Employee = req.body;<br>let id: number = uuidv4();</pre><pre>await data.set(&#39;employee:&#39; + id, employee);</pre><pre>events.publish(&quot;employee.created&quot;, {    name: employee.name  });</pre><pre>res.send({ employeeId: id });<br>});</pre><pre>events.on(&quot;employee.created&quot;, async ({ body }) =&gt; {  </pre><pre>console.log(&#39;Send welcome email to &#39; + body.name);</pre><pre>});</pre><p>You can see the other features of the events service <a href="https://www.serverless.com/cloud/docs/apps/events">here</a>.</p><h3>Scheduled Tasks</h3><p>We’ve all been on projects that require a cron job to run to either run a clean up script or to trigger a data update. With Serverless Cloud you can simply define a function to run whenever you want, removing the need to configure a cron job to run in your environments.</p><pre>import { api, data, storage, schedule, events } from &quot;@serverless/cloud&quot;;</pre><pre>schedule.every(&quot;1 day&quot;, () =&gt; {</pre><pre>console.log(&quot;Doing some sort of cleanup task every night!&quot;);</pre><pre>});</pre><p>You can see the other features of the schedules tasks service <a href="https://www.serverless.com/cloud/docs/apps/schedule">here</a>.</p><h3>Apps &amp; Instances</h3><p>Serverless cloud follows an isolation model. You have an organisation within which you can create many apps, these are applications that can be multi-stack or independent services. Each app can then have many instances, an instance can be an environment such as production or test, with each instance getting their own set of resources such as data and storage.</p><p>This approach allows you to run your application in the cloud in seconds, almost too fast to believe.</p><p>Want to run your application in the cloud? Just type cloud</p><p>Want to share your current state with a team member for testing? Just type cloud share</p><p>Want to deploy to the test environment? Just type cloud deploy test</p><p>Want to promote the version of your application in your test environment to your production environment? Just type cloud promote test prod</p><p>It’s almost too easy.</p><h3>Current Limitations</h3><p>Serverless Cloud is still in development (version 2.8.2 at the time of writing) so there is still a lot of functionality in the pipeline that isn’t available yet so here’s some of the things I would like to see in future releases:</p><ul><li>The ability to select the region where your cloud services are deployed to. Currently, all data stored in the us-east-1 region however many companies are likely to be legally bound to not transfer data outside of the country/area in which they reside so they wouldn’t be able to use Serverless Cloud.</li><li>Fine-grained access control within an organisation. Currently there is no role-based access control within the organisation that you store your applications and data, this means if you wanted to lock down access to your production data your would have to create a separate organisation in which to host it which would allow you to use the cool promote feature.</li><li>Access to underlying cloud resources. One of the biggest challenges I foresee for Serverless Cloud is building a reputation that customers, clients and businesses will feel safe handing over control of their data. I think there will need to be a middle-ground where customers can access the underlying cloud services when required.</li></ul><h3>Final Thoughts</h3><p>I’ve really enjoyed my experience using Serverless Cloud and I will be continuing to use it to deploy personal and proof-of-concept applications going forward. In the future, I hope some of the above points will be addressed which will allow me to push the use of Serverless Cloud within organisations.</p><p>If you want to have a look at the project with the code linked above you can find that <a href="https://github.com/shaunganley/serverless-cloud-typescript-api-demo">here</a>.</p><p>Serverless Cloud has a great Slack community that will be happy to answer any of your questions and solve any problems you might be having, you can join that <a href="https://serverless-contrib.slack.com/join/shared_invite/zt-d5qzowja-pnOerTzAIZUrN18hWYUIHA">here</a>.</p><pre><strong>Want to Connect?</strong></pre><pre>If you have any comments about this blog or want to have a chat you can find me on LinkedIn <a href="https://www.linkedin.com/in/shaun-ganley-8068aa82/">here</a>.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7abb3cd04cf7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/serverless-cloud-a-first-look-7abb3cd04cf7">Serverless Cloud: A First Look</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deployed in a Day: Github Actions, Docker, and AWS App Runner]]></title>
            <link>https://medium.com/better-programming/deployed-in-a-day-github-actions-docker-aws-app-runner-2f72ae0f52a7?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f72ae0f52a7</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Mon, 07 Mar 2022 12:00:02 GMT</pubDate>
            <atom:updated>2022-03-29T10:08:31.832Z</atom:updated>
            <content:encoded><![CDATA[<h4>My exact process to deploy applications on the cloud</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xzZ5FTyFyZ3q9ESs" /><figcaption>Photo by <a href="https://unsplash.com/@rubaitulazad?utm_source=medium&amp;utm_medium=referral">Rubaitul Azad</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>All developers will at some point find themselves with an application that they build and run on their local machine that they would love to have running in the cloud but don’t have the time or knowledge about how to deploy the application in the cloud without having to get their hands dirty in server configuration.</p><p>As part of a training program, I run for trainee software engineers we build a simple application that allows a user to create, edit and delete employees. The trainees start by building a database, then build a REST API to perform CRUD operations and finally add a user interface, the approach taken below will work for any frameworks that play nicely with <a href="https://www.docker.com/">Docker</a>.</p><p>Part of modern-day software engineering involves much more than writing code and throwing it over the wall to a Platforms team who are responsible for deploying the app. In order to develop well-rounded software engineers, it’s vital that they understand how these applications go from running on a local machine to running in production.</p><p>The process below outlines how I used <a href="https://github.com/features/actions">Github Actions</a>, Docker and AWS App Runner to take the applications mentioned above to deploy the applications in the cloud.</p><p>Let’s start with the database layer. This is quite simple as cloud providers provided a limited number of ways to host your database in the cloud. As my background is in AWS I’m using the <a href="https://aws.amazon.com/rds/">Amazon Managed Relational Database Service (RDS)</a> which allows you to create your database with a few simple clicks via the console, this can be automated using Infrastructure as Code such as Terraform or the AWS CDK which will allow you to easily scale your application across any number of test environments if needed.</p><p>Now that we have our database created we can move on to creating the database structure which we will use for our application data. As a common best practice for database development you should never been running Data Definition Language (DDL) statement directly against your database but instead should be scripting them so they are rerun-able and reviewable. Using this database script you can create a Github Actions job on the repository where you store your script to load the script into your database, this can be done on a pull request if you use feature environments or just on commit to master when you want to update your test environment.</p><pre>mysql — host=&lt;your_host&gt; — user=&lt;your_username&gt; — password=&lt;your_password&gt; &lt;your_database_name&gt; &lt; employeesdb.sql</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OwAMtTAkoRh49yBc" /><figcaption>Photo by <a href="https://unsplash.com/@sunder_2k25?utm_source=medium&amp;utm_medium=referral">Sunder Muthukumaran</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Next up we want to containerise our applications, in my case I’m using a Java Dropwizard REST API and a Node.js Express frontend, but as mentioned above this approach will allow you deploy any application that allows you to use Docker to run. A <a href="https://www.docker.com/resources/what-container">container</a> in this context contains all of the code and packages required to run your application anywhere that supports running containers and Docker allows you to create and run your containers.</p><p>Github Actions has a Docker image workflow that will generate a configuration file for you that will run the docker build command on merge to master. Once Github Actions has generated the container we need to store it somewhere so that we can use it to run the applications, in my case I’m using <a href="https://aws.amazon.com/ecr/">AWS Elastic Container Registry (ECR)</a> to store my API and UI containers however there are lots of alternatives that you can use but using ECR allows us to easily integrate the container with any service you want to use to run the application.</p><p>From the sample code below you can see the use of secrets. Github allows you to create secrets on a repository or an account level. You can use these secrets to store the credentials needed to store the container in a container repository, below I have access credentials for a user that has permissions to access ECR. You can also use secrets to store the database access information to connect your API with your database instance, in your frontend you can use a secret to store your API URL to make it configurable on build. As you can see on the docker build command we are passing the secrets to the container at this stage, this means we don’t need to store the secrets where we run our application and in the case of AWS App Runner this service doesn’t allow for secrets to be passed to the application, only unencrypted environment variables.</p><pre>name: Docker Image CI</pre><pre>on:<br> push:<br> branches: [ main ]<br> pull_request:<br> branches: [ main ]</pre><pre>jobs:</pre><pre>build:</pre><pre>runs-on: ubuntu-latest</pre><pre>steps:<br> — uses: actions/checkout@v2</pre><pre>- name: Configure AWS credentials<br> uses: aws-actions/configure-aws-credentials@v1<br> with:<br> aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}<br> aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}<br> aws-region: eu-west-1</pre><pre>- name: Login to Amazon ECR<br> id: login-ecr<br> uses: aws-actions/amazon-ecr-login@v1</pre><pre>- name: Build &amp; push the Docker image<br> env:<br> DB_PASSWORD: ${{ secrets.DB_PASSWORD }}<br> DB_USERNAME: ${{ secrets.DB_USERNAME }}<br> DB_HOST: ${{ secrets.DB_HOST }}<br> DB_NAME: ${{ secrets.DB_NAME }}<br> ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}<br> ECR_REPOSITORY: employee_demo<br> IMAGE_TAG: api<br> run: |<br> docker build — build-arg DB_PASSWORD=${DB_PASSWORD} — build-arg DB_USERNAME=${DB_USERNAME} — build-arg DB_HOST=${DB_HOST} — build-arg DB_NAME=${DB_NAME} -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .<br> docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Jp8A4_ENfoeHQvFq" /><figcaption>Photo by <a href="https://unsplash.com/@carrier_lost?utm_source=medium&amp;utm_medium=referral">Ian Taylor</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Now that we have our container created and stored we just need somewhere to run the application, again there are lots of <a href="https://aws.hashnode.com/amazon-containerization-guide-to-running-containers-in-aws">options</a> here for running containers in the cloud and it’s really up to you and the needs of your application as to how much control you want over your server configuration which should decide which option you choose.</p><p>For this simple demo application, I didn’t need fine-grained control over configuration so I decided to use <a href="https://aws.amazon.com/apprunner/">AWS App Runner</a> which is a fully managed service that allows you to run your container, giving you a URL to access your URL within a few minutes, you can use Infrastructure as Code to automate this deployment to test environments if required. App Runner also has automated scaling which means you will only pay for the compute that your application uses, the less traffic to your application the less your AWS bill at the end of the month.</p><p>App Runner is currently limited to only a few regions so you might want to check which region is nearest to you and create your ECR repository in the same region as your App Runner service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*60yK2llMWpBFe5XYS-IvzA.png" /></figure><p>And that’s it!</p><p>You now have a database, frontend, and backend hosted in the cloud. That was easy, right?</p><p>All of my code is linked below so feel free to take a look and make use of as much as you like:</p><ul><li><a href="https://github.com/shaunganley/nodejs-express-govuk-axios">Node.js Express frontend application</a></li><li><a href="https://github.com/shaunganley/java-dropwizard-swagger-jdbc/actions/new">Java Dropwizard backend application and database script</a></li></ul><pre><strong>Want to Connect?</strong></pre><pre>If you have any questions then feel free to reach out in the comments or via <a href="https://www.linkedin.com/in/shaun-ganley-8068aa82/">LinkedIn</a>.</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f72ae0f52a7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/deployed-in-a-day-github-actions-docker-aws-app-runner-2f72ae0f52a7">Deployed in a Day: Github Actions, Docker, and AWS App Runner</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TIL @ AWS Builders’ Day Summit Online 2021]]></title>
            <link>https://sganley27.medium.com/til-aws-builders-day-summit-online-2021-497ba91648c4?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/497ba91648c4</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Wed, 09 Jun 2021 15:08:39 GMT</pubDate>
            <atom:updated>2021-06-09T15:08:39.088Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6EvPlzEN-KzMHkjW" /><figcaption>Photo by <a href="https://unsplash.com/@derveit?utm_source=medium&amp;utm_medium=referral">Veit Hammer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Welcome to the most highly anticipated sequel since Toy Story 3!</p><p>I apologise to all of you who have waited with heightened anticipation for the past 2 years since the release of my debut TIL post:</p><p><a href="https://sganley27.medium.com/til-aws-builders-day-london-2019-3276dc3630ef">TIL @ AWS Builders’ Day London 2019</a></p><p>But if there’s anything that life has given me in the past 2 years it’s a good excuse… COVID!</p><p>So I won’t keep you waiting any longer, here are some of the topics and services I found interesting during AWS Builders’ Day Summit Online 2021 for all of those who could not attend. Enjoy!</p><h3>AWS Graviton2 Processors</h3><p>AWS Graviton processors are custom built by Amazon Web Services using 64-bit Arm Neoverse cores to deliver the best price performance for your cloud workloads running in Amazon EC2. Amazon EC2 provides the broadest and deepest portfolio of compute instances, including many that are powered by latest-generation Intel and AMD processors. AWS Graviton processors add even more choice to help customers optimize performance and cost for their workloads.</p><p>AWS Graviton2 processors deliver a major leap in performance and capabilities over first-generation AWS Graviton processors. They power Amazon EC2 general purpose (M6g, M6gd, T4g), compute optimized (C6g, C6gd, C6gn), and memory optimized (R6g, R6gd, X2gd) instances, that provide up to 40% better price performance over comparable current generation x86-based instances for a wide variety of workloads, including application servers, micro-services, high-performance computing, CPU-based machine learning inference, video encoding, electronic design automation, gaming, open-source databases, and in-memory caches. They deliver 7x more performance, 4x more compute cores, 5x faster memory, and 2x larger caches.</p><h3>Amazon Code/DevOps Guru</h3><p>Amazon CodeGuru is a developer tool that provides intelligent recommendations to improve code quality and identify an application’s most expensive lines of code. Integrate CodeGuru into your existing software development workflow to automate code reviews during application development, continuously monitor application performance in production, provide recommendations and visual clues for improving code quality and application performance, and reduce overall cost.</p><p>Amazon DevOps Guru is a Machine Learning (ML) powered service that makes it easy to improve an application’s operational performance and availability. DevOps Guru detects behaviors that deviate from normal operating patterns so you can identify operational issues long before they impact your customers.</p><p>DevOps Guru uses machine learning models informed by years of Amazon.com and AWS operational excellence to identify anomalous application behavior (e.g. increased latency, error rates, resource constraints, etc.) and surface critical issues that could cause potential outages or service disruptions. When DevOps Guru identifies a critical issue, it automatically sends an alert and provides a summary of related anomalies, the likely root cause, and context about when and where the issue occurred. When possible DevOps Guru, also provides recommendations on how to remediate the issue.</p><h3>Amazon HealthLake</h3><p>Amazon HealthLake is a HIPAA-eligible service that enables healthcare providers, health insurance companies, and pharmaceutical companies to store, transform, query, and analyze health data at scale.</p><p>Health data is frequently incomplete and inconsistent, and is often unstructured, with information contained in clinical notes, laboratory reports, insurance claims, medical images, recorded conversations, and time series data (for example, heart ECG or brain EEG traces) across disparate formats and systems. Every health care provider, payer, and life sciences company is trying to solve the problem of structuring the data, because if they do, they can make better patient support decisions, design better clinical trials, and operate more efficiently.</p><h3>Amazon Personalize</h3><p>Amazon Personalize enables developers to build applications with the same machine learning (ML) technology used by Amazon.com for real-time personalized recommendations — no ML expertise required.</p><p>Amazon Personalize makes it easy for developers to build applications capable of delivering a wide array of personalization experiences, including specific product recommendations, personalized product re-ranking, and customized direct marketing. Amazon Personalize is a fully managed machine learning service that goes beyond rigid static rule based recommendation systems and trains, tunes, and deploys custom ML models to deliver highly customized recommendations to customers across industries such as retail and media and entertainment.</p><h3>ECS/EKS Anywhere</h3><p>Amazon Elastic Container Service (ECS) Anywhere is a feature of Amazon ECS that enables you to easily run and manage container workloads on customer-managed infrastructure. ECS Anywhere builds upon the ease and simplicity of Amazon ECS to provide a consistent tooling and API experience across your container-based applications. Whether on-premises or in the cloud, you’ll have similar cluster management, workload scheduling, and monitoring you’ve come to know from Amazon ECS. Reduce costs and mitigate complex local container orchestration by taking advantage of the completely managed solution that ECS Anywhere provides. ECS Anywhere helps you meet compliance requirements and scale your business without sacrificing your on-premises investments.</p><p>Amazon EKS Anywhere is a new deployment option for Amazon EKS that enables you to easily create and operate Kubernetes clusters on-premises, including on your own virtual machines (VMs) and bare metal servers. EKS Anywhere provides an installable software package for creating and operating Kubernetes clusters on-premises and automation tooling for cluster lifecycle support.</p><h3>AWS Outposts</h3><p>AWS Outposts is a fully managed service that offers the same AWS infrastructure, AWS services, APIs, and tools to virtually any datacenter, co-location space, or on-premises facility for a truly consistent hybrid experience. AWS Outposts is ideal for workloads that require low latency access to on-premises systems, local data processing, data residency, and migration of applications with local system interdependencies.</p><p>AWS compute, storage, database, and other services run locally on Outposts, and you can access the full range of AWS services available in the Region to build, manage, and scale your on-premises applications using familiar AWS services and tools.</p><h3>Vodafone Business Edge Innovation Programme with AWS</h3><p>The Vodafone Business Edge Innovation Programme with AWS gives you the power to change the game. Offering a 3 month schedule with access to Vodafone 5G and AWS Wavelength in the UK and Germany. As well as exclusive access to Edge training and expert support from Vodafone and AWS. Giving you the opportunity to test and deploy your app on Vodafone MEC powered by AWS.</p><p>AWS Wavelength is an AWS Infrastructure offering optimized for mobile edge computing applications. Wavelength Zones are AWS infrastructure deployments that embed AWS compute and storage services within communications service providers’ (CSP) datacenters at the edge of the 5G network, so application traffic from 5G devices can reach application servers running in Wavelength Zones without leaving the telecommunications network. This avoids the latency that would result from application traffic having to traverse multiple hops across the Internet to reach their destination, enabling customers to take full advantage of the latency and bandwidth benefits offered by modern 5G networks.</p><h3>AWS Perspective</h3><p>Monitoring your AWS Cloud workloads is key to maintaining operational health and efficiency. However, keeping track of the AWS resources and the relationships between them can be a challenge.</p><p>AWS Perspective is a visualization tool that quickly generates architecture diagrams of AWS Cloud workloads. You can use the solution to build, customize, and share detailed workload visualizations based on live data from AWS.</p><p>This solution works by maintaining an inventory of the AWS resources across your accounts and Regions, mapping relationships between them, and displaying them in a web user interface (web UI). When making changes to a resource, AWS Perspective saves you time by providing a link to the resource in the AWS Management Console.</p><h3>Amazon Lookout for Metrics</h3><p>Amazon Lookout for Metrics uses machine learning (ML) to automatically detect and diagnose anomalies (i.e. outliers from the norm) in business and operational data, such as a sudden dip in sales revenue or customer acquisition rates.</p><p>In a couple of clicks, you can connect Amazon Lookout for Metrics to popular data stores like Amazon S3, Amazon Redshift, and Amazon Relational Database Service (RDS), as well as third-party SaaS applications, such as Salesforce, Servicenow, Zendesk, and Marketo, and start monitoring metrics that are important to your business.</p><p>Amazon Lookout for Metrics automatically inspects and prepares the data from these sources to detect anomalies with greater speed and accuracy than traditional methods used for anomaly detection. You can also provide feedback on detected anomalies to tune the results and improve accuracy over time.</p><p>Amazon Lookout for Metrics makes it easy to diagnose detected anomalies by grouping together anomalies that are related to the same event and sending an alert that includes a summary of the potential root cause. It also ranks anomalies in order of severity so that you can prioritize your attention to what matters the most to your business.</p><h3>Amazon QuickSight Q</h3><p>Amazon QuickSight Q is a machine learning powered capability that uses natural language processing to answer your business questions instantly, saving weeks of effort from BI teams having to build pre-defined data models and dashboards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*poD8AovzNR-qwGsT" /><figcaption>Photo by <a href="https://unsplash.com/@zakariahada?utm_source=medium&amp;utm_medium=referral">Zakaria Ahada</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=497ba91648c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Survivor’s Guide to Working from Home]]></title>
            <link>https://sganley27.medium.com/a-survivors-guide-to-working-from-home-ff834ab47f94?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff834ab47f94</guid>
            <category><![CDATA[mental-health-awareness]]></category>
            <category><![CDATA[wellness]]></category>
            <category><![CDATA[work-life-balance]]></category>
            <category><![CDATA[work-from-home]]></category>
            <category><![CDATA[mental-health]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Wed, 18 Nov 2020 14:44:28 GMT</pubDate>
            <atom:updated>2020-11-18T18:13:33.361Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gZiOF-OqPA-Zhd46" /><figcaption>Photo by <a href="https://unsplash.com/@cwmonty?utm_source=medium&amp;utm_medium=referral">Chris Montgomery</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>2020 has changed the way we work.</p><p>For most people 2020 will be the first year they will experience working from home.</p><p>For others 2020 will be the first time they will experience working from home for a prolonged period of time.</p><p>Working from home has always come with the incorrect assumption that it’s easy. “Working hard or hardly working?” is something I would often hear from my part-time comedian family members.</p><p>The increased exposure to working from home has brought with it the glaring truth that working from home is not easy, in fact quite the opposite.</p><p>This new way of working has introduced a host of new challenges that people have to face on a daily basis: <br>- Managing your time<br>- Remembering to take regular breaks<br>- Switching off<br>- Collaborating<br>- Socially interacting</p><p>These challenges, if not addressed appropriate, have the potential to have a serious negative impact on our work, our physical health and, most glaringly, our mental health.</p><p>So in the hope that this blog might reach someone who is struggling I have compiled the list of tips below that might help you cope with these challenges.</p><p>I am not a certified mental health professional, if you are in need of support please reach out and talk to someone (<a href="https://www.nhs.uk/using-the-nhs/nhs-services/mental-health-services/how-to-access-mental-health-services/">https://www.nhs.uk/using-the-nhs/nhs-services/mental-health-services/how-to-access-mental-health-services/</a>).</p><ol><li><strong>Dedicate time to yourself before starting your work day</strong></li></ol><p>Like many others, when I first heard the news that we would be working from home for the foreseeable future, took out my phone and changed my alarm so I would wake up and get straight to work.</p><p>This was a terrible idea.</p><p>Going straight to work meant I didn’t give my body enough time to fully wake up, which led to me feeling down, tired and lethargic throughout the work day. It also meant my brain associated waking up with work which meant I would dread the sound of my alarm in the morning.</p><p>So, I moved my alarm back an hour to allow me to fully wake up and this has had a noticeable impact on my efficiency while working but also made me more productive outside of work.</p><p>Here’s a couple of things that I’ve found to help wake me up, but everyone is different, do what works for you:<br>- Shower<br>- Read<br>- Exercise<br>- Stretching</p><p><strong>2. Have a dedicated working space</strong></p><p>Who would have thought at the start of the year that everyones kitchen table would become an office desk?</p><p>Like everyone else, I had to find space at the start of lockdown where I could work productively. At the beginning this was a mix between the kitchen table and the living-room sofa depending on who else was in my house at the time and what meetings I had.</p><p>This wasn’t ideal.</p><p>From family members to pets, you could bet that as soon as the camera turned on it looked like I was hosting a party.</p><p>However, this wasn’t my biggest problem, that came in the form of separating my work day from downtime. When I closed my laptop over I was still sitting at the same kitchen table or sofa, making it very difficult to switch off the work brain, and turn on the relax brain.</p><p>I’m lucky enough to live in a house where I could set up a temporary office (and lucky enough to work for a company willing to pay for me to set up the office). I know this won’t be possible for everyone, but I do encourage you to try and find a space in your home where you can work which isn’t the same place where you relax after work.</p><p>Since moving to a dedicated work space I’ve been much more efficient during working hours but more importantly when I leave the office my brain is able to make the switch to relax mode so I can make the most of my down time.</p><p><strong>3. Make the most of your breaks</strong></p><p>Taking regular breaks throughout the day is important, no one can argue that. However, what you do with your breaks is up to you.</p><p>At the start of lockdown I used my breaks to catch up with the latest happenings of social and news sites on the internet.</p><p>This meant spending my breaks sitting in the same spot and looking at the same screen that I had spent the rest of the day looking at. My eyes weren’t being given a rest and my brain wasn’t able to fully turn off as I was still at the discretion of push notifications from collaboration tools such as emails and chat which immediately brought me back to work.</p><p>To try and make the most of my breaks now I’ve decided to have a dedicated morning and afternoon tea break where I leave my work space and go make a cuppa and have a real life chat with a real life person, something easier said than done these days. Don’t underestimate the positive impact of human interaction during this time!</p><p>My other change came at lunch time. Rather than bringing my lunch to my work space and surfing the net, which brings with it all of the problems mentioned above, I’ve decided to use my time to add an exercise session to my day. For me that means going to the gym or running or walking, but you can do whatever works for you. The positive impact of exercise on our physical and mental health is undeniable, I’ve found it improves my mood and productivity in the afternoons when I would typically start burning out.</p><p>I should also mention that annual leave counts as a break, if you’re one of those people holding on to all of your leave for that day when lockdown ends and the world goes back to normal, I’ve got some bad news for you: thats not coming anytime soon. So book in that leave, take time out to relax and get back into that hobby you’ve been promising yourself you would take up since the start of the year.</p><p><strong>4. Don’t use your work laptop outside of work hours</strong></p><p>This one sounds obvious, but is easier said than done.</p><p>The end of my working day at the start of lockdown was to move from one room to another where I would continue to use my work laptop for gaming and internet surfing.</p><p>This started out as an attempt to relax but when those push notifications come in from emails and chats I was able to quickly convince myself that I would just reply to one message and go back to enjoying my evening.</p><p>You don’t have to be a genius to work out that this didn’t end well. It became very difficult to me to differentiate working from relaxing and I would go to be at night feeling like I had never really finished working.</p><p>Now, when I’ve finished staring at the clock for 8 hours waiting for it to say 5, I close over my laptop, leave it on my desk and do an activity that helps me wind down. For me this can be cooking dinner, running, walking or going to the gym. You do what works for you, the important thing is that you’re not thinking about work!</p><p>As it’s currently November I will include a link where you can donate to Movember.</p><p>Movember is the leading charity changing the face of men’s health on a global scale, focusing on mental health and suicide prevention, prostate cancer and testicular cancer.</p><p><a href="https://uk.movember.com/donate">https://uk.movember.com/donate</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff834ab47f94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TIL @ AWS Builders’ Day London 2019]]></title>
            <link>https://sganley27.medium.com/til-aws-builders-day-london-2019-3276dc3630ef?source=rss-65296dc43595------2</link>
            <guid isPermaLink="false">https://medium.com/p/3276dc3630ef</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Shaun Ganley]]></dc:creator>
            <pubDate>Thu, 07 Mar 2019 17:10:36 GMT</pubDate>
            <atom:updated>2019-03-07T17:10:36.519Z</atom:updated>
            <content:encoded><![CDATA[<p>On 04.03.2019 I attended the London branch of this years AWS Builders’ Day. Before I get into the technical detail I wanted to say kudos for putting on an event of this magnitude free of charge. There were a few hundred guests on the day in the very central County Hall in London with breakfast, snacks and lunch all provided without it ever feeling overcrowded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IfsjSOFS3_Ww2oOb" /><figcaption>Photo by <a href="https://unsplash.com/@lucamicheli?utm_source=medium&amp;utm_medium=referral">Luca Micheli</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The event was well organised with 3 different tracks for maximum efficiency. I spent most of the day attending sessions in the “modern application development” track, covering topics such as CI/CD and serverless. Below are some of the topics/services covered in those sessions that</p><h3><strong>SAM</strong></h3><blockquote>The AWS Serverless Application Model (AWS SAM) is an open-source framework that you can use to build serverless applications on AWS.</blockquote><blockquote>A serverless application is a combination of Lambda functions, event sources, and other resources that work together to perform tasks. Note that a serverless application is more than just a Lambda function — it can include additional resources such as APIs, databases, and event source mappings.</blockquote><p>As the serverless revolution continues to run wild in the software industry, everyones favourite buzzword of 2019 is starting to gain some real maturity. SAM is a real step in the right direction of making serverless into the enterprise tool that could make it the industry standard in the not so distant future.</p><h3>CDK</h3><blockquote>The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation. The CDK integrates fully with AWS services and offers a higher level object-oriented abstraction to define AWS resources imperatively. Using the CDK’s library of infrastructure constructs, you can easily encapsulate AWS best practices in your infrastructure definition and share it without worrying about boilerplate logic. The CDK improves the end-to-end development experience because you get to use the power of modern programming languages to define your AWS infrastructure in a predictable and efficient manner.</blockquote><p>I’m interested to see how the CDK will stand up against industry standards such as Terraform for infrastructure as code. The only down side to the CDK is vendor lock-in with Terraform offering the ability to provision resources across other cloud platforms. It could well see a niche in the developer market where operations personnel are lacking due to the programming languages used.</p><h3>Canary Releases</h3><blockquote>In API Gateway, a canary release deployment uses the deployment stage for the production release of the base version of an API, and attaches to the stage a canary release for the new versions, relative to the base version, of the API. The stage is associated with the initial deployment and the canary with subsequent deployments. At the beginning, both the stage and the canary point to the same API version. We use stage and production release interchangeably and use canary and canary release interchangeably throughout this section.</blockquote><p>Basically instead of just dropping a new version of your application you can set you release process up in a way that will slowly route more traffic to the new version while monitoring and issues arising to allow the deployment to be pulled. If you use a service that supports canary deployments (such as API Gateway and Lambda) then this seems to be a no-brainer to save the manual effort of rolling back, if you don’t then you probably don’t care about this too much.</p><h3>Lambda Layers</h3><blockquote>You can configure your Lambda function to pull in additional code and content in the form of layers. A layer is a ZIP archive that contains libraries, a custom runtime, or other dependencies. With layers, you can use libraries in your function without needing to include them in your deployment package.</blockquote><p>Lambda is maturing, everyone run for the hills!</p><h3>DynamoDB Global Tables</h3><blockquote>Global Tables builds upon DynamoDB’s global footprint to provide you with a fully managed, multi-region, and multi-master database that provides fast, local, read and write performance for massively scaled, global applications. Global Tables replicates your Amazon DynamoDB tables automatically across your choice of AWS regions.</blockquote><p>Removes a lot of the pain of having to make your database highly available and having data correct itself across replicas. You can choose whether you want your queries to be immediate or highly accurate depending on your business need.</p><h3>Global accelerator</h3><blockquote>AWS Global Accelerator is a network layer service that you use to create <em>accelerators</em> that direct traffic to optimal endpoints over the AWS global network. This improves the availability and performance of your internet applications that are used by a global audience.</blockquote><p>If you’re not using any of the advanced routing features offered by Route53 then you are probably better off using global accelerator which uses static IPs for faster routing and healthchecks for automatic failover.</p><h3>Amplify</h3><blockquote>AWS Amplify is a JavaScript library for frontend and mobile developers building cloud-enabled applications.</blockquote><blockquote>AWS Amplify provides a declarative and easy-to-use interface across different categories of cloud operations. AWS Amplify goes well with any JavaScript based frontend workflow, and React Native for mobile developers.</blockquote><p>Got an idea for an app and want a fast way to get it production ready? Look no further. Amplify allows you to add authentication, analytics, APIs, storage, notifications and more to your app from the command line. A very useful tool for prototyping.</p><h3>Fargate</h3><blockquote>AWS Fargate is a technology that you can use with Amazon ECS to run <a href="https://aws.amazon.com/what-are-containers">containers</a> without having to manage servers or clusters of Amazon EC2 instances. With AWS Fargate, you no longer have to provision, configure, or scale clusters of virtual machines to run containers. This removes the need to choose server types, decide when to scale your clusters, or optimize cluster packing.</blockquote><p>AWS’ answer to Kubernetes. In a world where everything is containerised if don’t have have the expertise to use Kubernetes then Fargate can do a lot of the heavy lifting to get your containerised application in a production ready state. If you do have the option to use Kubernetes then using AWS EKS gives the ability to keep yourself platform agnostic, making it the smarter choice.</p><h3>Cloud Map</h3><blockquote>AWS Cloud Map keeps track of all your application components, their locations, attributes and health status. Now your applications can simply query AWS Cloud Map using AWS SDK, API or even DNS to discover the locations of its dependencies. That allows your applications to scale dynamically and connect to upstream services directly, increasing the responsiveness of your applications.</blockquote><p>And finally, Cloud Map is the newest of the services I’ve listed here. It could prove to be quite a useful tool, allowing dependencies to be switched out without requiring a change to any configuration files making it easier to build scalable applications. Whether this service proves itself useful enough to become a must-use in any application is yet to be seen.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3276dc3630ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>