Minimum resource requirment

I want to know about the minimum resource requirement to deploy it on ec2 instance. I’m deploying an API that convert dicom series to Vti and .vtkjs file for 3d web rendering using itk and vtk library (python),
but I’m getting error illegal instruction (core dump)

If you’re talking about the wheels, they might require x86_64-v3. But if you could get the illegal instruction, that would help a lot.