Master serverless computing, container orchestration, and load balancing with hands-on labs covering AWS Lambda, Kubernetes, and multi-cloud architectures.
Explore advanced cloud services including serverless functions, container orchestration, and high-availability architectures.
1. Click the orange "Create function" button in the top-right of the console.
2. Select "Author from scratch" option.
3. In the "Function name" field, type exactly: product-service
4. For "Runtime", select Node.js 18.x from the dropdown.
5. Expand "Change default execution role" and select "Create a new role with basic Lambda permissions".
6. Click the orange "Create function" button at the bottom.
7. Repeat steps 1-6 for cart-service and order-service.
1. Click the "Configuration" tab, then scroll to find "API Gateway" section.
2. Click "Add trigger" button.
3. From the dropdown, select "API Gateway".
4. For "API type", select "REST API".
5. In "API Name" field, enter: ecommerce-api
6. For "Resource Path", enter: /products
7. Check the "CORS" checkbox to enable cross-origin requests.
8. Click "Add" to create the trigger.
9. Add resources for /cart and /orders by repeating the process.
1. Click the "DynamoDB Tables" tab in the console above.
2. Click the "Create Table" button.
3. In "Table name", enter: Products
4. In "Partition key", enter: id (leave type as String).
5. Leave "On-demand" billing selected (default).
6. Click "Create" button.
7. Create Carts table with partition key: userId
8. Create Orders table with partition key: orderId
1. Click the "Configuration" tab in the Lambda console.
2. Scroll down and click "Authentication" in the left sidebar.
3. Click "Configure Cognito" button.
4. In "User Pool name", enter: ecommerce-users
5. Check "Enable email verification" checkbox.
6. Under "App Client", enter name: web-app-client
7. Click "Create User Pool" button.
8. Return to API Gateway and add a "Cognito Authorizer" using the created pool.
1. Click the "Test" tab in the console above.
2. From "Event template" dropdown, select "API Gateway AWS Proxy".
3. In the JSON editor, enter a valid test event (sample provided in textarea).
4. Click the orange "Test" button.
5. Verify you see "Execution result: succeeded" with status code 200.
6. Test each of your three functions: product-service, cart-service, order-service.
7. Check the "DynamoDB Tables" tab to confirm data was written.
1. Click the "Monitor" tab in the console above.
2. Review the metrics displayed: Invocations, Duration, Errors, Throttles.
3. Click "Configuration" tab, then "Monitoring and operations tools".
4. Click "Edit" and enable "Active tracing" (X-Ray).
5. Click "Save" to apply changes.
6. Enable monitoring for all three functions.
1. Click the "View Dashboard" button below to see your serverless architecture metrics.
2. Review the dynamic stats showing your completed configurations.
3. Click "View API Endpoints" to see your created API URLs.
4. Click "View DynamoDB Tables" to confirm all tables are active.
Excellent serverless implementation!
1. Click the "View Dashboard" button below to see your cluster metrics.
2. Review Deployments, Pods, Services, and HPAs counts (they update dynamically).
3. Click "View Architecture" to visualize your microservices topology.
Great Kubernetes deployment!
1. Click the "View Dashboard" button below to see your infrastructure metrics.
2. Review Load Balancers, Target Groups, Health Checks, and CDN status (they update dynamically).
3. Click "Traffic Analytics" to see request distribution across regions.
4. Click "Test Failover" to simulate regional failure (only works after configuring health checks).
Excellent multi-cloud load balancing!