BPB Online LLP
Building Modern Serverless Web APIs
Building Modern Serverless Web APIs
US$ 19.95
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Description
Contents
Reviews

Building and hosting microservices without servers using AWS Lambda

Key Features
● Learn end-to-end development of microservices using .NET Core and AWS Lambda.
● Learn a new way of hosting the .NET Core Web API on the AWS Lambda serverless platform.
● Mastering microservices using .NET Core and AWS Lambda.


Description
Building Modern Serverless Web APIs introduces you to the serverless paradigm of the Web API application, its advantages, and presents you the modern approach of developing the Web API. The book makes efficient use of AWS Lambda services to develop efficient, scalable, and cost-effective API solutions.

The book begins with a quick introduction to microservices, its characteristics, and current challenges faced in developing and implementing them. The book explores core concepts of ASP.NET Core and some important AWS services that are commonly used to build microservices using AWS. It explores and provides real hands-on microservice patterns and some of the best practices used in designing the serverless architecture. Furthermore, the book covers end-to-end demonstration of an application where you will learn to develop, build, deploy, and monitor microservices on AWS Lambda using .NET Core 3.1.

By the end of this book, you will be proficient in developing microservices with AWS Lambda and become a self-starter to build your own secure microservices.

What you will learn
● Learn about microservices, their characteristics, patterns, and where to use them.
● Understand popular microservice design patterns being used with the serverless architecture.
● Learn about the ASP.NET Core Web API and its hosting strategies for building serverless microservices.
● Learn about Amazon Web Services and the services commonly used to build microservices.

Who this book is for
This book is for a seasoned .NET developer or AWS practitioner who wants to learn about the microservices architecture, patterns, and how to deploy using AWS Lambda.

Table of Contents
1. Microservices: Its Characteristics and Challenges
2. Introduction to the ASP.NET Core Web API
3. Introduction to AWS Services
4. Microservices Patterns
5. The Serverless Paradigm
6. Communication Patterns and Service Discovery
7. Collaborating between Microservices
8. Distributed Monitoring
9. Security
10. Continuous Integration and Deployment
11. AWS Best Practices

About the Authors
Tanmoy Sakar is an AWS Solutions Architect - Associate Certified professional with experience of more than 11+ years in the IT industry. He has handled responsibilities as a Lead in application design, development and support on enterprise applications. He has been working as a Senior Consultant in Neudesic LLC, Hyderabad, India.
He holds a master’s degree from Jadavpur University (Kolkata). He has published papers at National/International conferences.

Blog links: https://pragmaticawsguys.wordpress.com/
LinkedIn Profile: https://www.linkedin.com/in/tanmoy-sarkar-7a326030/

Language
English
ISBN
9789390684786
Cover Page
Title Page
Copyright Page
Dedication Page
About the Author
About the Reviewer
Acknowledgement
Preface
Errata
Table of Contents
1. Microservices – Its Characteristics and Challenges
Introduction
Structure
Objective
An introduction to Microservices
Characteristics of Microservices
Challenges
Domain-Driven Design (DDD)
Conclusion
Points to Remember
Key Terms
Questions
Multiple choice questions
Answer
2. Introduction to ASP.NET Core Web API
Introduction
Structure
Objectives
Hosting strategy
REST services
Controllers
OpenAPI/Swagger
Installation and configuration
AWS Toolkit
Different components of the serverless project
Lambda entry points
Profile
Deployment
Conclusion
Points to remember
Key terms
Multiple choice questions
Answer
3. Introduction to AWS Services
Introduction
Structure
Objective
Anatomy of AWS
Region (1)
Availability zone (2)
Virtual Private Cloud (3)
Network Access Control Layer (4)
Subnet (5)
Security groups (6)
Elastic Compute Cloud (7)
Route Table (8)
Internet Gateway (9)
NAT Gateway (10)
Auto Scaling Group (11)
Load Balancer (12)
Route 53 (13)
API Gateway (14)
Lambda (15)
Relational Database Service (16)
Simple Storage Service (17)
Elastic Cache (18)
Monitoring (19)
Some important services
Identity and Access Management
Parameter Store
Tags
SQS
SNS
Step Functions
Conclusion
Points to Remember
Multiple choice questions
Answer
4. Microservices Patterns
Introduction
Structure
Objective
Patterns
Aggregator pattern
API Gateway
Distributed and shared database
Command and Query Responsibility Segregation
Saga pattern
Two-phase commit
Saga pattern
Strangler pattern
Circuit breaker
Service discovery pattern
Client-side service discovery
Server-side service discovery
Blue-green deployment pattern
Bulkhead pattern
Chained responsibility pattern
Branch pattern
Conclusion
Points to remember
Multiple choice questions
Answer
5. Serverless Paradigm
Introduction
Structure
Objective
Configuring AWS
Overview of a sample serverless application
Infrastructure project
Domain project
Service project
API Project
Configuring startup
Serverless template
Get custom domain
Create a self-signed certificate
Add a certificate to AWS Certificate Manager
Configure API gateway
Deploy Lambda Function
Configure Route 53
Final step
Conclusion
Points to remember
Multiple choice questions
Answer
6. Communication Patterns and Service Discovery
Introduction
Structure
Objective
Communication patterns
Point-to-point
Fire-and-Forget
Request/reply
Publish/subscribe
Fire-and-Forget
Request/reply
Asynchronous Lambda invocation
EventBridge
API gateway integration
Service discovery
AWS Cloud Map
Conclusion
Points to remember
Multiple choice questions
Answer
7. Collaborating Between Microservices
Introduction
Structure
Objective
Event-driven design prerequisite
AWS step function
Setup
Step function tasks
State machine
Serverless template
EventBridge
Create event bus
Create Rule
Configure patterns
Configure targets
Connecting microservices
Configuring API gateway
Create resource
Create method
Configure headers
Configure mapping template
Add method response
Deploy and test
Conclusion
Points to remember
Multiple choice questions
Answer
8. Distributed Monitoring
Introduction
Structure
Objective
CloudWatch
Monitoring
Logging
X-Ray
X-Ray graph
X-Ray tracing
Conclusion
Points to remember
Multiple choice questions
Answer
9. Security
Introduction
Structure
Objective
Security strategies
Lambda authorizer
AWS Cognito
JWT token
Request flow design
Cognito configuration
Integrate with API gateway
Conclusion
Points to remember
Multiple choice questions
Answer
10. Continuous Integration and Deployment
Introduction
Structure
Objective
AWS CodePipeline
Source
Build
Environment
Buildspec
Artifacts
Configuring logs
Deploy
Execution
PowerShell script
Conclusion
Points to remember
Multiple choice questions
Answer
11. AWS Best Practices
Introduction
Structure
Objective
Best practices
Lambda payload limit
Lambda cold-start
Lambda layers
API gateway response timeout
Lambda hosting strategies
HTTP2 protocol
Secret manager
Create API versions
Use step functions
Use CI/CD pipeline
Open data protocol
Stored procedures
CloudWatch log messages
Rate limit
Conclusion
Points to remember
Multiple choice questions
Answer
Index
The book hasn't received reviews yet.