This project contains the details of the AWS infrastructure used to store and retrieve weather station data from the Arduino Weather Station built using this repo.
- Install AWS Cloud Development Kit (CDK)
- Clone this repo
- Use pipenv to create the Python environment specified in
Pipfile
- Setup your AWS account and save your credentials in
~/.aws/credentials
as described here - Run the commands below
cdk bootstrap
cdk deploy
Commands above will output HttpEndpointDomain
value. Use this to make API calls.
curl -i -X PUT -d '04:08,5/16/2020,00.0,00,1' <HttpEndpointDomain>
curl -i -X GET <HttpEndpointDomain>/?date=20200516