I would like to run an EC2 in another region without having to change aws configuration. This is a script that should run for other users as well.
I know that it is possible to create an SG in another region just by passing the argument --region us-east-2
.. but doesn't work for Runinstances api.
Another solution would be a script that runs aws configure
and change ONLY the region, without any input from the user. any idea on how to implement any of these 2 ?