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

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • 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

  • @jfr7038
    @jfr7038 5 месяцев назад +1

    @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  5 месяцев назад

      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.

  • @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.

  • @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 месяцев назад +1

      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 месяцев назад +1

      ​@@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 6 месяцев назад

      @@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 6 месяцев назад

      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  6 месяцев назад +1

      @@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.