Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Copyright
Building Serverless Architectures
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Getting Started with Serverless
Preparing the environment
Installing AWS CLI
Prerequisites
Gradle
Creating the project
Implementing the Lambda Dependency
Hello Lambda!
Deploying to the Cloud
Summary
Bibliography
Infrastructure as a Code
Uploading the artifacts to Cloud
Infrastructure as Code with CloudFormation
Deploying our first Lambda with CloudFormation
Summary
Hello Internet
Setting up API Gateway
Creating the API
Creating the resource
Creating the method
Configuring Lambda permissions
Deploying the API
Setting up the CloudFront CDN distribution
Setting up the custom domain
Creating an SSL certificate
Authenticating API calls
Implementing basic authorization
Summary
Applying Enterprise Patterns
Creating User Service
Configuring Guice
Writing the Lambda Handler class with injected dependency
Adding logging
Service dependencies
Summary
Persisting Data
Introduction to DynamoDB
Creating the first table
Creating the second table for access tokens
Configuring the DynamoDB data mapper
Configuring environment variables for Lambda
User registration
Creating user registration Lambda
Creating the Lambda and API Gateway for User Registration
Summary
Building Supporting Services
Writing the foundation of a Lambda function
Letting users upload to S3
Modifying the Lambda function to respond to an S3 event
Configuring CloudFront to serve resized images
Excercise
Sending emails via SES
Configuring SES
Firing an SNS notification upon user registration
Consuming the SNS message and sending emails
Integrating a messaging queue
Summary
Searching Data
Creating the search domain
Uploading test data
Creating the suggester
Creating the API endpoint for suggestions
Lambda function for updating search data
Modifying the welcome mail sender Lambda
Creating the Lambda function to update CloudSearch
Creating and configuring the Lambda function with CloudFormation
Summary
Monitoring, Logging, and Security
Setting up a Route53 health check
Starting off with the setup
Configuring health checks for email notifications
Enabling SMS notifications for health checks
Bringing health check to healthy mode
Mastering CloudWatch alarms
Configuring advanced CloudWatch alarms
Wrapping everything up in CloudFormation
Creating CloudWatch metrics from application logs
Running Lambda functions in VPC
Creating a VPC
Adding private subnets
Handling inbound and outbound traffic
Creating a Security Group
Summary
Lambda Framework
Getting to know Lambda Framework
Summary
← Prev
Back
Next →
← Prev
Back
Next →