AWS Notes-77
AWS Notes-77
➢ AWS lambda is a compute service that lets you run the code without provisioning or
managing servers.
➢ With AWS lambda, you can run code for virtually any type of application or backend
service- all with zero administration.
➢ AWS lambda manages all the administration it manages:
• Provisioning and capacity of the compute fleet that offers a balance of memory,
CPU, network and other resources.
• Server and O.S maintenance
• High availability and automatic scaling
• Monitoring fleet health
• Applying security patches
• Deploying your code
• Monitoring and logging your lambda functions.
• AWS lambda runs your code on a high-availability compute infrastructure.
➢ AWS lambda runs your code on a high availability compute infrastructure.
➢ AWS lambda executes your code only when needed and scales automatically form a
few requests per day to thousands per seconds.
➢ You pay only for the compute time, you consume no charge when your code is not
running.
➢ All you need to do is supply your code in the form of one or more lambda functions to
AWS lambda, in one of the languages that AWS supports (currently Node.js, java,
powershell, C#, Ruby, Python and Go) and the service can run the code on your behalf.
➢ Typically the lifecycle for an AWS lambda based application includes authoring code,
deploying code to AWS lambda and then monitoring and troubleshooting.
➢ This is in exchange for flexibility, which means you cannot log into compute instances
or customize the operating system of language runtime.
➢ If you do want to manage your own compute, you can use EC2 of Elastic Beanstalk.
➢ First you upload your code to lambda in one or more lambda function.
➢ AWS lambda will then execute the code in your behalf.
➢ After the code is invoked, lambda automatically take care of provisioning and managing
the required servers.