Monday, August 27, 2018

AWS Lambda

Pure definition from AWS  on  AWS Lambda :

AWS Lambda is a compute service that runs developer's code in response to events and automatically manages the compute resources for them, making it easy to build applications that respond quickly to new information.


Lambda is purely  Event Driven Code.
Code Size limitations
Lambda as a component.
Performance Limitations.
Long running workloads.


Understanding Serverless Functions



Starting with Lambda Functions




Considerations and limitations.
Supported languages
Size and resource limitations
Other considerations

Lambda prerequisites.

Gathering dependencies

-> Libraries.
-->  HTML
-->  AWS Services
--> API Keys



Writing code

->  Local or IDE
-> oR IN   AWS  editor.


Function packages

--->   Creating a Function package



Debugging

-->    
-->  User logging
-->  Environment differences.


Deploying  our Lambda Canary




d

Deploy First Lambda Function

Let's deploy  a  Lambda canary function, which regularly checks availability statuses of our imaginary client's website, woof Garden. 


Deploying the Lambda Canary.

-> Configure Clodwatch schedule.

                 Rule name
                 Rule description
                 Schedule expression  -  rate 5 mins
--> Modify the Pyton function.

               Name
               Description
               Runtime    -  Python  2.7

--> Adjust function settings.
-->  Configure a default test
-->  Review our function results.




Set run internal
Function reviews website
website status recorded




No comments:

Post a Comment

Hyderabad Trip - Best Places to visit

 Best Places to Visit  in Hyderabad 1.        1. Golconda Fort Maps Link :   https://www.google.com/maps/dir/Aparna+Serene+Park,+Masj...