Loading
Yves Gurcan
This is a live streamed presentation. You will automatically follow the presenter and see the slide they're currently on.
/whois YvesGurcan
*** Start Of Whois For User YvesGurcan ***
YvesGurcan is French
YvesGurcan is a senior software enginer
YvesGurcan is the owner of Parallel45, his consulting company
YvesGurcan previously worked at Nike and various startups in Eugene, OR.
YvesGurcan is AWS certified
YvesGurcan is using a Secure Connection
YvesGurcan Idle: 0secs - SignOn: Tue May 19 18:11:32 2020 (14mins ago)
*** End Of Whois ***
Resources:
MyLambdaFunction:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs12.x
CodeUri: s3://bucket/code.zip
AutoPublishAlias: live
DeploymentPreference:
Type: Linear10PercentEvery1Minute
Alarms:
# A list of alarms that you want to monitor
- !Ref AliasErrorMetricGreaterThanZeroAlarm
- !Ref LatestVersionErrorMetricGreaterThanZeroAlarm
Hooks:
# Validation Lambda functions run before and after traffic shifting
PreTraffic: !Ref PreTrafficLambdaFunction
PostTraffic: !Ref PostTrafficLambdaFunction
brew tap aws/tap
brew install aws-sam-cli
sam init --name sam-nodejs12-demo
cd sam-nodejs12-demo
sam local invoke
sam build
sam deploy --guided --stack-name helloFromLambda --region us-west-2
sam init --name sam-nodejs12-api-demo --runtime nodejs12.x
cd sam-nodejs12-api-demo
sam build
sam deploy --guided --stack-name myServerlessBackend --region us-west-2