AWS Lambda
- This is serverless and event-driven compute infrastructure.
- It allows you to upload a piece of source code to execute against the event
- Supported Languages
- Java
- Nodejs
- C#
- Python
- Powershell
- Ruby
- Go
To deploy and maintain application
- EC2 Instances
- We choose OS
- We install softwares required
- We configure the platform
- We deploy application
- We patch OS updates & Software updates
- We configure Auto Scaling to Scale out or in
- We pay hourly bills
- Elastic Beanstalk
- We choose Platform
- We deploy applications
- We configure Autoscaling
- We pay hourly bills
- Lambda:
- We deploy functions (small piece of code)
- We pay bills in the unit 100 milliseconds only when the code is executed.
Creating a Lamba Function (Python)
- Refer Here for the sample used in the class room
- Lets create a lambda function which shutdown all the machines which have the tag
- Refer Here for the code used in class room.
Lambda Concepts
- Lambda function to execute needs some permissions which are configured using IAM Roles
- Lambda function can be configured to execute within 1 to 900 seconds

Next Steps
- Configuring Triggers and destinations
- Understanding Asynchronous & Synchronous execution of lambda fuctions (Invocation type)
- Environmental Variables in Lambda
