Maciej Walkowiak 4ce53fa13e Upgrade to LocalStack 3.2.0 (#1087) | hai 8 meses | |
---|---|---|
.. | ||
infrastructure | hai 11 meses | |
spring-cloud-aws-dynamodb-sample | hai 11 meses | |
spring-cloud-aws-parameter-store-sample | hai 11 meses | |
spring-cloud-aws-s3-sample | hai 11 meses | |
spring-cloud-aws-secrets-manager-sample | hai 11 meses | |
spring-cloud-aws-ses-sample | hai 11 meses | |
spring-cloud-aws-sns-sample | hai 11 meses | |
spring-cloud-aws-sqs-sample | hai 11 meses | |
.gitignore | %!s(int64=3) %!d(string=hai) anos | |
.npmignore | %!s(int64=3) %!d(string=hai) anos | |
docker-compose.yml | hai 8 meses | |
pom.xml | hai 11 meses | |
readme.md | hai 1 ano |
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.