aws

Error 403 when accessing AWS IoT device shadow with Cognito authenticated user Identity

Error 403 when accessing AWS IoT device shadow with Cognito authenticated user Identity

AWS IoT is useful. You can manage and control the status of devices even remotely. On the other hand, mastering AWS IoT requires an understanding of the entire AWS IoT service, a familiarity with the not-so-friendly service console, and some tricky configuration. In this article, I will introduce some small AWS IoT tips. Goals Getting AWS IoT Device Shadows in Mobile Apps Only authenticated users can access device shadows Use
Provisioning a edge device in a private network with Ansible via AWS Session Manager

Provisioning a edge device in a private network with Ansible via AWS Session Manager

In this article, I will show you how to access devices in a private network in a remote location to manage the device configuration by AWS System Manager Session Manager and Ansible. Device provisioning in a private network I would like to run a configuration management script from my development machine at home on a remotely located device. The image is as follows. In most cases, the remotely located devices
Install Docker to Amazon Linux2

Install Docker to Amazon Linux2

Migration of Amazon Linux to Amazon Linux 2 causes yum install docker command doesn’t work in Amazon Linux 2, so I investigate how to install docker. Motivation Install Docker to Amazon Linux2 without error My Packer build job stopped with error after AWS announced Amazon Linux 2 LTS Candidate in June 2018, because I migrated my server os Amazon Linux to Amazon Linux2. Fail to execute yum install docker and yum search docker command because yum repository has been changed.
Add partitions periodically in AWS RDS Aurora Cluster (MySQL compatible) with the SQL Procedures

Add partitions periodically in AWS RDS Aurora Cluster (MySQL compatible) with the SQL Procedures

Introduction RDS Aurora is a managed service provided by AWS. Aurora is a OSS compatible relational database built on cloud. In this article, I explain table partitioning with date in RDS Aurora MySQL compatible. Goals Create table partitioned by date on RDS Aurora (MySQL compatible) Add a partition for a day periodically (once a day) Drop records after a certain period of time Handle errors in these operation running As an example, I handle the following hoge table.
It's better to use DNS verification for verification of SSL certificate issued by AWS Certification Manager

It's better to use DNS verification for verification of SSL certificate issued by AWS Certification Manager

Domain verification with Route 53 in Certification Manager became available In November 2017, Domain validation by DNS records of Route 53 was supported as a verification method when AWS Certification Manager(ACM) SSL certificate was acquired. This update has a very great advantage not only for acquiring SSL certificates but also for updating SSL certificates. Changes in issuing SSL certificates Validation by email is troublesome Conventionally, in order to verify the domain of SSL certificate at ACM, we click on the link in the body of the received email, and push the approval button in the web page.