Architecture
Last updated
Last updated
Firstly, let's cover the architecture used to make build requests by Monarch. The following diagram demonstrates how the different components involves tie together.
The Monarch build client is a binary that exists on Monarch development images, and shouldn't be touched. Its existence isn't relevant to the developer. It communicates with the main C2 server using gRPC to forward build requests and responses to the Python build service.
The python build service is a HTTP server that runs a developer-defined callback each time a build request is received. This callback returns a build response object, which the service compiles and sends back to the build client.