+
Skip to content

urbancamo/norad-tle-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NORAD TLE Lambda

Introduction

This is an AWS Lambda that downloads the NORAD daily amateur radio satellite TLE data from the Celestrak Amateur Satellite Data File and stores it in S3 for use by the ADIF Processor.

Building

Use sbt assembly to create the jar with dependencies. You will need to set the permission environment variables AWS_ACCESS_KEY_IDand AWS_SECRET_ACCESS_KEY within the shell that you run the command so the test to upload to the S3 bucket works.

Configuration

The script create-lambda.sh will create the lambda. You will need to define the role lambda-executor in AWS with permission policy AWSLambdaRole and permission to access the S3 repository such as AmazonS3FullAccess then use aws configure setup AWS cli with an account with permissions to create a lambda.

Triggering the Lambda

The lambda needs to be triggered once a day to download the latest TLE data. This can be done using AWS Event Bridge. Create a new rule with the following information:

  • Name: norad-tle-lambda-daily-trigger
  • Description: Triggers the download of NORAD Amateur Satellite TLE data for the ADIF Processor every day.
  • Select Schedule option.
  • Select A schedule that runs at a regular rate, such as every 10 minutes.
  • Enter rate of 1 days
  • Select Target 1 of AWS Service
  • Choose Lambda Function
  • Select the norad-tle-lambda

That's it, other than to check that the lambda is invoked correctly and puts the TLE data with the right date in the S3 adif-processor/norad bucket.

References

About

Copy NORAD Satellite data from Celestrak to S3 for the ADIF Processor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载