You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

565 B

Setup aws localstack

  1. Start docker
$ docker-composer up -d
  1. to enter CLI
// check image name
$ docker ps

// enter interactive bash shell
$ docker exec -it mongo-5-mongo-1 bash

// enter to mongo shell
$ docker exec -it mongo-5-mongo-1 mongosh "mongodb://root@localhost:27017"
  1. To test server. Using aws-cli to connect localhost:27017. login : root password : example

  2. Stop server

$ docker-compose down

https://dev.to/goodidea/how-to-fake-aws-locally-with-localstack-27me

Ports

  • 4566-4599 : services
  • 9000 : WEB ui