Deployment patterns
Multiple service instances per host Service instance per host Service instance per VM Service instance per Container Serverless deployment Service deployment platform
Multiple service instances per host: context
You have applied the Microservice architecture pattern and architected your system as a set of services. Each service is deployed as a set of service instances for throughput and availability.
Multiple service instances per host: problem
How are services packaged and deployed?
Multiple service instances per host: forces
Multiple service instances per host: solution
Run multiple instances of different services on a host (Physical or Virtual machine).
Multiple service instances per host: result benefits
More efficient resource utilization than the Service Instance per host pattern
Multiple service instances per host: result drawback
Multiple service instances per host: related
The Single Service Instance per Host pattern is an alternative solution.
The Serverless deployment pattern is an alternative solution.
Single service instances per host: context
You have applied the Microservice architecture pattern and architected your system as a set of services. Each service is deployed as a set of service instances for throughput and availability.
Single service instances per host: problem
How are services packaged and deployed?
Single service instances per host: forces
Single service instances per host: solution
Deploy each single service instance on its own host
Single service instances per host: result benefits
Single service instances per host: result drawbacks
Potentially less efficient resource utilization compared to Multiple Services per Host because there are more hosts
Single service instances per host: relateds
The Multiple Service Instances per Host pattern is an alternative solution
The Service Instance per VM pattern is a refinement of this pattern
The Service Instance per Container pattern is a refinement of this pattern
The Serverless deployment pattern is an alternative solution.
Service Instance per VM: context
You have applied the Microservice architecture pattern and architected your system as a set of services. Each service is deployed as a set of service instances for throughput and availability.
Service Instance per VM: problem
How are services packaged and deployed?
Service Instance per VM: forces
Service Instance per VM: solution
Package the service as a virtual machine image and deploy each service instance as a separate VM
Service Instance per VM: examples
Netflix packages each service as an EC2 AMI and deploys each service instance as a EC2 instance.
Service Instance per VM: result benefits
Service Instance per VM: result drawbacks
Building a VM image is slow and time consuming
Service Instance per VM: relateds
Service Instance per Container: context
You have applied the Microservice architecture pattern and architected your system as a set of services. Each service is deployed as a set of service instances for throughput and availability.