Maciej Walkowiak bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
..
infrastructure bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
spring-cloud-aws-dynamodb-sample bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
spring-cloud-aws-parameter-store-sample bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
spring-cloud-aws-s3-sample bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
spring-cloud-aws-secrets-manager-sample bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
spring-cloud-aws-ses-sample bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
spring-cloud-aws-sns-sample bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
spring-cloud-aws-sqs-sample bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
.gitignore 288a32efd4 Parameter Store Sample (#17) 3 gadi atpakaļ
.npmignore 288a32efd4 Parameter Store Sample (#17) 3 gadi atpakaļ
docker-compose.yml 3c22c56c05 Upgrade Localstack to 2.3.2 (#949) 1 gadu atpakaļ
pom.xml bcdd282beb Set version to 3.1.0-SNAPSHOT (#959) 1 gadu atpakaļ
readme.md 4a0a2b6828 Update docs and labels to use correct casing for LocalStack (#895) 1 gadu atpakaļ

readme.md

Spring Cloud AWS Samples

Samples are prepared to run on LocalStack - a local equivalent of AWS.

To start LocalStack locally:

$ docker-compose up

Infrastructure

Samples use AWS CDK to create the infrastructure components to run the sample. To deploy infrastructure, you need to install CDK and CDK local:

$ npm install -g aws-cdk-local aws-cdk

Then, in infrastructure directory:

$ mvn package
$ cdklocal bootstrap 
$ cdklocal deploy

How to run?

Samples are regular Spring Boot applications. The best way to run them is to run the main @SpringBootApplication annotated class directly from an IDE.

How to destroy infrastructure?

Infrastructure is destroyed once LocalStack container shuts down. If you want to destroy infrastructure manually, run:

$ cdklocal destroy

How to run against real AWS?

To run samples against real AWS, update spring.cloud.aws properties in sample's application.properties to reflect your AWS configuration or delete these properties completely to use defaults.