https://github.com/markusl/weather-to-cloudwatch
https://github.com/markusl/weather-to-cloudwatch
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/markusl/weather-to-cloudwatch
- Owner: markusl
- Created: 2022-12-05T08:17:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T07:32:29.000Z (over 2 years ago)
- Last Synced: 2025-03-26T15:28:28.547Z (about 1 year ago)
- Language: TypeScript
- Size: 178 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS CDK application for storing weather data to AWS CloudWatch
CloudWatch event rule runs the Lambda every five minutes (for example) which fetches
the weather data and stores relevant temperature, humidity and pressure data in [CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/working_with_metrics.html).

## What's included?
AWS infrastructure is built with following technology choices:
* [AWS CDK](https://aws.amazon.com/cdk/) infrastructure in TypeScript
* AWS CDK Pipeline for deployment which runs in AWS CodePipeline
* Pipeline is triggered from Github using [AWS CodeStar connection](https://docs.aws.amazon.com/codestar-connections/latest/APIReference/Welcome.html)
* Infrastructure test for CDK
* AWS Lambda running [Node.js 20](https://nodejs.org/en/) for fetching the data
* Node.js starting from Node.js 18 includes [native fetch](https://nodejs.org/en/blog/announcements/v18-release-announce/) which means no external libraries are needed