Isntallation of tools
1.-INSTALLATION OF LOCALSTACK CLI
x86-x64:
curl --output localstack-cli-4.10.0-linux-amd64-onefile.tar.gz \
--location https://github.com/localstack/localstack-cli/releases/download/v4.10.0/localstack-cli-4.10.0-linux-amd64-onefile.tar.gz
ARM:
curl --output localstack-cli-4.10.0-linux-arm64-onefile.tar.gz \
--location https://github.com/localstack/localstack-cli/releases/download/v4.10.0/localstack-cli-4.10.0-linux-arm64-onefile.tar.gz
sudo tar xvzf localstack-cli-4.10.0-linux-*-onefile.tar.gz -C /usr/local/bin
2.-INSTALLATION AWS CLI
apt install awscli
aws configure --profile local
3.-HOW TO USE
aws --endpoint-url http://localhost:4566 configure
aws --endpoint-url http://localhost:4566 s3 ls
If you want not to type endpoint-url on each execution, you can edit .bashrc and add:
export AWS_ENDPOINT_URL="http://localhost:4566"