Skip to content

Instantly share code, notes, and snippets.

@shukra-in-spirit
Last active September 8, 2022 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shukra-in-spirit/36576b51c98aa7a2704ef2af6d2b9bdb to your computer and use it in GitHub Desktop.
Save shukra-in-spirit/36576b51c98aa7a2704ef2af6d2b9bdb to your computer and use it in GitHub Desktop.
Useful hacks for running localstack in your local environment

Install localstack on ubuntu: https://medium.com/testvagrant/how-to-install-localstack-natively-on-ubuntu-18-04-step-by-step-ca344b7b7d78

Extra step: in case the localstack command is not recognized: Go to /home/<user>/.local/bin and check if localstack is present add it to path by echo $PATH and adding the items after a :

Download aws cli v2 curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install

Install awslocal cli wrapper pip install awscli-local

check using awslocal sts get-caller-identity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment