Remove the dependency on EC2 runtime.