# Grayhat Blog Tag: Deployment > Expanded public blog context for posts tagged Deployment. ## Page - [Deployment Tag](https://grayhat.studio/blog/tag/deployment) - [Deployment Tag LLM Context](https://grayhat.studio/blog/tag/deployment/llms.txt) - [Root LLM Context](https://grayhat.studio/blog/llms.txt) - [Root Full LLM Context](https://grayhat.studio/blog/llms-full.txt) - [Tag API](https://grayhat.studio/blog/api/public/v1/tags/deployment) ## Tag Details - Slug: `deployment` - Description: Not provided - Post count in current snapshot: 2 ## Current Posts - [Recap: Agentika 2.0 - Pakistan's top personal AI Agent Hackathon](https://grayhat.studio/blog/agentika-pakistans-top-personal-ai-agent-hackathon) - We saw 70+ AI Agent applications shipped in 24 hours, at our agent hackathon at NaSCon 2026. - [Full Stack Deployment: Setting Up CI/CD for Node.js Applications on AWS with Custom Domains](https://grayhat.studio/blog/full-stack-deployment-setting-up-ci-cd-for-node-js-applications-on-aws-with-custom-domains) - This comprehensive guide will walk you through establishing a professional CI/CD pipeline for Node.js applications on AWS EC2, complete with custom domain configuration. ## Child Route Content ### [Recap: Agentika 2.0 - Pakistan's top personal AI Agent Hackathon](https://grayhat.studio/blog/agentika-pakistans-top-personal-ai-agent-hackathon) - Slug: `agentika-pakistans-top-personal-ai-agent-hackathon` - Published: 2026-10-28T08:38:57.000+05:00 - Updated: 2026-10-28T08:38:57.000+05:00 - Reading time: 17 min - Tags: Events, AI, Hackathon, Agents, Artificial Intelligence, Bots, Deployment, Developer Tools, DevOps - Authors: Muhammad Saim - Visibility: public ** ** ** 0:00 /0:06 * **1× ** ** * A lost-child desk for crowded malls. An Urdu voice assistant that tells farmers which day to spread fertilizer. A firewall that stops AI agents from obeying instructions hidden in an email. **University students built all of these in about 24 hours at Agentika 2.0, and every one of them is running live.** Agentika 2.0 was a two-day AI automation hackathon at **NaSCon 2026, FAST NUCES Islamabad**, on 16 and 17 October 2026. This was our second edition of Agentika (the first was hosted in 2024, a first of its kind). This time, Agentika was generously sponsored by Alternate Futures – the agent cloud made for developers, by developers. We (Grayhat) arranged the entire show, from pulling in Alternate Futures to its execution. We received an astounding amount of participation; **192 students from 22 institutions** signed up in teams of two, and **74 teams shipped a working project.** The theme was **Human + AI: Better Together.** We didn't want another round of chatbot wrappers. Every team had to build an agent that does real work on its own and still hands the important decisions to a person. There was also one hard rule: the project had to be live on Alternate Clouds. A demo on localhost didn't count. ## **Agentika 2.0 in numbers** 192 Students registered Across 96 teams 22 Institutions Represented 96 Teams registered 2 students per team 110K Prize money PKR Participants by institution 192 participants across 22 institutions 192 Participants FAST NUCES **79** COMSATS **24** Air University **22** NUST **17** UET **12** Other **38** Project submission rate 77% Submitted Live projects **74** Not submitted **22** Projects deployed live **74 / 96** 77% submission rate 22 remaining The **77% submission rate** is the number we're particularly proud of – at our Wrap-up: Web Social Party Game Jam!, fewer than half the teams made it to the finish. This time, **three out of four teams built something, deployed it, recorded a demo and posted about it on LinkedIn & X.** The crowd came from far beyond Islamabad. FAST NUCES sent 79 people, followed by COMSATS (24), Air University (22), NUST (17) and UET (12), with others travelling in from Lahore, Faisalabad, Multan, Sargodha, Layyah, Haripur and Nawabshah. ## **Day 1: a workshop, some riddles and a long night** Day 1 opened in a full hall. Ghulam Muhi Uddin from Grayhat ran a one-hour workshop to guide the participants on how to participate in a hackathon officially. He ran some live code demos, and showed participants how to deploy on Alternate Futures Cloud through both the UI, and through the MCP via the CLI (pretty neat!) *The Q&A ran for almost 40 minutes. *To break the ice, we ran an automation riddle challenge where right answers won T-shirts. By the end of it, people were talking to the organizers and to each other instead of staring at their laptops. Then the building started, and for many teams it went on through the night. ## **Day 2: deadlines and the final round** Day 2 began in the labs. Teams spent the morning fixing deployments, recording demo videos and filling in their submissions. *Once submissions closed, judges from Grayhat went through all 74 projects and picked the **Top 10.** The finalists then pitched live to the panel, with the following judging panel: - Hayk Mavisakalyan (Cofounder, Alternate Futures) - Saad Bazaz (CEO & Cofounder, Grayhat) - Usama Abdullah (Business Operatons, Grayhat) - Abdurrehman Subhani (Engineering Manager & Cofounder, Grayhat) Hayk from Alternate Futures judging over a video call. The day ended with the results and a lot of photos. **## **The winners** ### **🏆 Winner: Talaash by 404 Team Not Found** *Abdul Raheem and Wania Rahman* *When a child goes missing at a mall, an airport, a stadium or a festival, the first few minutes matter most. Most venues still run that search on radios and paper. **Talaash turns it into a coordinated search desk.** - A parent reports the missing child from their phone, by form or voice note - One AI agent builds the case, and a second one, running on a different model, checks it for red flags - Guards log sightings, and the system matches them against the case and against found-child reports - Alerts go out to guards on Discord, along with ready-to-read PA announcements What won the judges over was the human side. **No alert goes out until a security officer approves it,** and only a person can mark a child as safe. That single check stops prank reports, and it stops anyone in a custody dispute from using venue security to track a child. Live app · GitHub · Demo ### **🥈 Runner-up: Sona AI by Team Oblivion** *Syeda Aliza and Syed Rizwan* *A farmer buys fertilizer, spreads it, and a day later the rain washes it away. Many smallholder farmers also have no cash at sowing time, and most farming apps are too complicated for someone with little or no formal education. **Sona is built for exactly that farmer, and it speaks Urdu.** - The farmer talks to it in Urdu, and it answers in Urdu - It checks live weather and builds a fertilizer plan for the crop and the size of the land - An agronomist agent, a weather agent and an economist agent must agree before it suggests a day - It can spot plant disease from a photo of a leaf - It can order fertilizer on 0% buy-now-pay-later credit The farmer always picks the day and confirms every order, and the dealer checks stock before anything ships. Live app · GitHub · Demo ## **The Top 10 finalists** These ten teams made the cut from 74 submissions. Team Project What it does 404 Team Not Found **Talaash** Finds lost children in crowded venues Team Oblivion **Sona AI** Urdu voice assistant for farmers Hardcoders **RelayDesk** Fixes IT access and email outages Code Catalyst **Agent Firewall** Stops AI agents from obeying hidden instructions The Opus 5.5 **ReRoute** Finds a backup supplier when an order runs late KMForge **Afterward** Handles the paperwork after a death in the family Team 404 **Biztective** Finds out why an online store lost money LoopTroops **AWAAZ** Helps harassment survivors get help and report safely Powerpuff Girls **Power Hunt** Job applications with no made-up claims AgentX **ClearGate AI** Flags suspicious invoices before payment ## **Every project from Agentika 2.0** Here's every team that shipped, grouped by the problem they took on. Most of these are live right now, so click through and try them. 💡Be careful when clicking hackathon project links, they may as well be dangerous. You own the risk when trying them out.### **Safety, rights and public services** **AWAAZ by LoopTroops · Top 10 finalist**Most harassment cases never get reported, because survivors fear being identified and complaints go nowhere. AWAAZ sends her live location to a trusted contact in seconds, walks her through a gentle, skippable interview, drafts a formal complaint plus an anonymised public summary, and escalates the anonymised case to the press if the authorities sit on it for 24 hours. Live app · GitHub · Demo **KinGuard by AI Crusader**Scammers call elderly parents pretending to be their child or a police officer, and AI voice cloning now makes those calls sound real. A parent describes the call by voice note, screenshot or text in English, Urdu or Roman Urdu. KinGuard scores the scam risk, tells the parent out loud to hold off, and alerts a family guardian with the evidence. Live app · GitHub · Demo **ReliefLine by Man in the Loop**In a flood or earthquake, help requests pour into WhatsApp as panicked voice notes in many languages. ReliefLine transcribes and translates them, pulls out who needs what and where, flags duplicates, pins every request on a live map and offers the task to the nearest volunteer. Live app · GitHub · Demo **Disaster Response Coordinator by Neural Nexus**Rescue teams get repeated, vague, multilingual field reports and have to guess which area needs help first. This n8n workflow organises the reports with Gemini, checks them against flood-area data, ranks zones by need and writes a short brief for each one. Live app · Demo **JobShield AI by NeuralFlow**Fake overseas job offers drain people's savings through upfront visa fees and passport requests over WhatsApp. Paste an offer or upload the PDF and JobShield flags the risky claims, explains why, and hands back a verification checklist in English or Urdu. Live app · GitHub · Demo **Entitle by Git Happens**Scholarships, grants and benefits go unclaimed because the rules sit on long official pages that keep changing. Entitle tells you what you may qualify for, and every match quotes the exact line from the official eligibility page, checked word for word in code. Live app · GitHub · Demo **Witness by Glue Sticks**Fully automated benefits screening leaves wrongly denied applicants with nobody accountable. Witness extracts facts from case files with verbatim citations, runs eligibility through a seven-clause rules engine written in code, and logs every step in a tamper-evident ledger. Live app · GitHub · Demo **WageClaim Assist by AuraFex**Workers who are owed pay usually have their proof scattered across chats, invoices and screenshots. WageClaim Assist organises the evidence, masks personal details and drafts a clear wage claim letter.c Live app · GitHub · Demo **LawFlow by Ctrl Alt Elite**Over a third of people summoned to court don't show up, often because the notice is jargon nobody can read. LawFlow turns a police FIR into a proposed hearing slot and a plain-language summons in English and Urdu, then tracks delivery and flags non-compliance after 72 hours. Live app · GitHub · Demo **TenderSentry**Public tender packages run to 50+ pages written by different teams, and contradictions in dates and amounts can cost money or hide corruption. TenderSentry cross-checks the PDFs, explains each conflict in plain language and shows the clashing excerpts side by side. Live app · GitHub · Demo **Raabta Auto by T-Square**Vehicle owners forget token tax, insurance and registration renewals until the penalties arrive. Raabta Auto drafts personalised reminders from existing government records and sends them by email and SMS. GitHub · Demo ### **Healthcare** **MedBridge by Team Beta**Patients with several conditions see a different doctor for each, and nobody sees the full medicine list. MedBridge reads prescription photos, maps brand names to ingredients and flags duplicates, clashes and old prescriptions that were never stopped. Live app · GitHub · Demo **MedPassport by ForgeFlow**Common cold and pain medicines are banned or need permits in some countries, including transit stops, and travellers find out at customs. MedPassport reads your medicine list from a photo, checks it against every stop on your trip and drafts a customs letter. Live app · GitHub · Demo **TeachBack by 2thePoint**Patients sign surgery and trial consent forms they don't fully understand. TeachBack explains each point in plain language, asks the patient to explain it back, re-explains when they miss something and flags signs of pressure or distress. Live app · GitHub · Demo **CareLoop AI by 9x9 LDF**Small clinics lose patients to missed appointments, and chronic-care patients quietly drop out of treatment. CareLoop spots the no-shows, drafts outreach messages and finds open slots, while blocking any clinical question from the AI. GitHub · Demo **MediSense AI by Agent-Verse**Appointments, records, lab reports and scans usually live in separate systems. MediSense brings them into one platform with role-based access and AI that highlights possible findings on X-ray, MRI and CT images. Live app · GitHub · Demo ### **Everyday life** **Afterward by KMForge · Top 10 finalist**Settling a loved one's affairs takes about 13 months on average. Afterward takes the family's wishes once through Telegram, contacts every bank, telecom and utility, follows up for months and checks each "done" against what the family actually approved. Live app · GitHub · Demo **Tandem by Inferix**Tandem calls businesses on your behalf to book a dentist, a hotel or a group dinner, and pulls you into the live call with a one-tap card when a decision is yours. Live app · GitHub · Demo **Dwellio by Team Avatar**Dwellio puts tenant repair reports, manager approvals and technician visits into one trackable flow. Managers approve repairs, and the case closes only when the tenant confirms the fix. GitHub ### **AI safety, security and DevOps** **Agent Firewall by Code Catalyst · Top 10 finalist**AI agents with access to email and files can't tell their owner's instructions from a sentence an attacker hid in an email. Agent Firewall sits in front of the tool server as an MCP proxy, scores every tool call from 0 to 100 and holds anything risky, showing the reviewer the hidden sentence highlighted. Live app · GitHub · Demo **Mandate by Forge**Nobody lets an agent spend money or delete data unsupervised, but approving everything by hand burns people out. Mandate pauses agents before risky actions, routes them to a shared inbox, and after three similar decisions proposes a plain-English rule to automate the next one. It plugs into Python, n8n, Claude Code and Cursor. Live app · GitHub · Demo **PatchGuard by Feral Flows**Dependabot opens patch PRs without proving the bug was exploitable or that the patch fixes it. PatchGuard watches CVE feeds, tests whether the vulnerability is real, attacks the patch again to confirm the fix, then sends the result to Telegram. Live app · Workflow · Demo **RelayDesk by Hardcoders · Top 10 finalist**RelayDesk is an IT service desk where an identity specialist, a network and mail specialist and a runbook specialist investigate an outage together, then propose a scoped repair. The engineer authorises the repair plan, approves exact before and after changes, and confirms recovery. Live app · GitHub **IncidentPilot by Techies**Three cooperating agents investigate phishing reports and suspicious activity for small organisations, using read-only evidence tools across Gmail, GitHub and Windows Defender. An admin approves each response action, with a reason, before it runs. Live app · GitHub · Demo **Incident-To-Fix DevOps Agent by Tech Knights**This agent detects broken pipelines and proposes a fix. If its confidence is below 0.7, it only raises the alarm and doesn't touch anything. Every fix needs a human approval through Discord. Live app · GitHub · Demo **Autonomous Incident Responder by Sigma Air**This multi-agent workflow picks up production incidents from Sentry, investigates logs and deploy history through a custom MCP server, and opens a GitHub pull request with a proposed fix. A senior engineer reviews, tests and merges the PR. **BugProof by Promptly**BugProof turns a vague customer bug report into reproducible API evidence, a GitHub issue and a reply to the customer. When facts are missing, it asks instead of inventing them. Live app · GitHub · Demo **CoJudge by The Coalition**CoJudge was built for this very hackathon. It checks deployments, repos and demo videos, flags leaked keys and late commits, and only reveals its own score estimate after the judge has scored. Live app · GitHub · Demo ### **Small business and e-commerce** **Biztective by Team 404 · Top 10 finalist**Dashboards tell a small online store that margins fell, not why. Biztective runs a root-cause investigation over the store's own database, computes every number in SQL so each claim traces back to rows, and writes a recovery plan to Google Sheets. Live app · GitHub **Bizzii by YinYang**Four agents (sales, operations, project management and marketing) run the back office of a 5 to 20 person service business. A Risk-Trust Gate decides, action by action, whether an agent may act alone, must ask, or is refused. Live app · GitHub · Demo **ConnectXeo by ConnectXeo**ConnectXeo is an AI store operator for Shopify merchants. A coordinator routes each instruction to one of seven specialist agents for products, inventory, orders, refunds and support, then checks the result. Live app · GitHub · Demo **ShopNod by Prompt & Pray**Bakeries and corner shops lose money in quiet hours and on stock that's about to expire. ShopNod drafts discount offers within the owner's limits and sends them as QR codes to nearby shoppers. Live app · GitHub · Demo **LessHelpless by do adad deluluz**LessHelpless turns a plain-English request like "cancel the stale pending orders" into a sorted plan, then cancels and double-checks each order after approval. Nothing changes until someone clicks a single-use Approve, and paid, disputed or VIP orders are decided individually. Live app · GitHub · Demo **ReStock AI by Chat GPTwo**ReStock AI is a purchasing officer for small retailers that decides reorder quantities with Q-learning, runs routine orders and escalates expensive or unfamiliar ones with a plain-English reason. Live app · GitHub · Demo **StockSense by Agent X**Small restaurants either run out on busy days or over-order. StockSense works out what to buy from recent sales and stock levels, picks suppliers that arrive in time, and has Gemini review the plan without letting it touch the numbers. Live app · GitHub · Demo **SourceDesk by Uzashi**Five agents act as a sourcing team for solo sellers, scouting wholesale products, comparing suppliers and working out margins in code. The seller picks the products and suppliers and accepts the final plan. GitHub · Demo **MarketRadar by blazingturtles**MarketRadar researches a product idea across Amazon listings and reviews, Google demand and supplier listings, then writes a cited opportunity report and drafts a supplier inquiry. A person approves the opportunity and reviews the inquiry before any outreach. Live app · GitHub · Demo **CoolBreeze by VibeEngineers**CoolBreeze is a voice receptionist for home-service businesses that answers calls while the owner is out on a job, books routine work and logs everything in a CRM. For a gas smell or a CO alarm, it gives safety guidance and alerts the owner straight away. Live app · GitHub · Demo **SocialAgent by Tafreeh**Send SocialAgent a raw video over WhatsApp and get back an Instagram-ready Reel, with pauses cut, vertical framing, captions and music. The creator approves the edit and the caption and decides when it posts. GitHub · Demo **AutoNauts by AutoNauts**AutoNauts runs a society event end to end: registration, payment screenshot checks with Gemini vision, QR tickets, gate check-in and review links. Unclear payments go to an organiser on Telegram. Live app · GitHub · Demo **Client Onboarding and Invoice System by Paradox**This n8n system takes a freelancer's client from request form to meeting invite, agreement, invoice and welcome email. A person approves the invite, agreement and invoice through Gmail before they go out. Live app · GitHub · Demo **Freelancer Deal & Delivery Agent by Neural Ninjas**This n8n workflow takes a client's first message through clarifying questions, a priced proposal with guardrails, content creation, an AI quality check and invoiced delivery. The freelancer approves the proposal and the final work at two separate gates. GitHub · Demo **The Signal by Vakin**The Signal handles outbound prospecting for founders and small sales teams. It builds context on each prospect from your ideal customer profile and drafts the email. Every draft goes through a Slack approval gate before it's sent. Live app · GitHub · Demo **AutoVision Studio by AutoVision Studio**AutoVision Studio generates a 28-shot image and video prompt package for a single vehicle, with a shared vehicle profile that keeps every shot looking like the same car. Live app · Demo ### **Supply chain, finance and compliance** **ReRoute by The Opus 5.5 · Top 10 finalist**When a critical order is going to be late, small procurement teams lose days comparing suppliers by hand. ReRoute flags at-risk orders, then a team of agents finds the cheapest supplier that meets every rule and builds a recovery plan. Live app · GitHub · Demo **ClearGate AI by AgentX · Top 10 finalist**ClearGate is an n8n agent that reads invoice images, pulls out amounts and bank details, and flags red flags like unusually high amounts and missing IBANs. Nothing is paid until a person reviews the summary, adjusts the amount if needed and approves. Live app · Workflow · Demo **Cold-chain Reroute Desk by Reasoners**When a refrigerated container's cooling fails, the cargo has hours to live. This tool estimates remaining shelf life from temperature readings, proposes diversion ports and filters out the ones that are illegal or out of reach. Live app · Workflow · Demo **DemurrageGuard by MT**Shipping lines often bill demurrage for days the contract excludes. DemurrageGuard audits the invoice against the contract, gate records and port holidays in about a minute, and drafts a dispute letter with amounts checked in code. Live app · GitHub **EthiSource by AVALON-II**EthiSource vets a supplier against news, databases and customs manifests in under 45 seconds, compares that against the supplier's own claims and scores the risk out of 100. Live app · Workflow · Demo **TraceGuard by MightyAutos**TraceGuard screens supplier data for hidden forced-labour and sanctions risk, starting with garment exporters in Pakistan and Bangladesh, and logs every decision in a hash-chained record. A named reviewer decides flagged cases with a written justification. Live app · Demo **Escalera by Time Complexity**Escalera traces a consumer's food complaint back to the exact manufacturer batch and the retailers that received it. People verify complaints, approve inspections and escalations, and record the final safety verdict. Live app · GitHub · Demo **Cosign by Autobots**Cosign is a loan underwriting analyst that clears routine applications, asks applicants pointed questions when their numbers don't match, and leaves out protected attributes like gender and age. The model can escalate a case but never approve one on its own. GitHub · Demo **ComplAi by Dubious Duos**ComplAi reads a bank's policy draft, finds compliance gaps and ties each finding back to the regulation behind it. The compliance officer decides which changes to keep. Live app · GitHub · Demo **AmendAgent by ClaudeLimitReached**AmendAgent watches regulatory feeds from the US, EU and UK, finds the contract clauses each new rule affects and drafts amendment proposals with citations. A lawyer reviews every wording change and the owner decides what gets sent. Live app · GitHub · Demo **Ombot by Ninja Duo**Ombot triages and routes bank customer complaints, with Slack and ClickUp hooked in. Fraud, refunds and account actions are escalated to a person. Live app · GitHub · Demo **Apprentice by Yume**Apprentice turns requests from forms, email and Slack into verified tasks for the right department, and learns from the manager's corrections. High-value, urgent or suspicious requests go to a manager, and they expire after four hours with no decision. Live app · GitHub · Demo ### **Careers, education and hiring** **Power Hunt by Powerpuff Girls · Top 10 finalist**AI makes job applications fast and dishonest. Power Hunt builds an evidence ledger from your resume, GitHub and portfolio, finds jobs, tailors your CV and labels every generated claim as Verified, Inferred or Needs you. In testing it caught 95% of planted fabrications. Live app · GitHub · Demo **JobBot by Claviculars**JobBot is a Chrome extension agent that finds matching roles, fills each application in its own tab and asks you through an inbox when it hits a missing fact or a login. You approve every final submission. Live app · GitHub · Demo **RoleLander by AFK Builders**RoleLander is a research workspace that searches live vacancies and Greenhouse and Lever boards, then judges each role against your profile with source-backed evidence and drafts an application. Nothing is auto-submitted. Live app · GitHub · Demo **asanHire by Syntax Co**asanHire is an AI hiring pipeline that builds a scoring rubric from the job post, ranks resumes with evidence, runs proctored voice interviews and writes a final report. HR makes every hiring decision. **RampUp by Sialkot Gng**New engineers lose weeks to unfamiliar codebases. RampUp coaches them through real repo tasks with hints that cite exact files and lines, and opens a mentor case with the full context when it can't safely help. Live app · GitHub · Demo **GradBeacon by SolveSmith**Students applying abroad get burned by agents selling fake admission guarantees. GradBeacon finds graduate programs, compares funding and drafts emails, preferring official university sources every time. Live app · GitHub · Demo **ECHO by 2Man**ECHO is a university help desk that answers policy questions by voice and chat, grounded only in real university rules. When it isn't sure, it hands the conversation to a staff member. GitHub · Demo **ORBIT by Agentic Rebels**ORBIT helps students find opportunities they would otherwise miss, checks eligibility and turns each one into a personal roadmap. GitHub · Demo **CareerPilot by FlowForge**CareerPilot is an n8n workflow that pulls internship listings, scores how well each one matches and tracks them in Google Sheets. The student approves or rejects each listing through a form. Demo **APAI by Team Alpha**APAI is a personality assessment inspired by Ikigai that suggests career paths that fit your strengths, along with a development roadmap. GitHub · Demo ### **Research and fact-checking** **ClaimBreaker by Nemegun**ClaimBreaker checks research papers against their own code, datasets and results, re-runs supported evaluations in isolated containers and exports an evidence report. Live app · GitHub · Demo **Veritas by InevitableWinners**Veritas checks a claim against a full policy document with exact citations and two AI analysts, one arguing for and one against. A person reads the cited passages and records the decision. GitHub · Demo **VeritasGuard AI by Tech by A2**VeritasGuard is a fact-checking agent that investigates claims against live web evidence and weighs what supports and contradicts each one. Users approve or flag each assessment before the report is final. **TruthTrace by Kinza Team**TruthTrace flags signs of deepfakes and manipulation in images for investigators and journalists. An investigator makes the final call on authenticity. GitHub · Demo **InsightForge by Manius**InsightForge is a research chat over your own documents that notices when retrieved passages disagree on meaning, like "bank" the institution versus a river bank. It stops and asks you which meaning to follow. ## **What we learned** - **Making deployment mandatory.** "Deploy it or it doesn't count" changed the whole event. Teams stopped polishing slides and started fixing real errors, and we ended up with 74 working projects. - **A sharp theme.** "Human + AI: Better Together" pushed teams past the chatbot. Almost every project has a clear answer to "where does the person step in?" ## **Thank you** A big thank you to **Alternate Futures** for sponsoring Agentika 2.0 and putting a judge on the panel. Thanks to **NaSCon 2026**** and ****FAST NUCES Islamabad** for hosting us in NaSCon's Silver Jubilee year, to our judges, and to every participant who stayed up building. Of course, last but not least, thanks to every single Grayhatter who helped run this entire event; we truly love our developer communities and love contributing to them. Want to hire the people behind these projects, or sponsor the next one? **Get in touch with Grayhat****.** ### [Full Stack Deployment: Setting Up CI/CD for Node.js Applications on AWS with Custom Domains](https://grayhat.studio/blog/full-stack-deployment-setting-up-ci-cd-for-node-js-applications-on-aws-with-custom-domains) - Slug: `full-stack-deployment-setting-up-ci-cd-for-node-js-applications-on-aws-with-custom-domains` - Published: 2025-05-13T15:00:41.000+05:00 - Updated: 2025-05-13T15:00:41.000+05:00 - Reading time: 9 min - Tags: DevOps, Cloud, Automation, Deployment, Development, Software Engineering, Amazon Web Services (AWS) - Authors: Syed Abdullah Nasir - Visibility: public 💡This is a repost from Abdullah's original blog on Medium. Check it out here: https://medium.com/@nasirabdullahsyed/full-stack-deployment-setting-up-ci-cd-for-node-js-applications-on-aws-with-custom-domains-8924217cb1a4In today’s competitive digital landscape, the ability to deploy applications quickly and reliably is essential for development teams. This comprehensive guide will walk you through establishing a professional CI/CD pipeline for Node.js applications on AWS EC2, complete with custom domain configuration. Whether you’re a solo developer or part of a larger team, these automation techniques will streamline your workflow and ensure consistent deployments. # Understanding CI/CD and Its Benefits Continuous Integration and Continuous Deployment (CI/CD) revolutionizes the software development lifecycle by automating testing and deployment processes. Instead of manually transferring files and restarting services, a well-configured CI/CD pipeline handles these tedious tasks automatically when you push code changes to your repository. The benefits include: - Reduced human error during deployments - Faster release cycles - Consistent testing before production deployment - Easier rollbacks when issues arise - Better collaboration within development teams # Prerequisites Before we dive into implementation, ensure you have: - An active AWS account with permissions to create and manage EC2 instances - A Node.js application ready for deployment (either existing or new) - A GitHub repository containing your application code - A domain name (if implementing the custom domain section) # Part 1: Setting Up Your AWS Infrastructure # Launching an EC2 Instance Let’s begin by creating the server that will host your application: - Log in to your AWS Console and navigate to the EC2 Dashboard *****AWS EC2 Dashboard****- Click the “Launch Instance” button - Select an appropriate Amazon Machine Image (AMI). For Node.js applications, Ubuntu or Amazon Linux 2 are excellent choices due to their stability and widespread support *****EC2 Launch Instance Section 2 — Application and OS Images (Amazon Machine Image)****- Choose an instance type. For smaller applications or testing environments, the free-tier eligible t3.micro is sufficient. Production applications may require more resources depending on traffic expectations *****EC2 Launch Instance Section 3 — Instance type****- Configure a key pair. This is critical for secure SSH access to your instance. Either create a new key pair or select an existing one, but ensure you download the private key file (.pem) if creating a new one *****EC2 Launch Instance Section 4 — Key pair (login)*********EC2 Launch Instance Section 4.1 — Key pair (login) — Create key pair Popup****- Configure security groups to allow the necessary network traffic: - SSH (port 22): Restrict to your IP address for security - HTTP (port 80): Allow from anywhere (0.0.0.0/0) - HTTPS (port 443): Allow from anywhere (0.0.0.0/0) *****EC2 Launch Instance Section 5 — Network settings****- Configure storage settings: - For most Node.js applications, the default storage allocation (8 GB) is sufficient - Use General Purpose SSD (gp2 or gp3) for balanced performance - Consider increasing storage if you anticipate **storing large media files**, **accumulating extensive logs**, **hosting databases locally (though a separate RDS instance is recommended for production) - **You can always increase storage later if needed *****EC2 Launch Instance Section 6 — Configure storage****- Launch the instance and note the Public IP address assigned to it *****EC2 Launch Instance Section 8 — Summary*********EC2 Instance Tab****# Setting Up the Server Environment After launching your EC2 instance, you’ll need to install the necessary software: - Connect to your instance via SSH: *****EC2 Instance — Connect Section — SSH Client Tab****ssh -i /path/to/your-key.pem ubuntu@your-ec2-public-ip - Update the package repositories: sudo apt update - Install Node.js and npm: sudo apt-get install -y nodejs - Install Nginx to act as a reverse proxy and check its status: sudo apt-get install nginx sudo systemctl start nginx sudo systemctl enable nginx sudo systemctl status nginx - Install PM2, a process manager that will keep your Node.js application running: sudo npm install -g pm2 At this point, navigating to your EC2 instance’s public IP address *http://your-ec2-public-ip/* in a browser should display the default Nginx welcome page, confirming that your web server is working correctly. # Part 2: Configuring GitHub Actions for CI/CD GitHub Actions provides an elegant way to implement CI/CD directly within your GitHub repository. We’ll set up a workflow that automatically deploys your application whenever changes are pushed to the main branch. # Setting Up a Self-Hosted GitHub Runner Unlike GitHub’s cloud-based runners, a self-hosted runner gives you direct access to your EC2 instance during deployment: - In your GitHub repository, navigate to Settings > Actions > Runners. *****GitHub Repository Settings — Actions Tab****- Click “New self-hosted runner” - Select “Linux” as the operating system. - Follow the provided instructions to download, configure, and run the GitHub Actions runner on your EC2 instance. *****GitHub Repository Settings — Actions Tab — New Runners Setup****Once installed, set up the runner as a system service to ensure it runs continuously: cd ~/actions-runner sudo ./svc.sh install sudo ./svc.sh start Verify that the service is running: sudo ./svc.sh status # Creating the GitHub Actions Workflow Now, create the workflow definition that will trigger your deployments: - Add your applications environment variables as a GitHub Secret *****GitHub Repository Settings — Secrets and Variables Tab*********GitHub Repository Settings — Secrets and Variables Tab — New Repository Secret Setup****- In your repository, create a directory structure .github/workflows/ - Add a file named deploy.yml with the following content: name: Node.js CI/CD # Trigger the workflow on pushes to the "main" branch on: push: branches: [ "main" ] jobs: build: # This job runs on your self-hosted runner runs-on: self-hosted steps: # Step 1: Checkout the latest code - uses: actions/checkout@v4 # Step 2: Setup Node.js environment - name: Use Node.js 20.x uses: actions/setup-node@v3 with: node-version: '20.x' cache: 'npm' # Step 3: Install dependencies - run: npm ci # Step 4: Set up environment variables # This step assumes you've stored your env variables as GitHub Secrets - run: | touch .env echo "${{ secrets.PROD_ENV }}" > .env # Step 5: Build the project if needed - run: npm run build --if-present # Step 6: Restart the application using PM2 - run: pm2 restart node-app || pm2 start server.js --name node-app This workflow performs several important functions: - Checks out your code on the EC2 instance - Sets up the appropriate Node.js version - Installs dependencies with npm ci (which is faster and more reliable than npm install) - Creates an environment file with your secrets - Builds your application if needed - Starts or restarts your application with PM2 # Configuring Nginx as a Reverse Proxy Now, set up Nginx to direct incoming web traffic to your Node.js application: sudo nano /etc/nginx/sites-available/default Replace the default configuration with: server { listen 80; server_name _; # For API endpoints location /api { rewrite ^\/api\/(.*)$ /api/$1 break; proxy_pass http://localhost:4000; # Adjust port to match your application proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } Test the configuration and restart Nginx: sudo nginx -t sudo systemctl restart nginx # Part 3: Adding a Custom Domain A professional application should have a proper domain name rather than an IP address. Let’s configure your application to use your custom domain. # Setting Up DNS Records - Log in to your domain registrar’s dashboard (e.g., Namecheap, GoDaddy, Route 53). - Navigate to the DNS management section for your domain. - Create A records pointing to your EC2 instance: - Type: A Record - Host: @ (for root domain) - Value: Your EC2 instance’s public IP address - TTL: 3600 (or recommended value) - For the www subdomain: - Type: A Record - Host: www - Value: Your EC2 instance’s public IP address - TTL: 3600 # Updating Nginx Configuration for Your Domain - Create a new Nginx configuration file for your domain: sudo nano /etc/nginx/sites-available/default - Add the following configuration: server { listen 80; server_name your-domain.com www.your-domain.com; # For API endpoints location /api { rewrite ^\/api\/(.*)$ /api/$1 break; proxy_pass http://localhost:4000; # Adjust if needed proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } # For serving static content or frontend location / { proxy_pass http://localhost:4000; # Adjust if needed proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } - Enable the new configuration: sudo ln -s /etc/nginx/sites-available/your-domain.conf /etc/nginx/sites-enabled/ sudo nginx -t sudo systemctl restart nginx # Securing Your Application with SSL/TLS Adding HTTPS encryption is crucial for modern web applications: - Install Certbot and the Nginx plugin: sudo apt update sudo apt install certbot python3-certbot-nginx - Obtain and install SSL certificates: sudo certbot --nginx -d your-domain.com -d www.your-domain.com - Follow the prompts to complete setup, choosing to redirect all HTTP traffic to HTTPS. - Certbot automatically configures renewal, but you can test it: sudo certbot renew --dry-run After SSL configuration, your Nginx setup will be updated to handle HTTPS connections securely. # Part 4: Verifying and Testing the Deployment After completing the setup, it’s time to verify that everything works as expected: - Push a change to your repository: git add . git commit -m "Test CI/CD deployment" git push origin main - Monitor the GitHub Actions workflow in your repository’s Actions tab. - Once the workflow completes, visit your domain or EC2 public IP address to verify that your application is running correctly. - Check the PM2 status on your EC2 instance: pm2 status # Advanced Optimizations To further enhance your deployment, consider these advanced optimizations: # Allocating an Elastic IP An Elastic IP ensures your application remains accessible even if your EC2 instance is restarted: - In the AWS Console, navigate to EC2 > Elastic IPs. - Allocate a new Elastic IP address. - Associate it with your EC2 instance. - Update your DNS A records to point to this new Elastic IP. # Implementing a CDN For applications serving users across different geographic regions, a CDN can significantly improve performance: - Set up AWS CloudFront or another CDN service. - Configure the CDN to use your domain as the origin. - Update your DNS records to point to the CDN distribution. # Setting Up Monitoring and Logging Implement monitoring to stay on top of your application’s health: - Install a monitoring agent like AWS CloudWatch or set up Prometheus. - Configure alerting for critical metrics like CPU usage, memory utilization, and disk space. - Set up centralized logging with tools like CloudWatch Logs, ELK Stack, or Graylog. # Common Troubleshooting Tips If you encounter issues during setup, check these common problem areas: - **DNS Resolution Issues**: Use nslookup your-domain.com to verify DNS propagation. - **Connection Refused Errors**: Check that your security groups allow traffic on the necessary ports. - **Application Not Running**: Check PM2 logs with pm2 logs node-app. - **Nginx Configuration Problems**: Review error logs with sudo tail -f /var/log/nginx/error.log. - **SSL Certificate Issues**: Ensure that Certbot completed successfully and check for certificate errors in browser developer tools. # Conclusion You’ve now set up a professional-grade CI/CD pipeline for your Node.js application on AWS EC2, complete with a custom domain and HTTPS encryption. This automation will save you countless hours of manual deployment work while ensuring consistent and reliable updates to your application. By leveraging GitHub Actions, you’ve created a streamlined workflow that automatically deploys your code whenever changes are pushed to your repository. This approach facilitates rapid iteration and helps maintain a consistent development experience across your team. The addition of a custom domain with SSL/TLS encryption provides a professional appearance and ensures secure communication between your users and your application. Remember to maintain your infrastructure by keeping your server updated and monitoring your application’s performance. For more advanced scenarios, consider exploring container-based deployments with Docker and Kubernetes, which can provide even greater flexibility and scalability for complex applications. Happy coding and deploying!