I’m using AWS for the first time and have just installed boto for python. I’m stuck at the step where it advices to:
“You can place this file either at /etc/boto.cfg for system-wide use or in the home directory of the user executing the commands as ~/.boto.”
Honestly, I have no idea what to do. First, I can’t find the boto.cfg and second I’m not sure which command to execute for the second option.
Also, when I deploy the application to my server, I’m assuming I need to do the same thing there too…
The former simply means that you might create a configuration file named
boto.cfgwithin directory/etc(i.e. it won’t necessarily be there already, depending on how boto has been installed on your particular system).The latter is indeed phrased a bit unfortunate –
~/.botomeans that boto will look for a configuration file named.botowithin the home directory of the user executing the commands (i.e. Python scripts) which are facilitating the boto library.You can read more about this in the boto wiki article BotoConfig, e.g. regarding the question at hand:
You’ll indeed need to prepare a respective configuration file on the server your application is deployed to as well.
Good luck!