Generally speaking no. Treat your IP (the code that runs your business, makes your business competitive or special) as precious and don't make it subservient to infra. It should be in the format (code, architecture, structure) that best serves it.
And yet so many companies spent the last decade doing it to fit into AWS pricing models
And yet so many companies spent the last decade doing it to fit into AWS pricing models