Aperçu du cours
Context
You are working for Tech Innovators, a dynamic company that specializes in developing cutting-edge web applications. Tech Innovators is moving towards serverless architecture to reduce infrastructure management overhead and improve scalability. The company wants to leverage AWS services like Lambda, DynamoDB, and API Gateway to build a RESTful API using the Serverless Framework with TypeScript. The deployment process will be automated using Jenkins to ensure continuous integration and continuous deployment (CI/CD).
Problem Statement
Tech Innovators aims to develop a scalable and maintainable RESTful API with minimal infrastructure overhead. The goal is to use AWS Lambda for computation, DynamoDB for data storage, and API Gateway for request routing. The company seeks to implement a robust CI/CD pipeline using Jenkins to streamline the deployment and management of the serverless application.
Lab Objectives
- Set Up Serverless Framework Project: Configure the Serverless Framework on your local machine.
- Define REST API Endpoints: Implement API endpoints using TypeScript.
- Deploy the Infrastructure: Deploy the REST API using the Serverless Framework.
- Set Up Jenkins for CI/CD: Automate the deployment process using Jenkins.
- Verify Deployment: Ensure the deployment is successful and the API is functional.
- Test the API: Use Postman to test the API endpoints.
Prerequisites
Before starting the lab, ensure you have the following:
- Basic knowledge of the Serverless Framework.
- An active AWS account.
- AWS CLI installed and configured.
- Docker installed locally.
- Serverless Framework installed.
- TypeScript installed.
- Node.js and NPM installed.
- Jenkins installed and configured.
- Postman installed.