With LocalStack it's possible to run AWS applications or Lambdas entirely on local machine without connecting to a remote cloud provider.
Installing LocalStack: https://github.com/localstack/localstack
Initializing LocalStack in project with parameters, secrets, buckets, queues and topics already created:
cd ./localstack
docker-compose up
bash localstack.sh
- Parameter Store
- Secrets Manager
- S3
- SQS
- SNS
./mvnw spring-boot:run -Dspring-boot.run.profiles=localstack
- Parameter Store:
curl --location --request GET 'http://localhost:8080/parameterstore/name'
curl --location --request GET 'http://localhost:8080/parameterstore/days'
- Secrets Manageer:
curl --location --request GET 'http://localhost:8080/secretsmanager/configuration'
- S3:
curl --location --request POST 'http://localhost:8080/file'
curl --location --request GET 'http://localhost:8080/file?fileName={{fileName}}'
curl --location --request GET 'http://localhost:8080/file/{{fileName}}'
- SQS:
curl --location --request POST 'http://localhost:8080/sqs/send?message={{message}}'
- SNS:
curl --location --request POST 'http://localhost:8080/sns/send?message={{message}}'