Maciej Walkowiak 635a405153 Set version to 3.0.5-SNAPSHOT | il y a 11 mois | |
---|---|---|
.. | ||
infrastructure | il y a 11 mois | |
spring-cloud-aws-dynamodb-sample | il y a 11 mois | |
spring-cloud-aws-parameter-store-sample | il y a 11 mois | |
spring-cloud-aws-s3-sample | il y a 11 mois | |
spring-cloud-aws-secrets-manager-sample | il y a 11 mois | |
spring-cloud-aws-ses-sample | il y a 11 mois | |
spring-cloud-aws-sns-sample | il y a 11 mois | |
spring-cloud-aws-sqs-sample | il y a 11 mois | |
.gitignore | il y a 3 ans | |
.npmignore | il y a 3 ans | |
docker-compose.yml | il y a 1 an | |
pom.xml | il y a 11 mois | |
readme.md | il y a 1 an |
Samples are prepared to run on LocalStack - a local equivalent of AWS.
To start LocalStack locally:
$ docker-compose up
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
Samples are regular Spring Boot applications. The best way to run them is to run the main @SpringBootApplication
annotated class directly from an IDE.
Infrastructure is destroyed once LocalStack container shuts down. If you want to destroy infrastructure manually, run:
$ cdklocal destroy
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.