<?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: Edith Ogechi Odo</title>
    <description>The latest articles on DEV Community by Edith Ogechi Odo (@edith_ogechiodo_48a0e8ed).</description>
    <link>https://dev.to/edith_ogechiodo_48a0e8ed</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%2F4002888%2Fe97fb5ac-74c7-4540-afb7-79a81f20c3c8.jpg</url>
      <title>DEV Community: Edith Ogechi Odo</title>
      <link>https://dev.to/edith_ogechiodo_48a0e8ed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/edith_ogechiodo_48a0e8ed"/>
    <language>en</language>
    <item>
      <title>Deploying a Flask API to Kubernetes with KIND and Argo CD</title>
      <dc:creator>Edith Ogechi Odo</dc:creator>
      <pubDate>Sun, 15 Nov 2026 22:23:14 +0000</pubDate>
      <link>https://dev.to/edith_ogechiodo_48a0e8ed/deploying-a-flask-api-to-kubernetes-with-kind-and-argo-cd-52fi</link>
      <guid>https://dev.to/edith_ogechiodo_48a0e8ed/deploying-a-flask-api-to-kubernetes-with-kind-and-argo-cd-52fi</guid>
      <description>&lt;p&gt;After containerizing the Task Management API and working on its CI/CD pipeline, the next stage of my DevOps capstone was learning how to deploy and manage the application using Kubernetes.&lt;/p&gt;

&lt;p&gt;For this stage, I used KIND to create a local node Kubernetes cluster and Argo CD to introduce GitOps-based deployment.&lt;/p&gt;

&lt;p&gt;I also worked on the monitoring requirements involving Prometheus and Grafana.&lt;/p&gt;

&lt;p&gt;Here's an overview of the implementation.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Understanding the Architecture&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The architecture was designed to run the containerized API on Kubernetes, expose it through a Service, and manage its deployment through Argo CD.&lt;/p&gt;

&lt;p&gt;Architecture components&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;KIND: Creates a local Kubernetes cluster using Docker containers as nodes.&lt;/li&gt;
&lt;li&gt;Kubernetes: Manages application deployment, scaling, and networking.&lt;/li&gt;
&lt;li&gt;Deployment: Maintains the required number of application replicas.&lt;/li&gt;
&lt;li&gt;Service: Exposes the application.&lt;/li&gt;
&lt;li&gt;ConfigMaps: Store non-sensitive configuration.&lt;/li&gt;
&lt;li&gt;Secrets: Store sensitive configuration.&lt;/li&gt;
&lt;li&gt;Argo CD:Supports GitOps-based deployment and synchronization.&lt;/li&gt;
&lt;li&gt;Prometheus and Grafana:Support metrics collection and visualization.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Creating the KIND Cluster&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I started by setting up KIND and preparing a multi-node cluster.&lt;/p&gt;

&lt;p&gt;The cluster contained:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One control-plane node.&lt;/li&gt;
&lt;li&gt;Two worker nodes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I used a KIND configuration file to define the cluster nodes and created the cluster.&lt;/p&gt;

&lt;p&gt;After creation, I checked the nodes:&lt;/p&gt;

&lt;p&gt;kubectl get nodes&lt;/p&gt;

&lt;p&gt;I verified that the nodes were in the Ready state before proceeding.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Configuring the Kubernetes Deployment&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Next, I created a Kubernetes Deployment for the Task Management API.&lt;/p&gt;

&lt;p&gt;The Deployment used the Docker image published to Docker Hub.&lt;/p&gt;

&lt;p&gt;I configured:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The application image.&lt;/li&gt;
&lt;li&gt;Container port 8000.&lt;/li&gt;
&lt;li&gt;Two replicas.&lt;/li&gt;
&lt;li&gt;Rolling update strategy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Deployment ensured that Kubernetes maintained the desired number of application replicas.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creating the Kubernetes Service&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I created a NodePort Service to expose the application.&lt;/p&gt;

&lt;p&gt;The Service mapped port 8000 to NodePort 30080.&lt;/p&gt;

&lt;p&gt;This allowed access to the application through the Kubernetes cluster's exposed NodePort.&lt;/p&gt;

&lt;p&gt;I also checked the Service endpoints to confirm that traffic could be directed to the application pods.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Configuring ConfigMaps and Secrets&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I separated application configuration from the container image.&lt;/p&gt;

&lt;p&gt;I created a ConfigMap for non-sensitive configuration values and a Kubernetes Secret for sensitive values.&lt;/p&gt;

&lt;p&gt;The Deployment was updated to load these values through environment references.&lt;/p&gt;

&lt;p&gt;This made configuration management more flexible and avoided hardcoding application settings into the image.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Implementing Rolling Updates&lt;/li&gt;
&lt;/ol&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%2Fxnp0v5bi5o10wgveqzmk.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%2Fxnp0v5bi5o10wgveqzmk.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I configured the Deployment to use a rolling update strategy.&lt;/p&gt;

&lt;p&gt;The strategy allowed Kubernetes to replace application pods gradually rather than terminating all existing pods at once.&lt;/p&gt;

&lt;p&gt;I also worked with rollback functionality to understand how to return to a previous Deployment revision when an update causes problems.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Installing Argo CD&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The next stage was introducing GitOps.&lt;/p&gt;

&lt;p&gt;I created an 'argocd' namespace and installed the Argo CD resources in the cluster.&lt;/p&gt;

&lt;p&gt;I checked the status of the Argo CD components to verify that the installation was progressing.&lt;/p&gt;

&lt;p&gt;Argo CD provides a way to manage Kubernetes application deployments using the desired state defined in Git.&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%2Fkdveo91qhzv3rflxob2s.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%2Fkdveo91qhzv3rflxob2s.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The intended workflow was:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Store Kubernetes manifests in Git.&lt;/li&gt;
&lt;li&gt;Connect the repository to Argo CD.&lt;/li&gt;
&lt;li&gt;Configure the application to track the repository.&lt;/li&gt;
&lt;li&gt;Allow Argo CD to synchronize the desired configuration with the cluster.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Monitor application synchronization and health.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Monitoring with Prometheus and Grafana&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The monitoring stage focused on understanding how to observe application and cluster performance.&lt;/p&gt;

&lt;p&gt;Prometheus was selected for metrics collection, while Grafana was used for dashboards and visualization.&lt;br&gt;
Prometheus and Grafana were part of the capstone monitoring work. The monitoring and alerting components were the next stage to configure and validate alongside the Kubernetes deployment.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Monitoring and Incident Response Goals&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The monitoring requirements also covered:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Building dashboards to visualize metrics.&lt;/li&gt;
&lt;li&gt;Configuring Slack notifications for alerts.&lt;/li&gt;
&lt;li&gt;Simulating incidents.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These activities demonstrate why monitoring is important after an application has been deployed.&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%2Fj44kliwx6jy5996pz5y9.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%2Fj44kliwx6jy5996pz5y9.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>docker</category>
      <category>infrastructure</category>
      <category>kubernetes</category>
    </item>
    <item>
      <title>Building a CI/CD Pipeline with GitHub Actions and Trivy for a Dockerized Flask API</title>
      <dc:creator>Edith Ogechi Odo</dc:creator>
      <pubDate>Sun, 15 Nov 2026 22:08:05 +0000</pubDate>
      <link>https://dev.to/edith_ogechiodo_48a0e8ed/building-a-cicd-pipeline-with-github-actions-and-trivy-for-a-dockerized-flask-api-cg9</link>
      <guid>https://dev.to/edith_ogechiodo_48a0e8ed/building-a-cicd-pipeline-with-github-actions-and-trivy-for-a-dockerized-flask-api-cg9</guid>
      <description>&lt;p&gt;After containerizing the Task Management API, the next stage of my DevOps capstone was automating the application build and delivery process.&lt;/p&gt;

&lt;p&gt;The goal was to reduce manual work, introduce automated testing, build Docker images, and scan images for vulnerabilities before publishing them.&lt;/p&gt;

&lt;p&gt;For this stage, I worked with GitHub Actions, Docker Hub, and Trivy.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Understanding the CI/CD Architecture&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The pipeline was designed to start whenever changes were pushed to the GitHub repository.&lt;/p&gt;

&lt;p&gt;Architecture components&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: Hosts the source code.&lt;/li&gt;
&lt;li&gt;GitHub Actions: Automates the pipeline.&lt;/li&gt;
&lt;li&gt;Pytest: Runs automated application tests.&lt;/li&gt;
&lt;li&gt;Docker: Builds the application image.&lt;/li&gt;
&lt;li&gt;Trivy:Scans the image for vulnerabilities.&lt;/li&gt;
&lt;li&gt;Docker Hub:Stores the published image.&lt;/li&gt;
&lt;li&gt;GitHub Secrets: Stores sensitive credentials.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Preparing the GitHub Repository&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I prepared the GitHub Actions workflow directory:&lt;/p&gt;

&lt;p&gt;mkdir -p .github/workflows&lt;/p&gt;

&lt;p&gt;The workflow configuration was placed inside:&lt;/p&gt;

&lt;p&gt;.github/workflows/ci-cd.yml&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Configuring the GitHub Actions Workflow&lt;/li&gt;
&lt;/ol&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%2Fuxb24vi4xct3prqsm6t8.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%2Fuxb24vi4xct3prqsm6t8.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I configured the workflow to automate the main CI/CD stages.&lt;/p&gt;

&lt;p&gt;The pipeline was designed to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Check out the source code.&lt;/li&gt;
&lt;li&gt;Set up the required Python environment.&lt;/li&gt;
&lt;li&gt;Install project dependencies.&lt;/li&gt;
&lt;li&gt;Run automated tests.&lt;/li&gt;
&lt;li&gt;Build the Docker image.&lt;/li&gt;
&lt;li&gt;Scan the image using Trivy.&lt;/li&gt;
&lt;li&gt;Authenticate with Docker Hub.&lt;/li&gt;
&lt;li&gt;Publish the image.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This helped establish a repeatable process whenever new code was pushed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Configuring Automated Testing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I added an automated testing stage using Pytest.&lt;/p&gt;

&lt;p&gt;The purpose was to ensure that application tests ran before the Docker image was published.&lt;/p&gt;

&lt;p&gt;One important detail was using:&lt;/p&gt;

&lt;p&gt;python -m pytest -q&lt;/p&gt;

&lt;p&gt;This ensured that Python executed Pytest through the active interpreter and resolved the application module correctly in the project environment.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Building the Docker Image&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After the test stage, the workflow built the Docker image using the application's Dockerfile.&lt;/p&gt;

&lt;p&gt;This ensured that the image could be recreated automatically from the source code.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Integrating Trivy&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I integrated Trivy into the workflow to scan the Docker image for known vulnerabilities.&lt;/p&gt;

&lt;p&gt;The purpose of this stage was to identify potential security issues in the image before publishing it.&lt;/p&gt;

&lt;p&gt;Image scanning is an important part of DevSecOps because an image that builds successfully is not necessarily a secure image.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Managing Credentials with GitHub Secrets&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The pipeline needed credentials to authenticate with Docker Hub.&lt;/p&gt;

&lt;p&gt;Rather than placing credentials directly inside the workflow file, I configured GitHub Secrets.&lt;/p&gt;

&lt;p&gt;The credentials were then referenced by the workflow during authentication.&lt;/p&gt;

&lt;p&gt;This helped prevent sensitive information from being committed to the repository.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Publishing the Docker Image&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After the build and security stages, the workflow was configured to publish the image to Docker Hub.&lt;/p&gt;

&lt;p&gt;This made the container image available for later deployment to Kubernetes.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Understanding the Pipeline Flow&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The most important lesson from this stage was understanding the dependency between pipeline stages.&lt;/p&gt;

&lt;p&gt;Testing should happen before publishing. The image should be built before it can be scanned, and authentication is required before pushing it to a private registry.&lt;/p&gt;

&lt;p&gt;This creates a more controlled application delivery process.&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%2F73zwgpjdpwj2kl93lu7b.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%2F73zwgpjdpwj2kl93lu7b.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>automation</category>
      <category>devops</category>
      <category>docker</category>
      <category>github</category>
    </item>
    <item>
      <title>Containerizing a Flask Task Management API with Docker and Docker Compose</title>
      <dc:creator>Edith Ogechi Odo</dc:creator>
      <pubDate>Sun, 15 Nov 2026 21:27:42 +0000</pubDate>
      <link>https://dev.to/edith_ogechiodo_48a0e8ed/containerizing-a-flask-task-management-api-with-docker-and-docker-compose-183o</link>
      <guid>https://dev.to/edith_ogechiodo_48a0e8ed/containerizing-a-flask-task-management-api-with-docker-and-docker-compose-183o</guid>
      <description>&lt;p&gt;As part of my DevOps Engineering capstone at Abuja Data School, I worked on containerizing a Task Management API.&lt;/p&gt;

&lt;p&gt;The objective was to understand how to package an application and its dependencies into containers, making it easier to build, run, test, and deploy consistently across environments.&lt;/p&gt;

&lt;p&gt;The application was built with Flask and PostgreSQL.&lt;/p&gt;

&lt;p&gt;Here's how I approached the project.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Understanding the Application Architecture&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Before containerizing the application, I examined its structure and understood how the API communicated with the database.&lt;/p&gt;

&lt;p&gt;The application used Flask for its API layer and PostgreSQL for persistent data storage.&lt;/p&gt;

&lt;p&gt;Architecture components&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Flask: Handles API requests and application logic.&lt;/li&gt;
&lt;li&gt;Gunicorn: Serves the Flask application.&lt;/li&gt;
&lt;li&gt;PostgreSQL: Stores task records.&lt;/li&gt;
&lt;li&gt;Docker: Packages the application into a container.&lt;/li&gt;
&lt;li&gt;Docker Compose: Coordinates the application and database services.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Cloning the Repository&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I started by cloning the task management project:&lt;/p&gt;

&lt;p&gt;git clone &lt;a href="https://github.com/...../task-mgt-capstone.git" rel="noopener noreferrer"&gt;https://github.com/...../task-mgt-capstone.git&lt;/a&gt;&lt;br&gt;
cd task-mgt-capstone&lt;/p&gt;

&lt;p&gt;I inspected the repository and reviewed the README to understand the application requirements and how it was expected to run.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Understanding the Environment Configuration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The application required environment variables for database connectivity and other settings.&lt;/p&gt;

&lt;p&gt;I reviewed the example environment configuration and prepared the required local environment values.&lt;/p&gt;

&lt;p&gt;This helped separate configuration from application code.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creating the Dockerfile&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I created a Dockerfile to define how the application image would be built.&lt;/p&gt;

&lt;p&gt;The image needed to include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A suitable Python runtime.&lt;/li&gt;
&lt;li&gt;Application dependencies.&lt;/li&gt;
&lt;li&gt;The application source code.&lt;/li&gt;
&lt;li&gt;The required startup configuration.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Configuring Docker Compose&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rather than starting the API and database independently, I used Docker Compose to manage the services.&lt;/p&gt;

&lt;p&gt;The Compose configuration defined the application and PostgreSQL services, their environment variables, networking, and persistent database storage.&lt;/p&gt;

&lt;p&gt;This allowed the services to communicate through the Compose network.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Building and Starting the Containers&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I used:&lt;/p&gt;

&lt;p&gt;docker compose up -d --build&lt;/p&gt;

&lt;p&gt;This built the application image and started the services in the background.&lt;/p&gt;

&lt;p&gt;I checked the running containers with:&lt;/p&gt;

&lt;p&gt;docker compose ps&lt;/p&gt;

&lt;p&gt;To inspect application logs, I used:&lt;/p&gt;

&lt;p&gt;docker compose logs&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Testing the API&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I tested the application's API endpoints to confirm that it was responding correctly.&lt;/p&gt;

&lt;p&gt;The application included health and readiness endpoints:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;/health&lt;/code&gt; – checks application health.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/ready&lt;/code&gt; – checks application readiness.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also tested the task API using HTTP requests.&lt;/p&gt;

&lt;p&gt;For example, the application supported creating and retrieving task records through its API.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Running Automated Tests&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I ran the project's tests using:&lt;/p&gt;

&lt;p&gt;python -m pytest -q&lt;/p&gt;

&lt;p&gt;The tests passed.&lt;/p&gt;

&lt;p&gt;The project used SQLite for its automated tests, while PostgreSQL was used as the application database in the containerized environment.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Publishing the Docker Image&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After building and testing the application, I prepared the Docker image for publishing to a container registry.&lt;/p&gt;

&lt;p&gt;This made the image available for use in subsequent CI/CD and Kubernetes deployment stages.&lt;/p&gt;

</description>
      <category>api</category>
      <category>devops</category>
      <category>docker</category>
      <category>flask</category>
    </item>
    <item>
      <title>Steps I took in Deploying a PHP File Manager on AWS with Docker, Amazon S3, RDS and IAM Roles</title>
      <dc:creator>Edith Ogechi Odo</dc:creator>
      <pubDate>Wed, 11 Nov 2026 08:18:46 +0000</pubDate>
      <link>https://dev.to/edith_ogechiodo_48a0e8ed/steps-i-took-in-deploying-a-php-file-manager-on-aws-with-docker-amazon-s3-rds-and-iam-roles-1d21</link>
      <guid>https://dev.to/edith_ogechiodo_48a0e8ed/steps-i-took-in-deploying-a-php-file-manager-on-aws-with-docker-amazon-s3-rds-and-iam-roles-1d21</guid>
      <description>&lt;p&gt;As part of my DevOps Engineering training at Abuja Data School, I worked on deploying a PHP File Manager application on AWS.&lt;/p&gt;

&lt;p&gt;The goal was to move beyond simply running an application locally and understand how different AWS services can work together to support a real-world application.&lt;/p&gt;

&lt;p&gt;In this project, I used Amazon EC2 to host the application, Amazon RDS for database management, Amazon S3 for image storage, and IAM roles to manage permissions securely.&lt;/p&gt;

&lt;p&gt;Here's how I approached the project.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Project Architecture&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The application uses a three-tier approach involving the application server, database, and object storage.&lt;/p&gt;

&lt;p&gt;Architecture components&lt;/p&gt;

&lt;p&gt;1) Amazon EC2: Hosts the PHP application.&lt;br&gt;
2) Docker: Containerizes the application.&lt;br&gt;
3) Amazon RDS: Stores image metadata, including titles, filenames, and file sizes.&lt;br&gt;
4) Amazon S3: Stores the actual uploaded image files.&lt;br&gt;
5) IAM Role: Grants the EC2-hosted application permission to access S3 without hardcoding AWS access keys.&lt;br&gt;
6) AWS SDK for PHP: Enables the application to interact with S3.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Launching the EC2 Instance&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I started by launching an Ubuntu EC2 instance.&lt;/p&gt;

&lt;p&gt;I configured the security group to allow:&lt;br&gt;
a) SSH access for server administration.&lt;br&gt;
b) TCP port 8000 for accessing the web application.&lt;/p&gt;

&lt;p&gt;After launching the instance, I connected to it through SSH.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Installing Docker&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I installed Docker and Docker Compose on the EC2 instance.&lt;/p&gt;

&lt;p&gt;Docker was important because I wanted the application to run in an isolated and reproducible environment. I verified the installation before proceeding.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cloning the Application Repository&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I cloned the project repository onto the EC2 instance:&lt;/p&gt;

&lt;p&gt;git clone &lt;a href="https://github" rel="noopener noreferrer"&gt;https://github&lt;/a&gt; link&lt;br&gt;
cd php_file&lt;/p&gt;

&lt;p&gt;I inspected the project structure to understand the PHP application before proceeding.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creating the RDS Database&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Next, I created an Amazon RDS MySQL database.&lt;/p&gt;

&lt;p&gt;I configured the database and created the application schema.&lt;/p&gt;

&lt;p&gt;The database was responsible for storing image metadata rather than the actual image files.&lt;/p&gt;

&lt;p&gt;I also configured the database connection details as environment variables so that sensitive credentials would not be hardcoded in the application.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creating the S3 Bucket&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I created an S3 bucket named '   php-file-manager-images'.&lt;/p&gt;

&lt;p&gt;The bucket was kept private, with Block Public Access enabled.&lt;/p&gt;

&lt;p&gt;The application would use the bucket to store uploaded images and retrieve them when users accessed the application.&lt;/p&gt;

&lt;p&gt;This separation allowed the database and object storage to handle different responsibilities.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Configuring IAM Permissions&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Instead of placing AWS access keys inside the application, I created an IAM role named:&lt;/p&gt;

&lt;p&gt;'EC2-PHP-FileManager-S3-Role'&lt;/p&gt;

&lt;p&gt;I attached the role to the EC2 instance and configured its S3 permissions.&lt;/p&gt;

&lt;p&gt;This allowed the application to obtain AWS credentials through the EC2 instance role.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Integrating Amazon S3 into the PHP Application&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I installed the AWS SDK for PHP using Composer:&lt;/p&gt;

&lt;p&gt;composer require aws/aws-sdk-php:^3.0&lt;/p&gt;

&lt;p&gt;I then modified the application's configuration and action files to integrate S3.&lt;/p&gt;

&lt;p&gt;The application was updated to support:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Uploading images to S3.&lt;/li&gt;
&lt;li&gt;Retrieving images from S3.&lt;/li&gt;
&lt;li&gt;Replacing existing images.&lt;/li&gt;
&lt;li&gt;Deleting images from S3.&lt;/li&gt;
&lt;li&gt;Saving image metadata in RDS.&lt;/li&gt;
&lt;/ul&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%2Fy9w43nb179lhbvfjiyuo.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%2Fy9w43nb179lhbvfjiyuo.png" alt=" " width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creating the Dockerfile&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I configured the Dockerfile using the PHP Apache base image.&lt;/p&gt;

&lt;p&gt;The container required PHP extensions for MySQL connectivity and XML support.&lt;/p&gt;

&lt;p&gt;I also configured PHP upload limits to support image uploads.&lt;/p&gt;

&lt;p&gt;The application was then prepared to run inside Docker.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Configuring Docker Compose&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I used Docker Compose to configure the application container.&lt;/p&gt;

&lt;p&gt;The configuration included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Application port mapping from EC2 port 8000 to container port 80.&lt;/li&gt;
&lt;li&gt;Database environment variables.&lt;/li&gt;
&lt;li&gt;AWS region and S3 bucket configuration.&lt;/li&gt;
&lt;li&gt;Application source and Composer dependency volumes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I stored sensitive configuration values in a .env file and excluded that file from Git using '.gitignore' .&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Building and Running the Application&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I built and started the application using:&lt;/p&gt;

&lt;p&gt;docker compose up -d --build&lt;/p&gt;

&lt;p&gt;I checked the running container:&lt;/p&gt;

&lt;p&gt;docker ps&lt;/p&gt;

&lt;p&gt;I also verified that the AWS SDK was available inside the container and tested connectivity to RDS and S3.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Testing the Application&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Finally, I accessed the application through the EC2 public IP and port 8000.&lt;/p&gt;

&lt;p&gt;I tested the core functionalities:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Uploading an image.&lt;/li&gt;
&lt;li&gt;Displaying an uploaded image.&lt;/li&gt;
&lt;li&gt;Editing image details and replacing an image.&lt;/li&gt;
&lt;li&gt;Deleting an image.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The operations worked successfully, with image files stored in S3 and their metadata stored in RDS.&lt;/p&gt;

&lt;p&gt;Lessons I Learned With this Project:&lt;br&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%2Fblkonlaiy8zhhcbynn2x.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%2Fblkonlaiy8zhhcbynn2x.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This project helped me understand;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How to deploy a containerized application on AWS EC2.&lt;/li&gt;
&lt;li&gt;How to connect a PHP application to Amazon RDS.&lt;/li&gt;
&lt;li&gt;How to use Amazon S3 for object storage.&lt;/li&gt;
&lt;li&gt;How IAM roles provide application-level AWS permissions.&lt;/li&gt;
&lt;li&gt;How Docker Compose simplifies application configuration.&lt;/li&gt;
&lt;li&gt;Why separating application data from file storage is useful in cloud architecture.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This project gave me practical experience integrating multiple AWS services into one working application. &lt;br&gt;
It also reinforced the importance of security, service integration, and proper application configuration during cloud deployment.&lt;/p&gt;

&lt;p&gt;I'm looking forward to building on this experience as I continue my journey in DevOps Engineering.&lt;/p&gt;

&lt;h1&gt;
  
  
  AWS #DevOps #Docker #AmazonS3 #AmazonRDS #CloudComputing #PHP
&lt;/h1&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>docker</category>
      <category>php</category>
    </item>
    <item>
      <title>Let’s Discuss The Three Backbone That Make All Technology Work</title>
      <dc:creator>Edith Ogechi Odo</dc:creator>
      <pubDate>Thu, 09 Jul 2026 17:01:33 +0000</pubDate>
      <link>https://dev.to/edith_ogechiodo_48a0e8ed/lets-discuss-the-three-backbone-that-make-all-technology-work-2kea</link>
      <guid>https://dev.to/edith_ogechiodo_48a0e8ed/lets-discuss-the-three-backbone-that-make-all-technology-work-2kea</guid>
      <description>&lt;p&gt;Have you ever wondered what actually happens when you press "Play" on a YouTube video, or how your character moves when you're playing a game online?&lt;/p&gt;

&lt;p&gt;It seems like magic, but behind every single piece of tech, there are three secret ingredients making it happen. If you take away even one of them, the whole digital world crumbles.&lt;/p&gt;

&lt;p&gt;1) The Operating System (The Warehouse Floor) &lt;br&gt;
Imagine you have a giant empty lot and a pile of building blocks, but no floor to put them on. They'd just sink into the mud!&lt;br&gt;
In tech, the Operating System (OS) is the sturdy warehouse floor. It’s the master software that wakes up the computer's physical parts (like the screen, buttons, and chips) and gives them a safe space to work.&lt;/p&gt;

&lt;p&gt;Real-world examples: You use an OS every day! Windows on a PC, macOS on a MacBook, iOS on an iPhone, and Android on tablets are all operating systems.&lt;/p&gt;

&lt;p&gt;2) Programming &lt;br&gt;
Now that we have our warehouse floor, we need workers to actually build things. But instead of humans, this factory uses super-fast robots.&lt;br&gt;
Programming is the language we use to write the instruction manuals for those robots. Programmers use code (special languages like Python, JavaScript, or Scratch) to tell the computer exactly what to do.&lt;/p&gt;

&lt;p&gt;What it does: Code tells the computer: "If the player presses the spacebar, make the character jump!" or "If the battery gets to 5%, turn the screen brightness down."&lt;/p&gt;

&lt;p&gt;Why it matters: Computers are actually pretty silly on their own—they can’t think! Programming is the superpower that gives them rules, logic, and smarts.&lt;/p&gt;

&lt;p&gt;3) Networking&lt;br&gt;
Networking is the massive system of invisible roads, cables, and delivery systems that connects computers together across the world. It’s what we call the Internet!&lt;/p&gt;

&lt;p&gt;What it does: When you send a text message to your friend, networking chops that message into tiny digital "boxes," loads them onto an invisible delivery truck, and shoots them through wires (or through the air via Wi-Fi) straight to your friend's device in milliseconds.&lt;/p&gt;

&lt;p&gt;Without networking, your computer would be a lonely island. You wouldn't be able to search Google, play multiplayer games, or watch your favorite creators online.&lt;/p&gt;

&lt;p&gt;Thanks For Reading 👍🏾&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Let’s Discuss The Three Backbone That Make All Technology Work</title>
      <dc:creator>Edith Ogechi Odo</dc:creator>
      <pubDate>Thu, 09 Jul 2026 16:56:14 +0000</pubDate>
      <link>https://dev.to/edith_ogechiodo_48a0e8ed/lets-discuss-the-three-backbone-that-make-all-technology-work-2eib</link>
      <guid>https://dev.to/edith_ogechiodo_48a0e8ed/lets-discuss-the-three-backbone-that-make-all-technology-work-2eib</guid>
      <description>&lt;p&gt;Have you ever wondered what actually happens when you press "Play" on a YouTube video, or how your character moves when you're playing a game online?&lt;/p&gt;

&lt;p&gt;It seems like magic, but behind every single piece of tech, there are three secret ingredients making it happen. If you take away even one of them, the whole digital world crumbles.&lt;/p&gt;

&lt;p&gt;Let’s break down the Three Backbones of Technology&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Operating System (The Warehouse Floor) 
Imagine you have a giant empty lot and a pile of building blocks, but no floor to put them on. They'd just sink into the mud!&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In tech, the Operating System (OS) is the sturdy warehouse floor. It’s the master software that wakes up the computer's physical parts (like the screen, buttons, and chips) and gives them a safe space to work.&lt;/p&gt;

&lt;p&gt;Real-world examples: You use an OS every day! Windows on a PC, macOS on a MacBook, iOS on an iPhone, and Android on tablets are all operating systems.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Programming 
Now that we have our warehouse floor, we need workers to actually build things. But instead of humans, this factory uses super-fast robots.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Programming is the language we use to write the instruction manuals for those robots. Programmers use code (special languages like Python, JavaScript, or Scratch) to tell the computer exactly what to do.&lt;/p&gt;

&lt;p&gt;What it does: Code tells the computer: "If the player presses the spacebar, make the character jump!" or "If the battery gets to 5%, turn the screen brightness down."&lt;/p&gt;

&lt;p&gt;Why it matters: Computers are actually pretty silly on their own—they can’t think! Programming is the superpower that gives them rules, logic, and smarts.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Networking&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Networking is the massive system of invisible roads, cables, and delivery systems that connects computers together across the world. It’s what we call the Internet!&lt;/p&gt;

&lt;p&gt;What it does: When you send a text message to your friend, networking chops that message into tiny digital "boxes," loads them onto an invisible delivery truck, and shoots them through wires (or through the air via Wi-Fi) straight to your friend's device in milliseconds.&lt;/p&gt;

&lt;p&gt;Without networking, your computer would be a lonely island. You wouldn't be able to search Google, play multiplayer games, or watch your favorite creators online.&lt;/p&gt;

&lt;p&gt;Thanks For Reading 👍🏾&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>computerscience</category>
      <category>discuss</category>
      <category>learning</category>
    </item>
    <item>
      <title>From Code to Cloud: How a Website Goes Live</title>
      <dc:creator>Edith Ogechi Odo</dc:creator>
      <pubDate>Thu, 25 Jun 2026 19:40:45 +0000</pubDate>
      <link>https://dev.to/edith_ogechiodo_48a0e8ed/from-code-to-cloud-how-a-website-goes-live-2n8d</link>
      <guid>https://dev.to/edith_ogechiodo_48a0e8ed/from-code-to-cloud-how-a-website-goes-live-2n8d</guid>
      <description>&lt;p&gt;Have you ever wondered how a website actually gets onto the internet?&lt;/p&gt;

&lt;p&gt;When you build a website on your laptop, it’s like writing a document on your computer, only you can see it. To let the rest of the world visit it, you have to "deploy" it.&lt;/p&gt;

&lt;p&gt;Deployment is just a fancy tech word for moving your website files from your personal computer onto a public computer that stays turned on 24/7.&lt;/p&gt;

&lt;p&gt;Here is the step-by-step journey of how a simple web page goes live, explained without the confusing tech jargon.&lt;/p&gt;

&lt;p&gt;Step 1: The Code (Your Building Blocks)&lt;/p&gt;

&lt;p&gt;Before anything else, you need the actual website. A simple static website is usually made of just a few files:&lt;/p&gt;

&lt;p&gt;HTML: The blueprint or skeleton (it holds your text and structure).&lt;br&gt;
CSS:The paint and interior design (it adds colors, fonts, and layouts).&lt;/p&gt;

&lt;p&gt;Right now, these files are just sitting quietly in a folder on your local computer.&lt;/p&gt;

&lt;p&gt;Step 2: The Server (The 24/7 Computer)&lt;/p&gt;

&lt;p&gt;To make your website public, you need a Server.&lt;/p&gt;

&lt;p&gt;A server is just a standard computer located in a giant data center somewhere in the world. The only differences between a server and your personal laptop are that the server has a super-fast internet connection, it never sleeps, and it doesn't have a physical screen attached to it.&lt;/p&gt;

&lt;p&gt;When you deploy, your first major task is renting a tiny slice of one of these 24/7 computers (using cloud services like AWS or DigitalOcean) so your files have a permanent home.&lt;/p&gt;

&lt;p&gt;Step 3: The Web Server Software (The Traffic Controller)&lt;/p&gt;

&lt;p&gt;Once you have your 24/7 computer, you can't just drop your files there and expect it to work. You need to install a special program called a Web Server(the most popular one is named Nginx).&lt;/p&gt;

&lt;p&gt;Think of Nginx as a friendly security guard standing at the front door of your server. When a stranger from across the world knocks on your server's door asking to see your website, Nginx says, "Ah, welcome! Let me grab those HTML files for you," and hands the website straight to their browser.&lt;/p&gt;

&lt;p&gt;Step 4: Moving the Files (The Moving Truck)&lt;/p&gt;

&lt;p&gt;Now it's time to actually move your code from your laptop onto that 24/7 cloud computer.&lt;/p&gt;

&lt;p&gt;Developers do this in a few ways. You can use an automated script to copy the files over, or you can upload your code to a storage folder on the server (often located in a system directory like &lt;code&gt;/var/www/html&lt;/code&gt;). Once the files land in that specific folder, Nginx knows exactly where to look for them.&lt;/p&gt;

&lt;p&gt;Step 5: The Domain Name (The GPS Address)&lt;/p&gt;

&lt;p&gt;Right now, your server can technically be reached, but only by typing in a long, ugly string of numbers called an IP Address (like 13.48.42.123). Because no one wants to memorize numbers just to visit a website, we use a Domain Name(like yourname.com).&lt;/p&gt;

&lt;p&gt;You buy a domain name from a registrar, and then you configure the settings to say: "Hey, whenever someone types in my domain name, point them directly to my server's IP address."&lt;/p&gt;

&lt;p&gt;Step 6: The Guard (The Final Polish)&lt;/p&gt;

&lt;p&gt;To make sure your site loads incredibly fast and stays safe from malicious attacks, developers often route their website through a cloud guard service (like Cloudflare).&lt;/p&gt;

&lt;p&gt;This layer sits between your visitors and your server. It acts like a protective shield, smoothing out traffic, speeding up how fast your pages load, and making sure the connection between the user and your server is safe and secure.&lt;/p&gt;

&lt;p&gt;Once those pieces are linked together, anyone in the world can type in your domain name, and your website will instantly pop up on their screen!&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>cloud</category>
      <category>tutorial</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
