Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter...

41
2019 Microservices with AWS

Transcript of Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter...

Page 1: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

2019

Microservices with AWS

Page 2: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Di Blasi Andrea

Developer at CorleyAWS Certified

[email protected]

corley.it

Page 3: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Versione 1.0

● Introduction● Microservices

with Containers

SUMMARY

● Serverless Microservices● IPC (Inter Process

Communication) with SNS and SQS

● Continuous Deployment

Page 4: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Introduction

Page 5: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Introduction

Page 6: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

SOLID

“A class should only have a single responsibility, that is, only changes to one part of the software's specification should be able to affect the specification of the class”

Single Responsibility Principle

Introduction

Page 7: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Introduction

What is mean?

Page 8: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.
Page 9: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

● Scaling● Decoupling● No one point of failure

● Multiple code base

● Skill requirements

● Testing

Pros & Cons

Page 10: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.
Page 11: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with containers

Page 12: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.
Page 13: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

● Write your code

● Build your image

● Run your containers

Page 14: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

Where do I run it?

Page 15: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.
Page 16: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

Elastic Container Service (ECS)

Page 17: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

Page 18: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

Page 19: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

Page 20: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

Page 21: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

No cluster management

Page 22: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.
Page 23: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices with Containers

But it’s not all perfect...

Page 24: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.
Page 25: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Serverless Microservices

Page 26: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Serverless Microservices

Page 27: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Serverless Microservices

Page 28: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Pros & Cons

● Costs optimization● Focus on code

● Debugging

Page 29: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.
Page 30: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Inter process communication between microservices

Page 31: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

IPC between Microservices

● Syncronous

● Asyncronous

Page 32: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

IPC between Microservices

Simple Notification Service(SNS)

Page 33: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

IPC between Microservices

Simple Queue Service(SQS)

Page 34: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

IPC between Microservices

Page 35: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

IPC between Microservices

Page 36: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

IPC between Microservices

Page 37: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices CD with AWS

Page 38: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.
Page 39: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices CD with AWS

Page 40: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Microservices CD with AWS

Page 41: Microservices with AWS · Microservices with Containers SUMMARY Serverless Microservices IPC (Inter Process Communication) with SNS and SQS Continuous Deployment. Introduction. Introduction.

Thanks for listening