GithubHelp home page GithubHelp logo

otameshi-aws-iot-provisioning's Introduction

AWS IoT デバイスプロビジョニング 実行サンプル

共通設定

AWS_CFN_PACKAGE_S3_BUCKET='[aws cloudformation packege コマンドの --s3-bucket に渡す S3 バケット名]'
export AWS_PROFILE='[AWS CLI のプロファイル名 (指定があれば)]'
export AWS_REGION='[AWS IoT Core を実行するリージョン名 (指定があれば)]'

AWS_ACCOUNT=$(aws sts get-caller-identity --query 'Account' --output text)
AWS_IOT_ENDPOINT_DATA_ATS=$(aws iot describe-endpoint --endpoint-type iot:Data-ATS --query 'endpointAddress' --output text)

WORK_ROOT=$(pwd)  # この README.md と同じディレクトリ
RESOURCE_DIR=${WORK_ROOT}/resource

AMAZON_ROOT_CA_CERT=${RESOURCE_DIR}/AmazonRootCA1.pem
curl https://www.amazontrust.com/repository/AmazonRootCA1.pem -o ${AMAZON_ROOT_CA_CERT}

実行サンプル

各サンプルは独立して実行可能です

参考リンク

"デバイスプロビジョニング - AWS IoT Core". https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide/iot-provision.html

"3. デバイスのプロビジョニング". AWS IoT Device Management Workshop. https://catalog.us-east-1.prod.workshops.aws/workshops/7c2b04e7-8051-4c71-bc8b-6d2d7ce32727/ja-JP/provisioning-options

otameshi-aws-iot-provisioning's People

Contributors

m-ochi-4 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.