Skip to content

Instantly share code, notes, and snippets.

@noahcoad
noahcoad / aws_iot_use_custom_root_ca.md
Last active September 27, 2023 10:56
AWS IoT: Use a Custom Root CA
@noahcoad
noahcoad / lab_esp32_aws_iot_mongoose.md
Last active February 17, 2020 22:43
Lab: Connect an ESP32 to AWS IoT with MongooseOS

Lab: Connect an ESP32 to AWS IoT with MongooseOS

created 2019-12-20 by Noah Coad

@noahcoad
noahcoad / get_started_aws_chalice_on_mac.md
Last active January 24, 2023 05:36
Get Started with AWS Lambdas using AWS Chalice on Mac

Get Started w AWS Lambda
Using AWS Chalice on Mac

@noahcoad
noahcoad / index.md
Last active July 6, 2020 02:46
Noah Coad's Index of Gists, Labs, and Articles

An Index of Noah Coad's Labs and Gists

Labs and How To

@noahcoad
noahcoad / install_aws_ssm_agent_on_raspberry_pi_for_ssh_access.md
Last active June 5, 2020 02:10
Install AWS SSM Agent on Raspberry Pi for SSH Access

Install AWS SSM Agent on Raspberry Pi for SSH Access

AWS Systems Management (SSM) Agent enables you to remotely monitor, update, configure, and SSH into a machine from anywhere, without needing to know it's IP address. Very handy when using Raspberry Pi's across networks.

@noahcoad
noahcoad / test_aws_iot_connection.py
Last active January 24, 2020 17:06
Test AWS IoT Endpoint MQTT Connection
#
# Tests the connection to the AWS IoT Endpoint for a user's account
# By creating an AWS IoT Thing device, certificate, keys, and policy
# Then connecting to the AWS IoT Core Endpoint with those device credentials
# Tests both port 8883 and 443
#
# Created on 2019-09-20 by Noah Coad, Amazon AWS ProServe IoT, ncoad@amazon.com
# All rights reserved.
#
# can also be used to create a new IoT device, or remove old ones

Creating an AWS IoT Thing from Command Line

Use this script to create a new AWS IoT Thing from the command line.

@noahcoad
noahcoad / lab_prerequists.md
Last active May 12, 2021 01:19
Prerequisits for Labs

Prerequisits for IoT Labs

Some of the labs have prequisits. Here's how to install them on OSX. For AWS EC2 AMI or Cloud9 use sudo yum install -y <app> instead of brew. For Linux use sudo app-get install --yes <app>. If using Windows, please try using Cloud9.

  • Homebrew, brew command, a MacOS package manager, install with /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
@noahcoad
noahcoad / test_aws_iot_connection.py
Last active September 28, 2019 02:52
Tests Connection to AWS IoT Core Endpoint
#
# Tests the connection to the AWS IoT Endpoint for a user's account
# By creating an AWS IoT Thing device, certificate, keys, and policy
# Then connecting to the AWS IoT Core Endpoint with those device credentials
# Tests both port 8883 and 443
#
# Created on 2019-09-20 by Noah Coad, Amazon AWS ProServe IoT, ncoad@amazon.com
# All rights reserved.
#
# pip install boto3 AWSIoTPythonSDK
@noahcoad
noahcoad / event_2019-05-24_aws_python_chalice_intro_dallas_makerspace.md
Last active July 30, 2021 13:34
Event 2019-05-24: AWS w Python and AWS Chalice Intro at Dallas Makerspace

AWS Intro w Python

Taught by Noah Coad, Senior IoT Architect at AWS
at the Dallas Makerspace on 2019-05-24 and 2019-06-27

Overview

Amazon Web Services (AWS) provides essential building blocks to creating your own applications. Like code in the cloud (AWS Lambda), image recognition detection (AWS Rekognize), database (AWS DynamoDB), file storage (S3), etc. Through this course you'll get started on combining 6 of these AWS services together to build a cloud app that you can submit an image to, store it, detect elements in the image, store those in a database, and manage it all through a REST API. We'll be using a Python framework for AWS called AWS Chalice, which makes coding, connecting, testing, and deploying these compon