We are developing skills in conjunction with one of our customers to develop and run Serverless processes and services on the Amazon Lambda platform on AWS.
Wednesday, 08 February 2023 12:22

lambda-logo

AWS Lambda is a service of applications, which run under an environment provided by AWS, which means that no own infrastructure is needed, runtimes happen in the cloud. Lambda then operates under the concept of Serverless.


Characteristics:


Lambda supports the following runtime environments:


  • Node.js: v8.10 y v6.10
  • Java 8
  • Python: 3.6 y 2.7
  • .NET Core: 1.0.1 y 2.0
  • Go 1.x
  • Ruby 2.5
  • Rust

  • Each function runs in a container with 64-bit Amazon Linux AMI. And the runtime environment has:


  • Memory: 128MB - 3008MB, in 64MB increments
  • Ephemeral disk space: 512MB
  • Maximum running time: 900 seconds
  • Compressed package size: 50MB
  • Uncompressed package size: 250MB.

  • The CPU is not mentioned as part of the container specifications. This is because the CPU cannot be controlled directly. therefore, as memory increases, the CPU also increases in proportion to provide a suitable execution environment.


    Disk space is ephemeral and available as a directory in /tmp. This space is temporary because invocations or executions will not have access to the previous space. Execution duration means that the Lambda function can run for up to 900 seconds or 15 minutes. This means that Lambda is not intended for long-running processes.


    Package size refers to all the code required to execute the function. This includes any dependencies (directory node_modules/ in the case of Node.js) that the function will need to import. There is a limit of 250MB for the uncompressed package and 50MB once compressed.