
Cloud
Learning Level
# Create layer with dependencies
zip -r lambda-layer.zip nodejs/node_modules
aws lambda publish-layer-version \
--layer-name dependencies \
--zip-file fileb://lambda-layer.zip \
--compatible-runtimes nodejs18.x# Set reserved concurrency
aws lambda put-function-concurrency \
--function-name myFunction \
--reserved-concurrent-executions 100
# Set provisioned concurrency
aws lambda put-provisioned-concurrency-config \
--function-name myFunction \
--provisioned-concurrent-executions 50// Async patterns with SQS
exports.handler = async (event) => {
for (const record of event.Records) {
await sqs.sendMessage({
QueueUrl: process.env.QUEUE_URL,
MessageBody: JSON.stringify(record)
}).promise();
}
};Explore advanced storage and caching patterns.
Resources
Ojasa Mirai
Master AI-powered development skills through structured learning, real projects, and verified credentials. Whether you're upskilling your team or launching your career, we deliver the skills companies actually need.
Learn Deep • Build Real • Verify Skills • Launch Forward