A practitioner's guide to up and running in AWS with a starter python serverless function.
You are interested in using AWS, learn better by doing rather than sitting through hours of videos, and you'd like a simple repeatable pattern to get you started using serverless tech.
AWS offers plenty of free training, and it's great at explaining the overview of AWS offerings but it can be lengthy and not focused on getting you up and running.
Serverless/lambda in particular is a great place to start but tutorials often don't cover the shortcuts to good practices like least privilege, storing/using secrets, logging, etc.
Here's what this kickstart covers:
- Open an AWS account (setup IAM user, MFA)
- Setup your AWS command line environment
- Setup serverless environment
- Create and deploy a simple serverless python cron job
- Make serverless cron job useful, running a shodan.io query to get quotes of the day and depositing the results in a google spreadsheet
At the end of the tutorial, you'll have a serverless function running in AWS on a regular basis that queries shodan.io and deposits the results in a google spreadsheet:
Here's some handy references: