Skip to content

swerdick/auto-water

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-Water

This repository contains source code and terraform scripts for getting a rasberrypi to talk to AWS

Found this lovely docker image to enable building armv7 images in gitlab CI. Required for running containers on the rasberry pi

https://hub.docker.com/r/jonoh/docker-buildx-qemu

Lessons Learned Project Costs

Things I Manually Setup

  • Greengrass dependencies on the RasberryPI itself as documented in the developer guide
  • The quickstart guide created the following for me:
    • Greengrass group
    • Greengrass core
    • A lambda function + Greengrass connector (both of which I manually deleted)
  • Greengrass Docker Application Connector
  • Enabled Greengrass logging manually
  • Setup a one day retention policy on all the greengrass log groups

Greengrass

AWS Greengrass seems like it will let me automate deployments of containerized applications to my rasberry pi device. I'll try setting it up that way to automate code deployments

Greengrass getting started guide (very helpful): https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-gs.html

I ended up running the quickstart script referenced in the getting started guide to initialize my rasberry-pi. This created a group, lambda, and core in AWS pretty painlessly and helped me quickly understand how these tools work togather.

Greengrass and Terraform

Terraform does not currently support AWS IOT Greengrass. There are open issues and PRs out there on github to add support, but they are not yet merged. Until Terraform adds support for this service I will need to use CloudFormation to keep my infrastructure as code.

Here are links to some of those open issues:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published