没有合适的资源?快使用搜索试试~ 我知道了~
首页Python指南:构建AWS无服务器应用
Python指南:构建AWS无服务器应用
需积分: 0 10 下载量 55 浏览量
更新于2024-07-18
收藏 43.71MB PDF 举报
"《Packt.Building.Serverless.Applications.with.Python》是一本专注于无服务器(Serverless)开发趋势的实用指南,特别是在AWS平台上,Python作为首选开发语言的角色日益凸显。书中探讨了如何构建快速、可扩展且经济高效的Web应用程序,这些应用能够始终在线,无需用户手动管理服务器资源。作者Jalem Raj Rohit与BIRMINGHAM-MUMBAI团队共同编撰,强调了在无服务器架构中的实践和创新。 本书版权由Packt Publishing所有,强调所有内容未经事先书面许可不得复制、存储或传输。尽管作者和出版社已尽力确保信息的准确性,但本书提供的信息并非无条件担保,不承担因使用本书内容导致的直接或间接损害的责任。Packt Publishing在提及商标时,尽可能采用大写字母表示尊重,但不能保证所有信息的准确性。 书中深入讲解了如何利用Python构建无服务器应用,包括但不限于架构设计、API管理、事件驱动编程、函数计算以及如何处理数据存储和安全性问题。此外,读者还将了解到如何通过AWS Lambda、API Gateway、DynamoDB等服务,以及如何将Python代码无缝集成到Serverless环境中,实现资源按需分配,从而节省成本。 随着云计算的发展,本书不仅提供技术实操指导,还紧跟行业发展趋势,帮助读者掌握在现代IT环境中开发和部署Serverless应用的关键技能。无论你是初入此领域的开发者,还是希望升级现有技能的专家,都能从中受益匪浅。阅读本书,你将踏上构建高效、灵活且经济的云原生应用程序的旅程。"
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/10657459/bg10.jpg)
What this book covers
Chapter 1, The Serverless Paradigm, introduces the reader to the concepts of
microservices and serverless architectures, and provides a clear understanding of the
pros and cons.
Chapter 2, Building a Serverless Application in AWS, covers AWS Lambda and explains
the concepts, workings, and the components involved in the tool in detail. It also
explains the nuances involved in security, user controls, and versioning code inside
Lambda.
Chapter 3, Setting Up Serverless Architectures, goes into further detail about the various
triggers in AWS Lambda and how they integrate with the functions. The reader will
learn what the event structure of each trigger will look like and how to modify the
Lambda function with respect to the type of trigger used.
Chapter 4, Deploying Serverless APIs, explores the AWS API Gateway and also teaches
the reader how to build efficient, scalable serverless APIs using the API Gateway and
Lambda. It goes on to teach the reader how to improve the API by adding
authorization and how to set up user-level controls such as throttling of requests.
Chapter 5, Logging and Monitoring, presents the concept of logging and monitoring in
serverless applications. This is mostly still an unsolved problem in this domain. This
chapter guides the reader through setting up logging and monitoring in the AWS
environment with Python via custom metrics and logging. This chapter also goes into
the details of best practices when it comes to logging and monitoring Lambda
functions in Python.
Chapter 6, Scaling Up Serverless Architectures, discusses the practice of scaling up
serverless architectures for large workloads using several third-party tools. This
chapter also teaches the reader how to handle security, logging, and monitoring using
the available Python modules.
Chapter 7, Security in AWS Lambda, teaches readers to deploy secure serverless
applications by leveraging the AWS security features available. This involves having
strict controls on components that the application can access, on the users who can
handle or access the application, and so on. This also involves understanding AWS
virtual private clouds and subnets for an in-depth understanding of the security
features and best practices you can follow in AWS Lambda.
![](https://csdnimg.cn/release/download_crawler_static/10657459/bg11.jpg)
Chapter 8, Deploying a Lambda Function with SAM, looks at how to deploy Lambda
functions as infrastructure as code via the Serverless Application Model, which is a
new way of writing and deploying Lambda functions that makes it easier to integrate
with other IaaS services, such as CloudFormation.
Chapter 9, Introduction to Microsoft Azure Functions, familiarizes the reader with
Microsoft Azure Functions, and explains how to configure and understand the
components of the tool.
![](https://csdnimg.cn/release/download_crawler_static/10657459/bg12.jpg)
To get the most out of this book
The reader should be comfortable with the Python programming language. So, prior
experience with it is expected. Prior experience with cloud-based systems will also be
helpful.
![](https://csdnimg.cn/release/download_crawler_static/10657459/bg13.jpg)
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames,
file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an
example: "It is to be noted that the meta information should always be included for all
SAM, which includes AWSTemplateFormatVersion and Transform. This would
tell CloudFormation that the code you have written is an AWS SAM code and a serverless
application."
A block of code is set as follows:
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Bold: Indicates a new term, an important word, or words that you see onscreen. For
example, words in menus or dialog boxes appear in the text like this. Here is an
example: "For creating a function, you need to click on the orange Create a
function button on the right."
Warnings or important notes appear like this.
Tips and tricks appear like this.
![](https://csdnimg.cn/release/download_crawler_static/10657459/bg14.jpg)
Get in touch
Feedback from our readers is always welcome.
General feedback: Email feedback@packtpub.com and mention the book title in the subject
of your message. If you have questions about any aspect of this book, please email us
at questions@packtpub.com.
Errata: Although we have taken every care to ensure the accuracy of our content,
mistakes do happen. If you have found a mistake in this book, we would be grateful if
you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book,
clicking on the Errata Submission Form link, and entering the details.
Piracy: If you come across any illegal copies of our works in any form on the Internet,
we would be grateful if you would provide us with the location address or website
name. Please contact us at copyright@packtpub.com with a link to the material.
If you are interested in becoming an author: If there is a topic that you have
expertise in and you are interested in either writing or contributing to a book, please
visit authors.packtpub.com.
剩余245页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/dc3cf5c88e8247ac88f4968acee51f36_triggerfish.jpg!1)
小菜园的稻草人
- 粉丝: 5
- 资源: 6
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- 岩石滑动与断层冲击地压:声发射特征分析
- 新时代煤炭工业八大战略新取向剖析
- 开采强度对华亭矿区冲击地压危险性的影响分析
- 新安煤矿探采对比:影响安全生产的关键因素与技术支撑
- 210MW循环流化床锅炉引风机变频改造优化与节能效果
- 浅埋煤层开采沉陷预测:方法应用与影响分析
- 优化巷道过陷落柱支护方案:数值模拟与现场试验
- 坚硬顶板定向断裂爆破技术:安全高效采煤新方案
- 北航2019算法课作业解析:投资策略与凸子多边形优化
- 断层破碎带垮冒下堆积体边界抗力分布关键影响因素
- 哈拉沟选煤厂优化末煤系统提高效率与处理能力
- 瓦斯涌出影响下采动煤体蠕变失稳研究
- 提升煤矿装载效率的可控箕斗定量装载设备设计
- 水分调控下烟煤瓦斯吸附特性对比研究
- 重介质悬浮液密度控制硬件设计与选型探讨
- 坚硬顶板巷道支护参数设计:现场测试与数值分析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)