I realized that when I have a .aws folder with config file inside it, AWS responds about 100 times faster (to any upload, download, or query) than when config file does not exist.
I do not want to have aws folder on my system, so I used the following code to set the config region. However, it is still not as fast as when config file existed.