更新时间:2021-06-24 15:57:53
coverpage
Title Page
Copyright and Credits
Building Serverless Microservices in Python
About Packt
Why subscribe?
Packt.com
Dedication
Contributors
About the author
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Serverless Microservices Architectures and Patterns
Understanding different architecture types and patterns
The monolithic multi-tier architecture and the monolithic service-oriented architecture
Benefits of monolithic architectures
Drawbacks of the monolithic architectures
Overview of microservices
Benefits and drawbacks of microservice architectures
SOA versus microservices
Virtual machines containers and serverless computing
Virtual machines
Containers
Serverless computing
Comparing virtual machines containers and serverless
Overview of microservice integration patterns
Design patterns
Why are patterns useful?
Software design patterns and principles
Serverless microservices pattern categories
Communication styles and decomposition microservice patterns
Communication styles
One-to-one communication microservice patterns
Many-to-many communication microservice patterns
Decomposition pattern by business capability
Decomposition pattern by bounded context
Serverless computing in AWS
Overview of some of the key serverless services in AWS
AWS Lambda
Serverless computing to implement microservice patterns
Example use case – serverless file transformer
Setting up your serverless environment
Setting up your AWS account
Setting up MFA
Setting up a new user with keys
Managing your infrastructure with code
Installing bash on Windows 10
Updating Ubuntu installing Git and Python 3
Installing and setting up the AWS CLI
Summary
Creating Your First Serverless Data API
Overview of security in AWS
Why is security important?
Security by design principles
AWS Identity and Access Management
JavaScript object notation
IAM policies
IAM users
IAM groups
IAM roles
Securing your serverless microservices
Lambda security
API Gateway security
DynamoDB security
Monitoring and alerting
Find out more
Building a serverless microservice data API
Serverless microservice data API requirements
Query string
Data API architecture
Setting up Lambda security in the AWS Management Console
Creating an IAM policy
DynamoDB IAM policy
Lambda IAM policy
Creating the Lambda IAM role
Creating and writing to a NoSQL database called DynamoDB using AWS
Creating a DynamoDB in AWS
Writing data to DynamoDB using AWS
Querying DynamoDB using AWS
DynamoDB Scan in AWS Management Console
DynamoDB Query in AWS Management Console
Deleting DynamoDB using AWS
Creating and writing to a NoSQL database called DynamoDB using Python
Creating a DynamoDB table using Python
Writing to DynamoDB using Python
Querying DynamoDB using Python
Creating a Lambda to query DynamoDB
Creating the Lambda function
Testing the Lambda function
Setting up the API Gateway and integrating it with a Lambda proxy
Connecting API Gateway Lambda and DynamoDB
Cleaning-up