Serverless Framework: AWS Lambda Scheduler Events in Golang Part 2
This series has been divided into two videos
1. AWS Lambda Scheduler Events in Golang using AWS Console
2. AWS Lambda Scheduler Events in Golang using Serverless Framework
This is part two of the series which is " AWS Lambda Scheduler Events in Golang using Serverless Framework".
------------------------------------
Install Serverless Framework Video:
https://youtu.be/5OquLn8pU2k
------------------------------------
Github Code: https://github.com/simply-serverless/golang/tree/master/cron-job
------------------------------------
To build in Linux environment:
env GOOS=linux go build -ldflags="-s -w" -o bin/cron-job main.go
------------------------------------
Serverless.yaml file
service: simply-serverless-cron-job
provider:
name: aws
runtime: go1.x
profile: simply-serverless
functions:
cron-job:
handler: bin/cron-job
events:
- schedule:
rate: rate(1 minute)
- schedule:
rate: cron(0 17 * * ? *)
------------------------------------
Configure Profile Video
https://youtu.be/5OquLn8pU2k?t=62
------------------------------------
Links
Cron Job Details: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduled_tasks.html
Cron Generator:
https://crontab-generator.org/
Видео Serverless Framework: AWS Lambda Scheduler Events in Golang Part 2 канала Simply Serverless
1. AWS Lambda Scheduler Events in Golang using AWS Console
2. AWS Lambda Scheduler Events in Golang using Serverless Framework
This is part two of the series which is " AWS Lambda Scheduler Events in Golang using Serverless Framework".
------------------------------------
Install Serverless Framework Video:
https://youtu.be/5OquLn8pU2k
------------------------------------
Github Code: https://github.com/simply-serverless/golang/tree/master/cron-job
------------------------------------
To build in Linux environment:
env GOOS=linux go build -ldflags="-s -w" -o bin/cron-job main.go
------------------------------------
Serverless.yaml file
service: simply-serverless-cron-job
provider:
name: aws
runtime: go1.x
profile: simply-serverless
functions:
cron-job:
handler: bin/cron-job
events:
- schedule:
rate: rate(1 minute)
- schedule:
rate: cron(0 17 * * ? *)
------------------------------------
Configure Profile Video
https://youtu.be/5OquLn8pU2k?t=62
------------------------------------
Links
Cron Job Details: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduled_tasks.html
Cron Generator:
https://crontab-generator.org/
Видео Serverless Framework: AWS Lambda Scheduler Events in Golang Part 2 канала Simply Serverless
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Serverless Framework: Deploy Static Website on AWS S3 Using Serverless Framework - Part 2](https://i.ytimg.com/vi/5OquLn8pU2k/default.jpg)
![Methods of invocations of AWS Lambda](https://i.ytimg.com/vi/t3Nv7q_RfvE/default.jpg)
![Serverless Framework: Continuous Deployment of Static Website using AWS CodeBuild - Part 3](https://i.ytimg.com/vi/sWEvDB-rmiQ/default.jpg)
![Serverless Framework: Deploy Static Website on AWS S3 Using AWS Console - Part 1](https://i.ytimg.com/vi/vTFBIdgvkm0/default.jpg)
![AWS CDK - Static Website Hands-on Session (Typescript)](https://i.ytimg.com/vi/piR24CML360/default.jpg)
![How to setup AWS Account and configure AWS CLI Profile](https://i.ytimg.com/vi/2o6pY2DmVoo/default.jpg)
![AWS Cloud Development Kit (CDK) Installation](https://i.ytimg.com/vi/xlpN64n_K0I/default.jpg)
![How to host static website manually on AWS S3](https://i.ytimg.com/vi/lMh8N_ws24w/default.jpg)
![How to test AWS Lambda Locally using SAM or LocalStack with CDK](https://i.ytimg.com/vi/eszNbLXoaGQ/default.jpg)
![How to set up AWS CloudFront Distribution For S3 Origin](https://i.ytimg.com/vi/oLo0Adw0xgU/default.jpg)
![AWS CDK Hands-on session on S3, Cloudfront, Amazon Certificate Manager and Route 53](https://i.ytimg.com/vi/p6Os-_t0gEs/default.jpg)
![How to test AWS SQS Trigger Lambda Locally using SAM or LocalStack with CDK](https://i.ytimg.com/vi/DwwiPd4xeP8/default.jpg)
![Serverless Framework: AWS Lambda Scheduler Events in Golang Part 1](https://i.ytimg.com/vi/2HjcM5KCHD4/default.jpg)