The five components of a microservices architecture are: Microservices. The specific pieces of business logic.  Containers. Executable software units where application code is packaged. Service mesh. A dynamic messaging layer that allows services to communicate. Service discovery. A mechanism that tells teams where each service instance is located. API gateway. A software pattern in front of an API or group of microservices that handles the request and delivery of data and services.