Standard disclaimer: I work at AWS in Professional Services, all opinions are my own.
It really doesn’t matter. Most applications are written in non native languages like Node, C#, Java, and Python.
If you have native dependencies, even if you are on the same architecture, you’re going to run into issues developing and building packages if if isn’t the same operating system.
Simple case of building Lambdas on none Amazon Linux operating system is just add —use-containers when using the Serverless Application Model.
Other cases, I’ve had to build on Cloud 9 instances.
It really doesn’t matter. Most applications are written in non native languages like Node, C#, Java, and Python.
If you have native dependencies, even if you are on the same architecture, you’re going to run into issues developing and building packages if if isn’t the same operating system.
Simple case of building Lambdas on none Amazon Linux operating system is just add —use-containers when using the Serverless Application Model.
Other cases, I’ve had to build on Cloud 9 instances.