Developer Center

Microservices and Monoliths

PowerTools supports mixing and matching both microservices and monoliths in the same workspace. Whether your team has a single app or hundreds, PowerTools will work for you

Microservices

You can build microservices using PowerTools by declaring a single component per service:

components:
  - type: https-public
    ...
You can share code between services using sources.

Monoliths

You can build monoliths by combining components in a single service:

components:
  - type: https-public
    ...

  - type: static-public
    ...

  - type: cronjob
    ...

  - type: worker
    ...

PowerTools empowers your team to choose microservices or monoliths and to build software in a way that makes sense for your organization.

Each component in a service is deployed and rolled back together.

Migrating

As your team scales and evolves you may find yourself changing the boundaries of applications.

You can safely add and remove components from your services and re-deploy them. The PowerTools deployment engine is designed to robustly and safely evolve the infrastructure backing your services on each deployment.