AWS Location Services Tutorial | Fleet Tracking System Design | Logistics IoT

  Рет қаралды 3,481

Architecture Bytes

Architecture Bytes

Күн бұрын

Timelines:
0:06 Quick Demo
0:25 High Level Components
0:56 Architecture
1:57 IoT Core | Rule
3:00 Lambda - Save Location in Tracker
3:16 Location Services - Tracker
4:08 EventBridge
5:20 Lambda - Send Location to Client
5:41 Websockets API Gateway
7:45 DynamoDB
8:10 Cognito Identity Pool
9:06 Webpages - S3 Static Website
10:58 Demo
Code:
github.com/arc...
IoT Playlist:
• IoT - Internet of Things
#systemdesign #iot #aws #softwarearchitecture
We can track location of devices or movement of vehicles on a map - with this Architecture & Tutorial. Fleet Management System

Пікірлер: 22
@linuxgeek1872
@linuxgeek1872 7 ай бұрын
This tutorial series is nothing less than a Gold mine....the more you dig the more you explore...... amazing work.....please keep posting such videos......🎉
@Cherupakstmt
@Cherupakstmt Жыл бұрын
This is a gold!. Thanks for awesome presentation.
@jfr7038
@jfr7038 4 ай бұрын
@architecturebytes, I'm sure I'm missing something. Being a newbie, Can you please clarify whats the purpose of having location service, event bridge and additional Lambda if the first Lambda function directly sends the data to DynamoDB table?
@ArchitectureBytes
@ArchitectureBytes 4 ай бұрын
While you could store location data directly in DynamoDB, Location Service offers specialized capabilities for managing and processing location data, including geospatial data storage, spatial queries and calculations, geocoding/reverse geocoding, routing, map visualization, geofencing (trigger action if device enters or leaves a certain area) - which are very useful for Location based applications. This demo does not demonstrate All the capabilities of AWS Location Services.
@ViraliVasa
@ViraliVasa 9 ай бұрын
"Error sending location data: An error occurred (AccessDeniedException) when calling the BatchUpdateDevicePosition operation: User: arn:aws:sts::{Account}:assumed-role/FleetLocationSave-role-pboyo8hn/FleetLocationSave is not authorized to perform: geo:BatchUpdateDevicePosition on resource: arn:aws:geo:ap-south-1:{Account}:tracker/FleetTracker" I am getting the above error while simulating the location data from FleetLocationSave Lambda function.Can you please help?
@ArchitectureBytes
@ArchitectureBytes 9 ай бұрын
The lambda function must have a role that has permissions to write to tracker. Kindly see Readme on github repo - for details.
@Seven-ky6nq
@Seven-ky6nq 5 ай бұрын
It keeps showing "Failed to load resource: the server responded with a status of 403 (Forbidden)" in browser for loading index.js & simulator.js for index.html & simulator respectively.
@Seven-ky6nq
@Seven-ky6nq 5 ай бұрын
btw I set rules and policies in us-east-1, and my default region is ap-southeast-2, will it be affected?
@ArchitectureBytes
@ArchitectureBytes 5 ай бұрын
Please see the Readme file in the github repository linked in video description. Just check if you missed any configuration or step.
@ViraliVasa
@ViraliVasa 9 ай бұрын
I am getting 403 forbidden error when "send location data" button in simulator.html .do we need to add other authentication for that?
@ArchitectureBytes
@ArchitectureBytes 9 ай бұрын
Have you updated the IDENTITY_POOL_ID, IOT_ENDPOINT, TOPIC, REGION correctly in web/js/simulator.js? Please check the same.
@ViraliVasa
@ViraliVasa 9 ай бұрын
@@ArchitectureBytes yes updated .
@ArchitectureBytes
@ArchitectureBytes 9 ай бұрын
​@@ViraliVasa Pls check if Identity Pool is created with 'guest access' as shown at 8:10 onwards along with a Role that has appropriate permissions (see Readme on github repo for details ).
@zoomcam7706
@zoomcam7706 11 ай бұрын
hi can u please integrate this option in our fleet management software?
@ArchitectureBytes
@ArchitectureBytes 11 ай бұрын
Which software are you referring to?
@zoomcam7706
@zoomcam7706 11 ай бұрын
datbase is sql server.I can explain to u table structure@@ArchitectureBytes
@ArchitectureBytes
@ArchitectureBytes 11 ай бұрын
The tutorial should help you integrate.
@jfr7038
@jfr7038 6 ай бұрын
Awesome tutorial to the point! Thanks. For me, all went well except the index.js is not able to make connection with websocket it looks like. socket.onmessage() is not executing . Still in the process of troubleshooting. but just wanted to check if anything i should look for here is my test code by removing other pieces socket.onmessage = (event) => { console.log('Message received:', event.data); };
@ArchitectureBytes
@ArchitectureBytes 6 ай бұрын
Please see the Readme file in the github repository linked in video description. It has necessary instructions.
@jfr7038
@jfr7038 5 ай бұрын
@@ArchitectureBytes Thanks, As a newbie, it took sometime to figure things out on how to setup right permissions to those lambda function. But, All looks good. Its works great . Thanks again. this gives me a overall idea about how to leverage AWS services to proceed further with my POC.!!!
@jfr7038
@jfr7038 5 ай бұрын
Im just wondering if you have any insights / videos on sending real device data to Aws IOT and tracking its location through the similar architecture?>
@ArchitectureBytes
@ArchitectureBytes 5 ай бұрын
@@jfr7038 You would use similar architecture for that. You can also see the IoT Playlist on this channel. The video description has a link to that.
Order, unbox, and start streaming live video with AWS Elemental Link
16:30
AWS for Media & Entertainment
Рет қаралды 8 М.
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 62 МЛН
Microservices Architecture - Implementation with Example - Part 1
3:18
Five Minute Tech
Рет қаралды 22 М.
AWS Solution Architect Interview Questions and Answers - Part 1
10:41
Architecture Bytes
Рет қаралды 14 М.
Amazon Bedrock Agents Tutorial - Architecture and Orchestration
20:47
Architecture Bytes
Рет қаралды 11 М.
AWS Certified Solutions Architect Associate Exam Questions - SAA-C03 Dumps
34:06
AI Agents Architecture
8:07
Architecture Bytes
Рет қаралды 2,7 М.
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 62 МЛН