Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Certified Software Engineer · Lesson 16 of 18

Module Thirteen

📖 Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
16
Module 13: Certified Software Developer – Deployment and Maintenance

Module 13: Deployment & Maintenance – Sharing Your Software with the World

Hello, amazing software builder! You have written code, tested it, and made it secure. Now, it is time to share your creation with the world. This is called deployment. But once your software is out there, you cannot just forget about it. You need to keep it running smoothly, fix problems, and add new features. This is called maintenance.

Think of yourself as a pilot who not only flies the plane but also makes sure it is in good shape before and after every flight. A Certified Software Developer knows how to launch software and keep it healthy.

Ready to send your software into the world? Let's go! 🚀

🎯 Learning Objectives

By the end of this module, you will be able to:

  • Explain what deployment and maintenance mean.
  • Know the different environments: development, testing, staging, and production.
  • Understand version control and why it is important.
  • Describe the steps to deploy a software application.
  • Explain the different types of maintenance (corrective, adaptive, perfective, preventive).
  • Monitor software performance and logs.
  • Handle user feedback and bug reports.
  • Plan for updates and future releases.

📖 Warm-up Story: The Grand Opening of Tolu's Toy Shop

Tolu loved making wooden toys. He spent months building a beautiful toy shop in his backyard. He painted it, filled it with toys, and invited all his friends to the grand opening. Everyone came, played, and had fun.

But after the first week, some toys broke, the paint started to peel, and a few children said they wanted different toys. Tolu did not give up. He fixed the broken toys, repainted the shop, and started making new toys that the children wanted. His shop became the best in the village.

That is exactly what deployment and maintenance are. You launch your software (open the shop), and then you keep improving it (fix and add new things).

📚 Main Lessons

Lesson 1: What is Deployment?

Definition: Deployment is the process of putting your software on a server so that users can access it.

Why important: Without deployment, no one can use your software. It stays on your computer forever.

Simple explanation: Like moving your toys from your room to the shop shelf so customers can buy them.

Real-life example: Uploading a website to the internet.

School example: Sharing your project on the school's computer.

Home example: Putting a photo on a digital frame.

Nigerian example: A developer uploads a new app to the Google Play Store.

Illustration:

        Your Computer  →  Server  →  Users
        (Code)          (Online)   (Use it)
    

Mini summary: Deployment is making your software available to users.

Lesson 2: Environments – Where Software Lives

Definition: An environment is a place where software runs. There are different environments for different stages.

Simple explanation: Like having a kitchen to cook, a dining room to eat, and a storage room for leftovers.

Real-life example: Development (cooking), Testing (tasting), Staging (plating), Production (serving).

School example: Draft (rough copy), final copy, and published essay.

Home example: Trying a recipe (development), tasting it (testing), serving it (production).

Nigerian example: A bank tests new features in a staging environment before releasing to customers.

        Development → Testing → Staging → Production
        (Build)      (Check)    (Final)   (Live)
    

Mini summary: Different environments help us test before going live.

Lesson 3: Version Control – Keeping Track of Changes

Definition: Version control is a system that records changes to your code so you can go back to any version if needed.

Why important: It prevents losing work and helps teams collaborate.

Simple explanation: Like saving different drafts of a story.

Real-life example: Using Git (a version control tool).

School example: Saving your essay as "essay_v1", "essay_v2".

Home example: Taking photos of your Lego builds before making changes.

Nigerian example: A team in Lagos uses GitHub to work together.

        Version 1.0  →  Version 1.1  →  Version 2.0
        (First)       (Small fix)     (Big update)
    

Mini summary: Version control is like a time machine for your code.

Lesson 4: The Deployment Pipeline

Definition: A deployment pipeline is the series of steps that code goes through to be deployed.

Simple explanation: Like an assembly line in a factory.

Real-life example: Code → Build → Test → Deploy.

School example: Write → Edit → Submit.

Home example: Plan → Cook → Serve.

Nigerian example: A developer pushes code, automated tests run, then it goes to staging and finally production.

        +--------+    +-------+    +-------+    +--------+
        |  Code  | →  | Build | →  | Test  | →  | Deploy |
        +--------+    +-------+    +-------+    +--------+
    

Mini summary: The pipeline automates the journey of code to production.

Lesson 5: What is Maintenance?

Definition: Maintenance is the process of updating and fixing software after it is deployed.

Why important: Software is never truly finished. Users find bugs, and the world changes.

Simple explanation: Like watering a plant after you have planted it.

Real-life example: A car needs regular oil changes and check-ups.

School example: Reviewing your notes before an exam.

Home example: Cleaning your room every week.

Nigerian example: A bank updates its app to fix a bug.

        Maintenance = Keeping software healthy.
    

Mini summary: Maintenance keeps software working well over time.

Lesson 6: Corrective Maintenance – Fixing Bugs

Definition: Corrective maintenance is fixing errors and bugs that users find.

Simple explanation: Like patching a hole in your roof when it rains.

Real-life example: A patch for a game that crashes.

School example: Correcting a mistake in your homework.

Home example: Fixing a broken chair.

Nigerian example: A payment app fixes a bug that caused double charges.

        Bug found → Fix it → Release update.
    

Mini summary: Corrective maintenance is about fixing problems.

Lesson 7: Adaptive Maintenance – Keeping Up with Change

Definition: Adaptive maintenance means changing the software to work in a new environment or with new technology.

Simple explanation: Like learning to use a new phone when your old one breaks.

Real-life example: Updating an app to work on a new version of Android.

School example: Using a new version of Microsoft Word.

Home example: Changing your TV settings when you get a new remote.

Nigerian example: A bank updates its system to meet new government regulations.

        Old environment → New environment → Adapt.
    

Mini summary: Adaptive maintenance is about staying current.

Lesson 8: Perfective Maintenance – Making It Better

Definition: Perfective maintenance is improving the software by adding new features or making it faster and easier to use.

Simple explanation: Like adding a new slide to your playground.

Real-life example: Adding a dark mode to an app.

School example: Adding more examples to your presentation.

Home example: Buying a new cushion for your sofa.

Nigerian example: A food delivery app adds a new payment option.

        Software → Add feature → Better software.
    

Mini summary: Perfective maintenance makes software better.

Lesson 9: Preventive Maintenance – Avoiding Future Problems

Definition: Preventive maintenance is making changes to prevent future bugs or performance issues.

Simple explanation: Like oiling your bicycle chain before it gets rusty.

Real-life example: Refactoring code (cleaning it up) to make it easier to maintain.

School example: Organising your notes before exams.

Home example: Checking the fire alarm batteries.

Nigerian example: A developer improves the database structure to handle more users.

        Clean code → Fewer bugs → Better future.
    

Mini summary: Preventive maintenance stops problems before they happen.

Lesson 10: Monitoring – Watching Your Software

Definition: Monitoring is keeping an eye on your software to see if it is running well and to detect problems early.

Why important: You cannot fix problems you do not know about.

Simple explanation: Like a baby monitor – you hear if the baby cries.

Real-life example: Using tools like New Relic or Datadog.

School example: A teacher walks around the class to see if students need help.

Home example: Checking if your plant needs water.

Nigerian example: A company monitors its website to see if it is slow.

        Monitor → Detect problem → Fix it.
    

Mini summary: Monitoring helps you catch issues early.

Lesson 11: Logs – The Diary of Your Software

Definition: Logs are records of events that happen in your software, like errors, warnings, and user actions.

Simple explanation: Like a diary that writes down everything that happens.

Real-life example: A server log that shows who accessed it and when.

School example: A register that records attendance.

Home example: Keeping a list of who visits your house.

Nigerian example: A bank keeps logs of all transactions for security.

        Log entry: User Tolu logged in at 10:00 AM.
    

Mini summary: Logs help you understand what is happening in your software.

Lesson 12: User Feedback – Listening to Your Users

Definition: User feedback is what users tell you about your software – what they like, what they do not like, and what they want.

Why important: Users are the ones who use your software. They know what is missing.

Simple explanation: Like asking your friends what they think of your toy.

Real-life example: App store reviews.

School example: A teacher asks students for feedback on a lesson.

Home example: Your family tells you if they liked the dinner you cooked.

Nigerian example: A transport app asks users to rate their driver.

        User says: "I love it, but I wish it had dark mode."
    

Mini summary: User feedback guides your improvements.

Lesson 13: Rollbacks – Going Back Safely

Definition: A rollback is when you undo a deployment and go back to a previous version because something went wrong.

Simple explanation: Like rewinding a movie to the last scene you liked.

Real-life example: If a new update causes crashes, you revert to the old version.

School example: Using an earlier draft if your final essay has errors.

Home example: Putting the old TV back if the new one does not work.

Nigerian example: A bank rolls back a transaction if there is a system error.

        New version → Problem → Rollback → Old version.
    

Mini summary: Rollbacks are a safety net for bad deployments.

Lesson 14: Continuous Integration and Continuous Deployment (CI/CD)

Definition: CI/CD is a practice where developers automatically build, test, and deploy code many times a day.

Simple explanation: Like a conveyor belt that takes your code, checks it, and sends it live automatically.

Real-life example: GitHub Actions or Jenkins.

School example: An online quiz that marks your answers automatically.

Home example: A robot vacuum that cleans on a schedule.

Nigerian example: A tech company uses CI/CD to release updates every week.

        Push code → Auto test → Auto deploy → Fast release.
    

Mini summary: CI/CD automates the pipeline for fast, safe releases.

Lesson 15: The Lifecycle of a Software Developer

Definition: A software developer's work never ends. You plan, code, test, deploy, maintain, and then start again.

Simple explanation: Like a cycle – you keep going around to make things better.

Real-life example: Adding new features, fixing bugs, and improving performance.

School example: Writing a story, editing it, and then writing a new story.

Home example: Gardening – you plant, water, harvest, and then plant again.

Nigerian example: A developer maintains a school portal for many years.

        Plan → Code → Test → Deploy → Maintain → Plan again.
    

Mini summary: Software development is a continuous cycle.

📝 Key Vocabulary

  • Deployment: Making software available to users.
  • Environment: A place where software runs (development, testing, staging, production).
  • Version Control: Tracking changes to code.
  • Pipeline: The automated steps from code to production.
  • Maintenance: Updating and fixing software.
  • Corrective: Fixing bugs.
  • Adaptive: Adapting to new environments.
  • Perfective: Adding features or improving performance.
  • Preventive: Preventing future problems.
  • Monitoring: Watching software performance.
  • Logs: Records of events.
  • Rollback: Going back to a previous version.
  • CI/CD: Automated integration and deployment.

🧠 Important Concepts

  • Software is never finished; it evolves.
  • Different environments protect production.
  • Automation makes deployments safer and faster.
  • Listening to users is key to success.
  • Always have a rollback plan.

👣 Step-by-step Explanations

How to deploy a simple website:

  1. Write your code.
  2. Test it locally (development).
  3. Push it to a staging environment.
  4. Test again.
  5. Deploy to production.
  6. Monitor and check if everything is working.

How to handle a user bug report:

  1. Read the report carefully.
  2. Try to reproduce the bug.
  3. Find the error in the code.
  4. Fix the bug.
  5. Test the fix.
  6. Deploy the fix.
  7. Inform the user that it is fixed.

🌍 Real-life Examples

  • Facebook updates its app almost every week.
  • Google search is constantly being improved.
  • Microsoft releases patches on "Patch Tuesday".

🇳🇬 Nigerian Examples

  • Jumia deploys new features during off-peak hours.
  • Kuda Bank monitors its app for transaction errors.
  • Flutterwave uses CI/CD to release updates quickly.

🎈 Fun Examples Children Can Relate To

  • Releasing a new version of your board game with better rules.
  • Adding new levels to your video game.
  • Improving your magic trick after your audience says it is too slow.

🏠 Everyday Examples

  • Updating your phone's operating system.
  • Getting a new version of a board game with bug fixes.
  • Changing your wardrobe for the new season (adaptive!).

🧑‍🏫 Teacher Notes

This module bridges coding and real-world software life. Encourage students to think about how apps they use change over time. Discuss the importance of feedback and how it drives improvements. Use examples like WhatsApp updates.

👪 Parent Tips

Help children see the lifecycle of software at home – apps that update, new features, and bug fixes. Compare it to maintaining a house or a car. Encourage them to think about how they would improve their favourite app.

✨ Interesting Facts

  • Some companies deploy code hundreds of times a day.
  • The first software bug was a moth, and "debugging" was born.
  • Maintenance can take up to 70% of a software project's cost.

🤔 Did You Know?

Did you know that the world's largest website, Google, runs on millions of servers and is continuously updated every single day?

🔔 Remember This

  • Deployment is how you share your software.
  • Maintenance keeps it alive.
  • Always test before deploying.
  • Listen to your users.
  • Automation is your friend.

❌ Common Mistakes

  • Deploying without testing.
  • Not monitoring after deployment.
  • Ignoring user feedback.
  • Forgetting to backup before an update.
  • Not having a rollback plan.

✅ Best Practices

  • Always test in staging before production.
  • Use version control for all code.
  • Automate your deployment pipeline.
  • Monitor your software and set up alerts.
  • Have a rollback plan ready.
  • Collect and act on user feedback.

📊 Illustrations

Deployment Pipeline

        +----------+    +--------+    +-------+    +--------+
        |  Code    | →  | Build  | →  | Test  | →  | Deploy |
        |  Commit  |    |        |    |       |    |        |
        +----------+    +--------+    +-------+    +--------+
             |              |             |             |
             V              V             V             V
        +----------+    +--------+    +-------+    +--------+
        |          |    |        |    |       |    |        |
        | Dev      |    | Staging|    | Staging|    | Prod   |
        | Env      |    |        |    |       |    |        |
        +----------+    +--------+    +-------+    +--------+
    

Types of Maintenance

        +--------------------------------------------------+
        |                 Maintenance                       |
        +--------------------------------------------------+
        |          |          |            |                |
        | Corrective| Adaptive | Perfective | Preventive    |
        | (Fix bugs)| (Change) | (Improve)  | (Prevent)     |
        +----------+----------+------------+---------------+
    

Software Lifecycle Cycle

              +--------------+
              |   Plan       |
              +------+-------+
                     |
                     V
              +------+-------+
              |   Code       |
              +------+-------+
                     |
                     V
              +------+-------+
              |   Test       |
              +------+-------+
                     |
                     V
              +------+-------+
              |   Deploy     |
              +------+-------+
                     |
                     V
              +------+-------+
              |   Maintain   |
              +------+-------+
                     |
                     V
              (Back to Plan)
    

📋 Comparison Tables

EnvironmentPurposeWho uses it
DevelopmentWriting and testing codeDevelopers
TestingFinding bugsTesters
StagingFinal check before productionQA team
ProductionLive for usersEveryone

Type of MaintenanceWhat it doesExample
CorrectiveFixes bugsPatch for a crash
AdaptiveAdapts to changesUpdate for a new OS
PerfectiveAdds/improves featuresAdding dark mode
PreventivePrevents future issuesRefactoring code

📌 End-of-Module Summary

Fantastic work, future software pilot! You have learned how to take your software from your computer and share it with the world. You now know about different environments, the deployment pipeline, and version control. You understand the four types of maintenance: corrective, adaptive, perfective, and preventive. You also learned about monitoring, logs, and user feedback. Remember, a software developer's job is not done at deployment – it is just the beginning. Keep improving, keep listening, and keep your software safe and healthy.

❓ Frequently Asked Questions

  1. What is deployment? Making your software available to users.
  2. What is an environment? A place where software runs (dev, test, staging, prod).
  3. Why do we need staging? To test before going live.
  4. What is version control? Tracking changes to code.
  5. What is maintenance? Updating and fixing software.
  6. What is corrective maintenance? Fixing bugs.
  7. What is adaptive maintenance? Adapting to new environments.
  8. What is perfective maintenance? Adding features or improving.
  9. What is preventive maintenance? Preventing future issues.
  10. What is a rollback? Going back to an older version.

📝 Review Questions

  1. What is deployment?
  2. Name the four environments.
  3. What is version control?
  4. What is a deployment pipeline?
  5. What is maintenance?
  6. What is corrective maintenance?
  7. What is adaptive maintenance?
  8. What is perfective maintenance?
  9. What is preventive maintenance?
  10. Why is monitoring important?
  11. What are logs?
  12. Why should you listen to user feedback?
  13. What is a rollback?
  14. What does CI/CD stand for?
  15. Why is the software lifecycle a cycle?

📝 Fill-in-the-Blank

  1. ______ is making software available to users.
  2. The ______ environment is where developers write code.
  3. ______ control tracks changes to code.
  4. A ______ pipeline automates the journey of code.
  5. ______ maintenance fixes bugs.
  6. ______ maintenance adapts to new environments.
  7. ______ maintenance adds new features.
  8. ______ maintenance prevents future problems.
  9. ______ are records of events in software.
  10. A ______ is going back to a previous version.

✅❌ True or False

  1. Deployment is the same as coding. (False)
  2. There is only one environment: production. (False)
  3. Version control is like a time machine. (True)
  4. Maintenance is not needed after deployment. (False)
  5. Corrective maintenance fixes bugs. (True)
  6. Adaptive maintenance means adding features. (False)
  7. Preventive maintenance is done after a bug occurs. (False)
  8. CI/CD stands for Continuous Integration and Continuous Deployment. (True)

🔘 Multiple Choice Questions

  1. What is deployment?
    A) Writing code
    B) Making software available to users
    C) Testing
    D) Planning
  2. Which environment is live for users?
    A) Development
    B) Testing
    C) Staging
    D) Production
  3. What is version control?
    A) A type of bug
    B) Tracking changes to code
    C) A deployment tool
    D) A testing method
  4. What is the first step in a typical deployment pipeline?
    A) Deploy
    B) Code commit
    C) Test
    D) Monitor
  5. What is corrective maintenance?
    A) Adding new features
    B) Fixing bugs
    C) Adapting to new systems
    D) Preventing issues
  6. What is adaptive maintenance?
    A) Adding features
    B) Fixing bugs
    C) Adapting to new environments
    D) Preventing issues
  7. What is perfective maintenance?
    A) Fixing bugs
    B) Adapting to changes
    C) Improving features or performance
    D) Preventing issues
  8. What is preventive maintenance?
    A) Fixing bugs
    B) Adapting to new things
    C) Preventing future problems
    D) Adding features
  9. Why is monitoring important?
    A) To make software slower
    B) To detect problems early
    C) To delete logs
    D) To ignore users
  10. What are logs?
    A) A type of virus
    B) Records of events
    C) A deployment tool
    D) A coding language
  11. What is user feedback?
    A) What developers say
    B) What users say about the software
    C) A type of bug
    D) A deployment script
  12. What is a rollback?
    A) Deploying a new version
    B) Going back to an old version
    C) Writing new code
    D) Testing
  13. What does CI/CD stand for?
    A) Continuous Integration / Continuous Deployment
    B) Code Integration / Code Deployment
    C) Continuous Improvement / Continuous Delivery
    D) Continuous Integration / Code Delivery
  14. Which type of maintenance is done to avoid future crashes?
    A) Corrective
    B) Adaptive
    C) Perfective
    D) Preventive
  15. Which environment is used for final testing before going live?
    A) Development
    B) Testing
    C) Staging
    D) Production

🔗 Matching Exercises

Match the term with its definition:

TermDefinition
1. DeploymentA) Fixing bugs
2. CorrectiveB) Making software available
3. AdaptiveC) Adding new features
4. PerfectiveD) Adapting to new environments
5. PreventiveE) Preventing future issues

Answers: 1-B, 2-A, 3-D, 4-C, 5-E

✏️ Short Answer Questions

  1. What is the difference between staging and production?
  2. Why is version control important for a team?
  3. Give an example of adaptive maintenance.
  4. How can monitoring help a developer?
  5. What should you do if a deployment fails?

🎭 Scenario-based Exercises

Scenario 1: You deploy a new version of your app, and users start reporting that they cannot log in. What is your first step? How would you fix it?

Scenario 2: Users are asking for a new feature – a way to reset their password. What type of maintenance is this? How would you handle it?

👥 Group Activity

In groups of 3, simulate a deployment. One person is the developer, one is the tester, and one is the operations person. The developer writes a small "Hello World" program. The tester checks it. The operations person "deploys" it to a mock production environment (a piece of paper). Then switch roles and add a new feature.

🧑 Individual Activity

Draw a diagram of a deployment pipeline with at least 4 stages. Label each stage and write one sentence about what happens there.

🗣️ Classroom Discussion Questions

  1. Why do you think some companies release updates every day?
  2. Have you ever seen an app update that made it worse? What happened?
  3. How would you handle a user who reports a bug that you cannot reproduce?

🛠️ Mini Project

Build a simple "To-Do List" app. Deploy it to a free hosting service like Netlify or GitHub Pages. Create a simple feedback form for users to report bugs.

💻 Practical Assignment

Take the "To-Do List" from the mini project. Add a new feature (e.g., marking tasks as completed). Then, simulate a rollback by reverting to the previous version and explaining why you had to rollback.

🏆 Challenge Exercise

Set up a simple CI/CD pipeline using a tool like GitHub Actions. Write a script that builds and tests your "To-Do List" app automatically whenever you push code.

🔑 Quiz Answers

Multiple Choice Answers: 1-B, 2-D, 3-B, 4-B, 5-B, 6-C, 7-C, 8-C, 9-B, 10-B, 11-B, 12-B, 13-A, 14-D, 15-C

Fill-in-the-Blank: 1-Deployment, 2-development, 3-Version, 4-pipeline, 5-Corrective, 6-Adaptive, 7-Perfective, 8-Preventive, 9-Logs, 10-rollback

True/False: 1-F, 2-F, 3-T, 4-F, 5-T, 6-F, 7-F, 8-T

🌟 Key Takeaways

  • Deployment is how you release your software.
  • Different environments help you test safely.
  • Version control tracks changes and enables teamwork.
  • Maintenance is continuous and has four types.
  • Monitoring and logs help you see what is happening.
  • User feedback drives improvement.
  • Always have a rollback and a CI/CD pipeline.

🚀 Preparation for the Next Module

In the next module, we will explore software documentation and communication. We will learn how to write clear instructions for users and other developers. Good documentation makes your software easier to use and maintain. Think about a time you read a manual – was it clear or confusing?

🏆 Get Certified

🔒

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (₦2,000 or 20,000 coins), and get a verified certificate with your name on it.

🎓 Sign Up to Get Certified
🛠️ Practice Tools
Hands-on simulators & labs - subscription required.
→
🎯 Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
→