<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Numfor Precious</title>
    <description>The latest articles on DEV Community by Numfor Precious (@numfor13).</description>
    <link>https://dev.to/numfor13</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4086580%2Ff6ec3f2f-61dc-4bb0-a80b-524727db2f20.jpg</url>
      <title>DEV Community: Numfor Precious</title>
      <link>https://dev.to/numfor13</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/numfor13"/>
    <language>en</language>
    <item>
      <title>Who Tests the Cloud? How I Built a Self-Checking Weather API on AWS (and Why Educloud Academy Made It Possible)</title>
      <dc:creator>Numfor Precious</dc:creator>
      <pubDate>Tue, 17 Nov 2026 15:24:42 +0000</pubDate>
      <link>https://dev.to/numfor13/who-tests-the-cloud-how-i-built-a-self-checking-weather-api-on-aws-and-why-educloud-academy-made-3kj</link>
      <guid>https://dev.to/numfor13/who-tests-the-cloud-how-i-built-a-self-checking-weather-api-on-aws-and-why-educloud-academy-made-3kj</guid>
      <description>&lt;p&gt;&lt;em&gt;Five Lambda functions, one pipeline that refuses to ship broken code, and the course that took me from "I've heard of CI/CD" to "I built one."&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;One missing checkbox. That is all it took.&lt;/p&gt;

&lt;p&gt;I ran &lt;code&gt;cdk deploy&lt;/code&gt;, feeling great, and CloudFormation answered with a &lt;code&gt;403 Forbidden&lt;/code&gt; webhook error, then rolled my entire stack back. The culprit? My GitHub personal access token was missing a single webhook permission.&lt;/p&gt;

&lt;p&gt;I stared at the screen and thought: &lt;em&gt;if one tiny checkbox can undo everything, what else can slip through when nobody is checking?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Picture the worse version. It is Friday, 4:58 PM, and you push one tiny change. On Monday someone messages you: &lt;em&gt;"The app has been returning errors since Friday evening."&lt;/em&gt; Most of us have been there, or watched a teammate live it. Here is the uncomfortable truth I learned during my internship at DIGISOL GROUP: &lt;strong&gt;the problem is rarely the bug. The problem is that nothing stands between the bug and the users.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This article is about building that "something." It is the story of a small weather API I built on AWS, a pipeline that automatically tests my code before it is allowed anywhere near production, and the learning platform that taught me how, &lt;a href="https://www.educloud.academy" rel="noopener noreferrer"&gt;Educloud Academy&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you are a student or a young professional wondering how to get real, job-relevant cloud skills without getting lost in theory, stay with me. By the end you will know exactly what I built, why every service is there, what tripped me up, and why I think you should start your own learning path today.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Mission: Code That Defends Itself
&lt;/h2&gt;

&lt;p&gt;The course I followed is called &lt;strong&gt;"Unit Testing and CICD Deployment with Jest, GitHub and AWS CodePipeline."&lt;/strong&gt; The promise is simple: build a serverless application, then build the machinery that tests and deploys it automatically, every time you push code.&lt;/p&gt;

&lt;p&gt;My project does exactly that, in three layers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;An application&lt;/strong&gt;: a Weather API that can Create, Read, Update, Delete and List weather records (the classic "CRUDL").&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure as code&lt;/strong&gt;: the whole thing is defined in Python using the AWS Cloud Development Kit (CDK). No clicking around the console.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A delivery pipeline&lt;/strong&gt;: push to GitHub, and AWS automatically runs the tests, and only if they pass, deploys first to a &lt;strong&gt;dev&lt;/strong&gt; environment and then to &lt;strong&gt;prod&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is the analogy that finally made it click for me, and it involves printing an exam paper. The project has three stack files, and I kept asking why on earth I could not put everything in one file like normal people:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;lambda_stack&lt;/code&gt;&lt;/strong&gt; is the master exam paper. It holds the actual Weather app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;pipeline_stage&lt;/code&gt;&lt;/strong&gt; is the office photocopier. It stamps out one copy for practice (&lt;code&gt;dev&lt;/code&gt;) and one for real users (&lt;code&gt;prod&lt;/code&gt;), so I never write the code twice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The main pipeline stack&lt;/strong&gt; is the autopilot assistant inside AWS. It watches GitHub using a token kept in Secrets Manager.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And the &lt;code&gt;stage_name&lt;/code&gt; ("dev" or "prod") travels through all three like a relay baton: from the main stack, into &lt;code&gt;pipeline_stage&lt;/code&gt;, and finally into &lt;code&gt;lambda_stack&lt;/code&gt;, where it ends up in every resource name. Once you deploy it once, your terminal can retire. &lt;code&gt;git push&lt;/code&gt; does the rest.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; You push code ──► GitHub ──► CodePipeline
                                  │
                       ┌──────────▼───────────┐
                       │  Synth step           │
                       │  pip install          │
                       │  pytest   ◄── gate    │
                       │  cdk synth            │
                       └──────────┬───────────┘
                                  │ tests passed?
                       ┌──────────▼───────────┐
                       │  Deploy to DEV        │
                       └──────────┬───────────┘
                       ┌──────────▼───────────┐
                       │  Deploy to PROD       │
                       └──────────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The finished pipeline&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faubxntvunxylnq7gy2o1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faubxntvunxylnq7gy2o1.png" alt=" " width="799" height="243"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Meet the Cast: Every Service and Why It Earned Its Seat
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🔹 Amazon API Gateway: the front door
&lt;/h3&gt;

&lt;p&gt;A Weather API needs an address that apps can call. API Gateway gives us a managed REST API with five routes:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Route&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Job&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/create-weather&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;POST&lt;/td&gt;
&lt;td&gt;Save a new weather record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/get-weather&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;GET&lt;/td&gt;
&lt;td&gt;Fetch one record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/list-weathers&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;GET&lt;/td&gt;
&lt;td&gt;Fetch them all&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/update-weather&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;PUT&lt;/td&gt;
&lt;td&gt;Change a record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/delete-weather&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;DELETE&lt;/td&gt;
&lt;td&gt;Remove a record&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;The API in action.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi8gz0gi01pmx72kws3dl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi8gz0gi01pmx72kws3dl.png" alt=" " width="800" height="359"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Why API Gateway?&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Because I did not want to run, patch or scale a web server. API Gateway handles routing, traffic and the public endpoint. I only describe the routes.&lt;/p&gt;
&lt;h3&gt;
  
  
  🔹 AWS Lambda: the workers
&lt;/h3&gt;

&lt;p&gt;Behind every route sits its own Lambda function, written in Python 3.13. Each function does &lt;em&gt;one&lt;/em&gt; thing. For example, the create function reads the request, generates a unique ID, and saves the record:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;item&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;uuid&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;uuid4&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"town"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"town"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Unknown"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"weather"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"weather"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"sunny"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nf"&gt;get_table&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;put_item&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Item&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"statusCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;201&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The lambda function.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcg8p0japqk2f7z49qjhl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcg8p0japqk2f7z49qjhl.png" alt=" " width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Why Lambda?&lt;/strong&gt; Serverless means I pay only when the code actually runs, and I never think about servers. For a project like this, one that might receive ten requests a day or ten thousand, that is the perfect fit. And &lt;strong&gt;why five small functions instead of one big one?&lt;/strong&gt; Because each can be tested, secured and changed on its own. A bug in "delete" cannot break "create."&lt;/p&gt;

&lt;h3&gt;
  
  
  🔹 Amazon DynamoDB: the memory
&lt;/h3&gt;

&lt;p&gt;Weather records need to live somewhere. DynamoDB is a fast NoSQL database where each record is found by a key, here a simple string &lt;code&gt;id&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The memory.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnxxic603u4qzsqow8kjy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnxxic603u4qzsqow8kjy.png" alt=" " width="800" height="356"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Why DynamoDB?&lt;/strong&gt; Our access pattern is simple: "give me the record with this ID." That is exactly what DynamoDB is built for, with single-digit-millisecond lookups and zero database servers to manage. No schema migrations, no connection pools.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔹 AWS CDK: the blueprint
&lt;/h3&gt;

&lt;p&gt;This is the part that changed how I think. Instead of creating resources by hand, I wrote them as Python code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;table&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dynamodb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Table&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{stage_name}WeatherApiTable"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;table_name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{stage_name}weatherApiTable"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;partition_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;dynamodb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Attribute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;dynamodb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;AttributeType&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;STRING&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;removal_policy&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nc"&gt;RemovalPolicy&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;DESTROY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The blueprint.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fde49di15xnztpu3gtaui.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fde49di15xnztpu3gtaui.png" alt=" " width="799" height="375"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Why CDK?&lt;/strong&gt; Three reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repeatable.&lt;/strong&gt; The same code builds &lt;code&gt;dev&lt;/code&gt; and &lt;code&gt;prod&lt;/code&gt;. Only the &lt;code&gt;stage_name&lt;/code&gt; changes, so the dev table is &lt;code&gt;devweatherApiTable&lt;/code&gt; and the prod table is &lt;code&gt;prodweatherApiTable&lt;/code&gt;. Same blueprint, two identical, separate worlds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewable.&lt;/strong&gt; Infrastructure changes show up in Git like any other change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Testable.&lt;/strong&gt; (Hold that thought. This is where it gets exciting.)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One line I especially love is how permissions are granted:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;table&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;grant_write_data&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;create_weather_lambda&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;table&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;grant_read_data&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;get_weather_lambda&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The "get" function can only &lt;em&gt;read&lt;/em&gt;. The "create" function can only &lt;em&gt;write&lt;/em&gt;. CDK generates the IAM permissions for me, which means &lt;strong&gt;least privilege by default&lt;/strong&gt;, a security habit that employers love, handed to me in one line.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔹 AWS CodePipeline: the conveyor belt
&lt;/h3&gt;

&lt;p&gt;This is the automation. Defined in &lt;code&gt;unit_testing_educloud_stack.py&lt;/code&gt;, the pipeline watches my GitHub repository's &lt;code&gt;main&lt;/code&gt; branch. On every push it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Pulls the code.&lt;/li&gt;
&lt;li&gt;Installs dependencies.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Runs &lt;code&gt;python -m pytest&lt;/code&gt;.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Runs &lt;code&gt;cdk synth&lt;/code&gt; to produce the infrastructure template.&lt;/li&gt;
&lt;li&gt;Deploys the &lt;code&gt;dev&lt;/code&gt; stage, then the &lt;code&gt;prod&lt;/code&gt; stage.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Inside the Build stage.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4s1mx0qodo3zwpgfifl3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4s1mx0qodo3zwpgfifl3.png" alt=" " width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Why CodePipeline?&lt;/strong&gt; Because "it worked on my laptop" is not a deployment strategy. The pipeline is the single, consistent path to production. And the pipeline is &lt;em&gt;self-mutating&lt;/em&gt;: if I change the pipeline's own code, it updates itself. There is no magic in that. The &lt;code&gt;UpdatePipeline&lt;/code&gt; stage simply uses CloudFormation to update the pipeline. CodeBuild does not guess what to run either: it is a temporary container that executes the commands I listed, drops the compiled &lt;code&gt;cdk.out&lt;/code&gt; files into an S3 bucket, and disappears while S3 carries them to the next stage.&lt;/p&gt;

&lt;p&gt;Two things surprised me while preparing to present this project:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. A green Build does not guarantee a green Dev.&lt;/strong&gt; Build only proves the code works on paper. Dev is where reality hits: missing IAM permissions, KMS decryption blocks, artifact handoff mismatches, or CloudFormation discovering that a table name already exists in the account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Do not run &lt;code&gt;cdk deploy&lt;/code&gt; by hand once the pipeline is live.&lt;/strong&gt; It updates AWS immediately and ignores GitHub, right up until your next &lt;code&gt;git push&lt;/code&gt;. Then the self-mutating pipeline politely wipes out your unpushed local changes, because GitHub is the single source of truth. Be patient, and let the pipeline do its job.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔹 AWS Secrets Manager: the vault
&lt;/h3&gt;

&lt;p&gt;For CodePipeline to read my private GitHub repo, it needs a GitHub token. Pasting a token into code would be a security disaster. The course teaches you to store it in &lt;strong&gt;AWS Secrets Manager&lt;/strong&gt;, so the pipeline fetches it securely at runtime and the secret never touches the repository.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The vault.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmbnk5octxmpx2a5fkqnn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmbnk5octxmpx2a5fkqnn.png" alt=" " width="799" height="375"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;My own near-miss:&lt;/strong&gt; my first deployment failed with that &lt;code&gt;403&lt;/code&gt; webhook error because the token was missing one permission checkbox. The fix took seconds once I knew where to look: update the token in Secrets Manager and redeploy. Finding it took much longer. If you take one thing from this section, let it be this: &lt;strong&gt;when a pipeline cannot reach GitHub, check the token's permissions before you touch the code.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why it matters:&lt;/strong&gt; leaked keys on public repos are one of the most common ways beginners (and professionals!) get burned. Learning this in Module 1, before writing a single function, tells you how seriously the course takes real-world habits.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Heart of It All: Two Kinds of Tests
&lt;/h2&gt;

&lt;p&gt;This is the part of the project I am proudest of, and the reason for the course title.&lt;/p&gt;

&lt;h3&gt;
  
  
  Type 1: Testing the infrastructure itself
&lt;/h3&gt;

&lt;p&gt;Wait, you can &lt;em&gt;test&lt;/em&gt; your cloud setup? Yes. CDK can turn your code into a CloudFormation template, and then you can make assertions about it, &lt;strong&gt;without deploying anything&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;test_five_lambda_functions_created&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;core&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;App&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;stack&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;LambdaStack&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"MyTestStack"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;stage_name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Dev"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;template&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;assertions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Template&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;from_stack&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;stack&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;template&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;resource_count_is&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"AWS::Lambda::Function"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This test says: &lt;em&gt;"There must be exactly five Lambda functions."&lt;/em&gt; If a teammate accidentally deletes one, the build fails before anything reaches AWS. The same file checks the DynamoDB table name, the API Gateway name, and each function's properties and environment variables.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Infrastructure tests passing.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbpjf16ha29i9vezqw72e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbpjf16ha29i9vezqw72e.png" alt=" " width="798" height="174"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Imagine the peace of mind. Your infrastructure now has a safety net, and it runs in under a few seconds, for free.&lt;/p&gt;

&lt;h3&gt;
  
  
  Type 2: Testing the business logic
&lt;/h3&gt;

&lt;p&gt;The Lambda functions talk to DynamoDB. But in a unit test, I do not &lt;em&gt;want&lt;/em&gt; to hit a real database. It would be slow, cost money and fail when the internet does.&lt;/p&gt;

&lt;p&gt;The solution is &lt;strong&gt;mocking&lt;/strong&gt;: replace the database with a stand-in that behaves the way I tell it to.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nd"&gt;@patch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"src.get_weather.get_table"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;test_get_weather&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mock_get_table&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;mock_get_table&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;return_value&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get_item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;return_value&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"Item"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"town"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Douala"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"weather"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"hot"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;get_weather&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"pathParameters"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"statusCode"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here I tell the fake database: &lt;em&gt;"When asked for item 1, say it's hot in Douala."&lt;/em&gt; Then I check that the function responds with a &lt;code&gt;200&lt;/code&gt;. No AWS account needed, no network, no cost. The test runs in milliseconds.&lt;/p&gt;

&lt;p&gt;Notice something small but clever in the handler code: the &lt;code&gt;boto3&lt;/code&gt; import and the table lookup live inside a tiny &lt;code&gt;get_table()&lt;/code&gt; function. That is &lt;em&gt;exactly&lt;/em&gt; what makes the mock possible. &lt;strong&gt;Good tests are often a design decision, not an afterthought.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The full test run.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flim5g75reppj7b6g4674.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flim5g75reppj7b6g4674.png" alt=" " width="798" height="133"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  The magic moment: connecting the two to the pipeline
&lt;/h3&gt;

&lt;p&gt;Remember step 3 in the pipeline, &lt;code&gt;python -m pytest&lt;/code&gt;? Because the tests run &lt;em&gt;inside&lt;/em&gt; the pipeline, &lt;strong&gt;a failing test stops the deployment.&lt;/strong&gt; Broken code cannot reach &lt;code&gt;dev&lt;/code&gt;, and certainly cannot reach &lt;code&gt;prod&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The pipeline saying no.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl1ehm2iiuwda0myqb3qq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl1ehm2iiuwda0myqb3qq.png" alt=" " width="800" height="369"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is the answer to my Friday 4:58 PM nightmare. Now the pipeline works the weekend shift for me.&lt;/p&gt;




&lt;h2&gt;
  
  
  Lessons Learned (the honest ones)
&lt;/h2&gt;

&lt;p&gt;Every project teaches you more through what went wrong than what went right. Here is my list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Translate, don't just copy.&lt;/strong&gt;&lt;br&gt;
The course was taught in TypeScript with Jest. I rebuilt everything in Python with pytest and the CDK Python library. It forced me to &lt;em&gt;understand&lt;/em&gt; each concept instead of memorising syntax. Tell-tale sign I learned it the hard way: a few function names in my stack still say &lt;code&gt;cdk-typescript-create&lt;/code&gt;, a fossil from the original lesson. (They are on my cleanup list!) If you can port a lesson to another language, you have truly learned it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Environment problems are part of the job.&lt;/strong&gt;&lt;br&gt;
On my Windows machine, the CDK's JSII runtime tried to write its package cache to a restricted AppData folder, and my tests failed before they even began. The fix was to point the cache into the project's own &lt;code&gt;.pytest_cache&lt;/code&gt; folder with an environment variable at the top of the test file. Nobody puts "fighting your tooling" in a course, but it is half of real engineering.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Tests prove what you asked them to prove, nothing more.&lt;/strong&gt;&lt;br&gt;
My Lambda tests check that the response has the right shape and status code. That is a great start, but they mock the database, so they cannot prove my DynamoDB calls are correct against the real service. Unit tests are one layer of confidence. The next layers are integration tests and monitoring. Knowing the &lt;em&gt;limits&lt;/em&gt; of a test is as valuable as writing one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Defaults hide bugs.&lt;/strong&gt;&lt;br&gt;
My handlers fall back to defaults when input is missing, like an ID of &lt;code&gt;"1"&lt;/code&gt;. It makes demos smooth, but in a production system a missing ID should return a clear &lt;code&gt;400 Bad Request&lt;/code&gt; rather than quietly touching record &lt;code&gt;1&lt;/code&gt;. This is exactly what I would harden next.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Clean up as you learn.&lt;/strong&gt;&lt;br&gt;
My table uses &lt;code&gt;RemovalPolicy.DESTROY&lt;/code&gt;, so deleting the stack deletes the data. Perfect for a learning project where I want to avoid leftover cloud bills; dangerous for production. I now ask "what happens when this is deleted?" about every resource I create.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Small functions, big confidence.&lt;/strong&gt;&lt;br&gt;
Splitting the API into five single-purpose Lambdas made each test trivial to write and each failure trivial to locate.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Automate the boring and the risky.&lt;/strong&gt; If a human has to remember to run the tests, eventually they will forget. Put the tests in the pipeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure is code, so test it like code.&lt;/strong&gt; Template assertions catch mistakes in seconds, for free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mock the outside world.&lt;/strong&gt; Fast, cheap, reliable unit tests need fakes in place of real databases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Least privilege is a habit.&lt;/strong&gt; One &lt;code&gt;grant_read_data&lt;/code&gt; line beats a wildcard policy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never hard-code secrets.&lt;/strong&gt; Use Secrets Manager from day one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The best learning is building.&lt;/strong&gt; I understood more by shipping this small project than from hours of passive reading.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why I'm Telling You to Try Educloud Academy
&lt;/h2&gt;

&lt;p&gt;I have saved this part for last, because it is the reason I could build any of this.&lt;/p&gt;

&lt;p&gt;Plenty of tutorials show you a screenshot and say "click here." &lt;strong&gt;Educloud Academy teaches you to build the thing.&lt;/strong&gt; The course I followed is structured as five modules and twenty lessons, moving in the exact order a real project unfolds:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Module&lt;/th&gt;
&lt;th&gt;What you do&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. Get Started&lt;/td&gt;
&lt;td&gt;Initialize the app, set your GitHub token in Secrets Manager, configure CodePipeline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. Add Deployment Stages&lt;/td&gt;
&lt;td&gt;Create separate dev and prod stages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. Build the Stack&lt;/td&gt;
&lt;td&gt;Define the DynamoDB table, API Gateway, Lambda functions and endpoints&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Define Test Cases&lt;/td&gt;
&lt;td&gt;Write infrastructure and Lambda tests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5. Testing&lt;/td&gt;
&lt;td&gt;Run it all and watch the pipeline do its job&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I will be honest about the start: Module 1 humbled me. I understood &lt;em&gt;what&lt;/em&gt; CodePipeline was and &lt;em&gt;why&lt;/em&gt; CI/CD matters, but I could not see how the CDK constructs fit together, and I seriously doubted myself. Then I went back, dropped the textbook jargon, and traced one piece at a time until it made human sense. That struggle is the point. The course is built so that you push through it with a working project at the end.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fokluomfgzz8iz2exo0wy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fokluomfgzz8iz2exo0wy.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is what stood out to me, especially as a student:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It is project-based.&lt;/strong&gt; You end with something real: a repository, a running pipeline, a portfolio piece you can show an interviewer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It teaches the services employers actually use&lt;/strong&gt;: Lambda, API Gateway, DynamoDB, Secrets Manager, CDK and CodePipeline are everyday tools in cloud teams.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It starts free.&lt;/strong&gt; Module 1 is open, so you can try the first steps with zero risk before committing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It is paced for humans.&lt;/strong&gt; Intermediate level, clear lesson-by-lesson progress tracking, an AI tutor to ask when you are stuck, and lifetime access so you can come back whenever you need a refresher.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are a student wondering how to stand out, or a young professional trying to move from "I know the theory" to "I have deployed it," here is my honest advice: &lt;strong&gt;pick one project and finish it.&lt;/strong&gt; Employers rarely ask what courses you watched. They ask what you &lt;em&gt;built&lt;/em&gt;. This course hands you something to build.&lt;/p&gt;




&lt;h2&gt;
  
  
  Where This Fits, and Who Made It Possible
&lt;/h2&gt;

&lt;p&gt;This pipeline is one chapter in a series of cloud projects I built during my internship at DIGISOL GROUP: a serverless Weather API with AWS SAM, a live weather dashboard on top of it, and a serverless e-commerce backend with single-table DynamoDB, DynamoDB Streams and SQS. Each one started with an Educloud Academy course and ended with something I could run, break and fix.&lt;/p&gt;

&lt;p&gt;None of it happened alone:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Educloud Academy&lt;/strong&gt;, founded by Ndimofor Ateh Rosius, for a platform where cloud skills are learned by building real systems, not by memorising slides.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DIGISOL GROUP&lt;/strong&gt; for the engineering environment, the sprint autonomy and the space to make mistakes, debug in real time and take ownership of the work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Josué Fotseu&lt;/strong&gt;, my supervisor and mentor, whose code reviews pushed me to ask "why?" about every stage until I could explain the system to anyone, not just run it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Your Turn
&lt;/h2&gt;

&lt;p&gt;Start with Module 1 at &lt;a href="https://www.educloud.academy" rel="noopener noreferrer"&gt;educloud.academy&lt;/a&gt;. Do not just follow along: change the language, rename the resources, break a test on purpose and watch the pipeline refuse to deploy. That moment, when a red failed build protects you from your own mistake, is the one that makes everything click.&lt;/p&gt;

&lt;p&gt;What was the last bug that slipped into production on you? Tell me in the comments. I would love to hear how a pipeline could have caught it.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>serverless</category>
      <category>testing</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
