deploying two apps, three microservices and one … presentation.pdfdeploying two apps, three...
TRANSCRIPT
DEPLOYING TWO APPS, THREE MICROSERVICES AND ONE WEBSITE WITH ZERO HAIR LOSS:WHAT WORKED FOR USCharles Korn
1
ARCHITECTURE
4
Golang service
Event log
Golang service
Event log
AWS
nginx
AngularJScontent
nginx
Websitecontent
Private S3bucket
Docker container
EC2 instance
Golang service
WordPress
ARCHITECTURE
6
Service Av10
Service Av11
Service Av10
{""eventType":""eventA","..."}{""eventType":""eventB","..."}
{""eventType":""eventA","..."}{""eventType":""eventB","..."}{""eventType":""eventC","..."}{""eventType":""eventB",""newAttr":""1234""}
{""eventType":""eventA","..."}{""eventType":""eventB","..."}{""eventType":""eventC","..."}{""eventType":""eventB",""newAttr":""1234""}
ARCHITECTURE
8
8 days
Few hours
Sources: iOS app store from appreviewtimes.com as at July 4; Google Play from official Android developers blog
DEPLOYMENT PIPELINES
13
“dev please” Dev
QA
Staging
Production
“staging please”
“production please”
“QA please”
DEPLOYMENT PIPELINES
1. Download new Docker image (~5 s)
2. Stop old version (near instant)
3. Start new version (~1 s)
14Photo: creativereview.co.uk
MONITORING
1. Go to website
2. Sign up for an account
3. Go to app
4. Complete introduction
5. Check basic interactions work
6. Check content is shown as expected
19
THANK [email protected]