Skip to main content
← All disciplines

06 / Infrastructure architecture

How we deploy, serve and watch our products

What we run

What we’re building

Where does a branch deploy?

Branch delivery: Where does a branch deploy?Each branch event triggers its own deployment. Stage is a demo URL, not a step every change passes through on the way to main.. GitHub → GitHub Actions: push. Returns checks. GitHub → Deploy platform: push or merge. Deploy platform → Preview: branch. Deploy platform → Stage: merge to stage. Deploy platform → Production: merge to main.push / checkspush or mergebranchmerge to stagemerge to mainGitHubBRANCHES + MERGESGitHub ActionsCI CHECKSDeploy platformCHOSEN PER PRODUCTPreviewAUTOMATICStageSTABLE DEMO URLProductionLIVE

━ Selected flow ┄ Other connections

GitHub Actions runs CI. Each product deploys through the platform that suits it: Laravel Forge, Vapor, Laravel Cloud, AWS Amplify or Cloudflare.

What we run · Branch delivery

Which platform deploys
AWS Amplify deploys the branded websites. Vapor deploys the Platform API, and Forge deploys the staff CRM.
Triggers, not a ladder
A feature branch gets a preview, a merge to stage updates the demo and a merge to main deploys live. A change doesn’t have to go through stage to reach main.

Where the frontend, API and CRM run today

Frontend

Live hosting: FrontendAmplify serves the branded frontend, which requests data from the Platform API.. AWS Amplify → Branded websites: serves site. Branded websites → Platform API: requests data.serves siterequests dataAWS AmplifyFRONTEND HOSTINGBranded websitesSHARED NEXT.JS FRONTENDPlatform APICONTINUES IN API DRAWING

━ Selected flow ┄ Other connections

One Next.js frontend serves several brands. The sites share an API, not a database connection.

Platform API

Live hosting: Platform APICloudflare DNS resolves the API name. Lambda runs the API, which queries Aurora MySQL.. Cloudflare → Platform API: resolves to. Platform API → Aurora MySQL: queries.resolves toqueriesCloudflareAPI DNSPlatform APIVAPOR · AWS LAMBDAAurora MySQLAMAZON RDS

━ Selected flow ┄ Other connections

Web and mobile clients resolve the API name before calling Laravel on Lambda.

Staff CRM

Live hosting: Staff CRMRoute 53 resolves the CRM name. The CRM app server queries a separate MySQL server.. Route 53 → Staff CRM: resolves to. Staff CRM → MySQL server: queries.resolves toqueriesRoute 53CRM DNSStaff CRMFORGE · APP SERVERMySQL serverDEDICATED DATABASE

━ Selected flow ┄ Other connections

Staff use a separate Laravel application. Forge manages its app server and its database server.

How we ship and watch these systems
SystemDeployObserve
FrontendAWS Amplify deploys the branded sites.Sentry reports browser errors.
APIVapor deploys the API to Lambda.Sentry reports API errors. Slack brings alerts to the team.
CRMForge manages both servers and deploys the app.Sentry reports errors. Nightwatch traces Laravel requests and jobs.

Open roles

Kathmandu, Nepal · Full-time

DevOps Engineer →

Own the infrastructure that keeps our products running on AWS and Cloudflare. You’ll be our first dedicated DevOps engineer.

See all open roles →