⚠️ Screen too narrow

best viewed in landscape or larger window

Old and Multiple App Hosting - Reimagined

Had old rarely used individual apps that needed to be hosted.
Reimaginded the hosting to be a single instance running a docker network.

Summary of Video:

Reimagine-multiple apps on server
Running multiple apps in the cloud

Reimagine-multiple apps on server
Problem Statement

Reimagine-multiple apps on server
Had a bunch of proof of concept apps to run
Some apps were old versions of languages and packages
Mixed languages
Don’t want to create multiple EC2 instances
Don’t want to upgrade old apps
DEFINITELY do not want to rewrite as one big app

Reimagine-multiple apps on server
Reimagine

Reimagine-multiple apps on server
Reimagine - Design
Multiple apps all in their own docker container
All the containers are on a docker network

Reimagine-multiple apps on server
Create docker images for all the apps
Locks in the language and package version
Web hosting platform can’t complain about language version
Each app can be its own version and LANGUAGE
Create docker network of containers
Deploy the network with NGINX router
NGINX router can be setup for rate limiting
NGINX router can handle one SSL certificate for all the apps
NGINX cane be “good” security against hackers

Reimagine-multiple apps on server
Outcome

Reimagine-multiple apps on server
Project allows all of the apps to keep running
Can keep adding apps by adding containers
One fixed price for all the apps
The more apps that are hosted, the less cost per app it becomes

Reimagine-multiple apps on server
Lessons Learned

Reimagine-multiple apps on server
Docker containers are ideal for deployment
Each app is in it’s own container
Administering the network is easy as can view each docker by name
Fixed pricing for hosting all apps is loved by management especially accounting

Reimagine-multiple apps on server
Thank-You