@rawkode #scotphp17
Cloud
Klaʊd
* To all the OCD types out there, I’m sorry
Slide 7
Slide 7 text
@rawkode #scotphp17
Cloud Native Computing Foundation
(CNCF)
Slide 8
Slide 8 text
@rawkode #scotphp17
Cloud Native Computing Foundation (CNCF)
1. Containerized
Each part (applications, processes, etc) is packaged in its own container. This facilitates
reproducibility, transparency, and resource isolation
2. Dynamically Orchestrated
Containers are actively scheduled and managed to optimize resource utilization
3. Microservices Oriented
Applications are segmented into microservices. This significantly increases the overall agility
and maintainability of applications.
Slide 9
Slide 9 text
@rawkode #scotphp17
Containerized
“Each part (applications, processes, etc) is packaged in its own container. This
facilitates reproducibility, transparency, and resource isolation”
@rawkode #scotphp17
Containerized: Transparency
FROM alpine:3.5
RUN apk update && apk add php
ENTRYPOINT [ “php” ]
CMD [“-v”]
Slide 14
Slide 14 text
@rawkode #scotphp17
Dynamically Orchestrated
Containers are actively scheduled and managed to optimize resource utilization
Slide 15
Slide 15 text
@rawkode #scotphp17
Dynamically Orchestrated
Slide 16
Slide 16 text
@rawkode #scotphp17
Microservices Oriented
Applications are segmented into microservices. This significantly increases the
overall agility and maintainability of applications.
@rawkode #scotphp17
4. Logging
Understanding what is going
wrong
Centralised Logging
➔ ssh prod ☹
➔ Log to a central place
➔ Cross-sections
➔ Exception Tracking
Slide 51
Slide 51 text
@rawkode #scotphp17
Understanding
Slide 52
Slide 52 text
@rawkode #scotphp17
5. Monitoring
Predicting when something will go
wrong
Be the first to know when a
service is down
Slide 53
Slide 53 text
@rawkode #scotphp17
5. Monitoring
Predicting when something will go
wrong
Understand your limits
/
Scale accordingly
Slide 54
Slide 54 text
@rawkode #scotphp17
5. Monitoring
Predicting when something will go
wrong
Don’t DDOS Yourself
Slide 55
Slide 55 text
@rawkode #scotphp17
Psychic Abilities
Slide 56
Slide 56 text
@rawkode #scotphp17
6. Micro-services
Just don’t ask me to quantify
“micro”
➔ Don’t refactor, replace
➔ Simplified testing
➔ Fast CI/Deploy
➔ Simple on-boarding
Slide 57
Slide 57 text
@rawkode #scotphp17
Agility
Slide 58
Slide 58 text
@rawkode #scotphp17
From Monolith to
Micro-services
★ Confidence
★ Scalability
★ Idempotence
★ Understanding
★ Super Mind Reading Abilities
★ Agility
Slide 59
Slide 59 text
@rawkode #scotphp17
One More Thing …
Slide 60
Slide 60 text
@rawkode #scotphp17
Service Mesh
(istio edition)
Connect, Manage & Secure your
services
➔ Load Balancing
➔ Canaries
➔ Circuit Breakers
➔ Handling Timeouts and Retries
➔ Fault Injection
➔ mTLS