From the course: Serverless Cloud Computing: Concepts, Platforms, and Services

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Steps to building applications

Steps to building applications

- [Narrator] So what are the steps in building an AWS Lambda application? Let's review them here. First, set up development environment. Configure AWS CLI or call level interface. Install AWS SAM CLI and set up your preferred IDE with the appropriate plugins. Create necessary AWS credentials and permissions. Create function code. Write your Lambda function code in your chosen runtime. Implement error handling, logging, and input validation. Create separate functions for different responsibilities while maintaining loose coupling. Configure dependencies. Set up function dependencies and create Lambda layers if needed. Package external libraries shared code. Ensure package lines stays within Lambda limits. Implement infrastructure. Create SAM template or CloudFormation to define your infrastructure. Configure API gateways, event sources and other required AWS services. Set up IAM roles and permissions. Establish local testing. Use SAM local for testing functions, write unit tests and…

Contents