I was tasked with learning about Lambda, but not given any actual direction on what to do with it.
What task could I tackle in a test environment that would teach me good fundamentals about it?
I was tasked with learning about Lambda, but not given any actual direction on what to do with it.
What task could I tackle in a test environment that would teach me good fundamentals about it?
Depends how deep you want to get.. Lambda function can be triggered by numerous events. An API request with API gateway, a message added to a queue with SQS, data update in DynamoDB, run on a schedule like cron, etc, etc, etc.
But - why not start with Amazon’s own tutorial? https://aws.amazon.com/getting-started/hands-on/run-serverless-code/
here is one idea that should be simple: accessibility checker for some web api. that is, cloudwatch event runs your lambda e.g. once every hour, tries to access some public web api (some google api, or some weather station), and sends an sns notification on failure or on a certain condition (like storm nearby). you can also collect statistics, or suppress messages for a time period, persisting data to dynamodb.
How about using Lambdas behind an API gateway to start and manage quake servers? You could probably use ECS to run the quake servers for this. You’d get to use the AWS APIs from the Lambdas. Perhaps you can have Lambda timeout a quake server from inactivity.
Where I work we give new guys into the team a task of automating something like object uploaded to S3, event triggers, lambda processes & does something with it (like adds data to Dynamodb or something), send a notification.
The above covers a lot of AWS resources & skills, it also meets a lot of what we do so new people can become comfortable with what’s expected.
Generating thumbnails for pictures uploaded to s3 is a classic use case.