Author:
erics, July 29th, 2021
I was getting error “You must specify a region” when running any aws CLI command. The fix: Using the aws command:
|
aws configure set region us-east-1 --profile demo |
which will automatically add the following to the file ~/.aws/config:
|
[profile demo] region = us-east-1 |
You many simply edit the ~/.aws/config file yourself and append the same thing:
|
vi ~/.aws/config [profile demo] region = us-east-1 |
Categories: How-To's, Technology Tags: AWS, aws cli, aws command, aws configure, aws set, cli, Command, Config, configure, Error, Region, You must specify a region
| No comments
Author:
erics, September 5th, 2017
Set browser.autofocus to false in about:config
Categories: How-To's, Technology Tags: about:config, AutoFocus, Browser, browser.autofocus, Config, configure, Firefox, Focus, New Tab, search, Tab, URL
| No comments
Author:
erics, March 29th, 2016
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-set-up.html http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html AWS CLI v2
|
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install |
AWS CLI v1
|
cd curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" unzip awscli-bundle.zip yum install python26 /usr/bin/python26 awscli-bundle/install -i /opt/aws/awscli -b /usr/bin/aws aws configure aws s3 ls aws ec2 describe-instances --output text |
ls -l ~/.aws
|
total 8 -rw------- 1 root root 43 Mar 24 18:05 config -rw------- 1 root root 116 Mar 24 18:05 credentials |
cat ~/.aws/config
|
[default] output = json region = us-east-1 |
cat ~/.aws/credentials
|
[default] aws_access_key_id = NNNNNNNNNNNNNNNNNNNN aws_secret_access_key = NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN |
Categories: How-To's, Technology Tags: AWS, cli, configure, Credentials, Creds, howto, Install, Python, python26, tips, Yum
| No comments
Author:
erics, February 25th, 2012
|
yum install glib2-devel yum install fuse-devel yum install libcurl-devel wget http://sourceforge.net/projects/curlftpfs/files/latest/download tar xvzf curlftpfs-0.9.2.tar.gz cd curlftpfs-0.9.2 ./configure make make install |
http://curlftpfs.sourceforge.net/
Categories: How-To's, Technology Tags: Amazon, Amazon Linux, AWS, CentOS, compile, configure, Curl, curlftpfs, fuse, glib, howto, make, make install, tips, Yum
| 2 comments