The Business Lesson Behind My Docker ECR Failure — Why Every Business Nigeria Needs Automation


How I fixed GitHub Actions Docker push to ECR failing for Netflix clone deployment on AWS EC2 - SirVickCloud9 Day 11 DevOps challenge

Let's pause a bit and look at the business aspect of my docker ECR failure, and why every business in Nigeria needs automation. Day 12.

Yesterday Day 11, I spent 4 hours with fuel on, trying to push my Docker images to AWS ECR. GitHub Actions kept saying denied: authorization token expired. I was angry at AWS. But this morning I realized something; this error taught me a pure business lesson that every POS business, barber shop, and online vendor in PH, Lagos and every other cities in Nigeria needs.

Let me connect it for you in a relatable language: My project is Netflix clone. I have backend (Node.js) and frontend (React). Each is inside Docker container, like two different shops. I wanted GitHub Actions to automatically deliver those shops to AWS ECR (my warehouse), then my EC2 server will sell them to customers. But I had two hidden problems: Nested.git inside netflix_backend — I copied code from another laptop, and it came with its own .git.  So, inside my main business, there was another hidden business with its own account book. GitHub was confused which book to use.

Wrong label — I was tagging image as netflix but pushing to netflix_frontend repo. In ECR, label must match warehouse shelf exactly, or warehouse security denies you. That's the denied error. I fixed it with rm -rf .git and correcting my cicd.yaml path to root .github/workflows/. 

Now the business side — why should a non-tech person care? Imagine you own a small logistics business in Mile 1 Market, PH, or Alaba intrenational market in Lagos. You have 2 dispatch riders (backend and frontend). You tell your manager (GitHub Actions): "Whenever I stock new goods (git push), automatically load bikes and deliver to warehouse (ECR)." But your rider has an old ID card from his former company (nested .git).

 Warehouse security says, "We don't know you, denied." Delivery fails. Customers waiting at sirvickcloud9.online see nothing. Or your warehouse has shelf A for rice and shelf B for beans. You write "rice" on beans bag and try to keep it on beans shelf. Warehouse says, "label mismatch, denied." That's my Docker tag error. This is exactly what happens to businesses in Nigeria every day without automation: 

You manually send price list on WhatsApp every morning — you forget that customer goes to competitor. That's manual deployment like I was doing with Termius SSH every time. You have two account books — one for you, one your salesgirl keeps secretly — you never know real profit. That's nested .git.  You label your product wrong on Instagram — you sell sneakers, but caption says palm slippers ; customers confused, no sales. That's wrong ECR tag.

Cloud computing and DevOps is not just for techies. It's business sense: What I built yesterday with deploy.yml is business automation. Now I push code once, and a robot does the rest: build, tag correctly, deliver to warehouse, update live site. No more cd ~/Sirvickcloud9-portfolio + git pull + docker build by hand. For a business owner, that robot is like having: Autoreply for WhatsApp orders Auto-reminder for customers who didn't pay Auto-stock update when item sells. You save fuel (time), you save data (money), you avoid NEPA frustration of doing same thing 10 times.

Yesterday I was a coder debugging ECR. Today I understand I'm building business systems. That's why I removed "entry-level" from my portfolio last night. I'm not learning to code — I'm building reliable systems that save businesses money. That's what Cloud & DevOps Engineer means at SirVickCloud9. In the coming days, I will show how this same automation adds free SSL (padlock) to sirvickcloud9.online — because in business, trust (https) is what makes customer enter card details. If you run any business in PH, Lagos, Onitcha, Aba, or any other place in Nigeria, ask yourself: What one thing are you doing manually every day that a small automation can fix? Comment it, I will suggest a free tool.

Live proof: sirvickcloud9.online | Full logs: sirvick-deployments.blogspot.com | GitHub: Sirvickcloud9-portfolio

Comments

Popular posts from this blog

How I Fixed GitHub Error: failed to push some refs to github.com in 2026

How I Deployed Netflix Clone (NGold) to AWS EC2 - Live at 32.196.145.76:3000 [Docker + Nginx Guide]

Understanding Linux Environment — The Real Engine Behind My AWS Cloud Deployment