Serverless Programming Cookbook

Serverless Programming Cookbook PDF

Author: Heartin Kanikathottu

Publisher: Packt Publishing Ltd

Published: 2019-01-31

Total Pages: 482

ISBN-13: 1788621530

DOWNLOAD EBOOK →

Build, secure, and deploy real-world serverless applications in AWS and peek into the serverless cloud offerings from Azure, Google Cloud, and IBM Cloud Key FeaturesBuild serverless applications with AWS Lambda, AWS CloudFormation and AWS CloudWatchPerform data analytics and natural language processing(NLP)on the AWS serverless platformExplore various design patterns and best practices involved in serverless computingBook Description Managing physical servers will be a thing of the past once you’re able to harness the power of serverless computing. If you’re already prepped with the basics of serverless computing, Serverless Programming Cookbook will help you take the next step ahead. This recipe-based guide provides solutions to problems you might face while building serverless applications. You'll begin by setting up Amazon Web Services (AWS), the primary cloud provider used for most recipes. The next set of recipes will cover various components to build a Serverless application including REST APIs, database, user management, authentication, web hosting, domain registration, DNS management, CDN, messaging, notifications and monitoring. The book also introduces you to the latest technology trends such as Data Streams, Machine Learning and NLP. You will also see patterns and practices for using various services in a real world application. Finally, to broaden your understanding of Serverless computing, you'll also cover getting started guides for other cloud providers such as Azure, Google Cloud Platform and IBM cloud. By the end of this book, you’ll have acquired the skills you need to build serverless applications efficiently using various cloud offerings. What you will learnServerless computing in AWS and explore services with other cloudsDevelop full-stack apps with API Gateway, Cognito, Lambda and DynamoDBWeb hosting with S3, CloudFront, Route 53 and AWS Certificate ManagerSQS and SNS for effective communication between microservices Monitoring and troubleshooting with CloudWatch logs and metrics Explore Kinesis Streams, Amazon ML models and Alexa Skills KitWho this book is for For developers looking for practical solutions to common problems while building a serverless application, this book provides helpful recipes. To get started with this intermediate-level book, knowledge of basic programming is a must.

Programming AWS Lambda

Programming AWS Lambda PDF

Author: John Chapin

Publisher: O'Reilly Media

Published: 2020-03-18

Total Pages: 278

ISBN-13: 1492041025

DOWNLOAD EBOOK →

Serverless revolutionizes the way organizations build and deploy software. With this hands-on guide, Java engineers will learn how to use their experience in the new world of serverless computing. You’ll discover how this cloud computing execution model can drastically decrease the complexity in developing and operating applications while reducing costs and time to market. Engineering leaders John Chapin and Mike Roberts guide you through the process of developing these applications using AWS Lambda, Amazon’s event-driven, serverless computing platform. You’ll learn how to prepare the development environment, program Lambda functions, and deploy and operate your serverless software. The chapters include exercises to help you through each aspect of the process. Get an introduction to serverless, functions as a service, and AWS Lambda Learn how to deploy working Lambda functions to the cloud Program Lambda functions and learn how the Lambda platform integrates with other AWS services Build and package Java-based Lambda code and dependencies Create serverless applications by building a serverless API and data pipeline Test your serverless applications using automated techniques Apply advanced techniques to build production-ready applications Understand both the gotchas and new opportunities of serverless architecture

Building Serverless Applications with Python

Building Serverless Applications with Python PDF

Author: Jalem Raj Rohit

Publisher: Packt Publishing Ltd

Published: 2018-04-20

Total Pages: 266

ISBN-13: 1787281132

DOWNLOAD EBOOK →

Building efficient Python applications at minimal cost by adopting serverless architectures Key Features Design and set up a data flow between cloud services and custom business logic Make your applications efficient and reliable using serverless architecture Build and deploy scalable serverless Python APIs Book Description Serverless architectures allow you to build and run applications and services without having to manage the infrastructure. Many companies have adopted this architecture to save cost and improve scalability. This book will help you design serverless architectures for your applications with AWS and Python. The book is divided into three modules. The first module explains the fundamentals of serverless architecture and how AWS lambda functions work. In the next module, you will learn to build, release, and deploy your application to production. You will also learn to log and test your application. In the third module, we will take you through advanced topics such as building a serverless API for your application. You will also learn to troubleshoot and monitor your app and master AWS lambda programming concepts with API references. Moving on, you will also learn how to scale up serverless applications and handle distributed serverless systems in production. By the end of the book, you will be equipped with the knowledge required to build scalable and cost-efficient Python applications with a serverless framework. What you will learn Understand how AWS Lambda and Microsoft Azure Functions work and use them to create an application Explore various triggers and how to select them, based on the problem statement Build deployment packages for Lambda functions Master the finer details about building Lambda functions and versioning Log and monitor serverless applications Learn about security in AWS and Lambda functions Scale up serverless applications to handle huge workloads and serverless distributed systems in production Understand SAM model deployment in AWS Lambda Who this book is for This book is for Python developers who would like to learn about serverless architecture. Python programming knowledge is assumed.

Serverless Architectures on AWS

Serverless Architectures on AWS PDF

Author: Peter Sbarski

Publisher: Simon and Schuster

Published: 2017-04-17

Total Pages: 549

ISBN-13: 1638351147

DOWNLOAD EBOOK →

Summary Serverless Architectures on AWS teaches you how to build, secure and manage serverless architectures that can power the most demanding web and mobile apps. Forewords by Patrick Debois (Founder of devopsdays) and Dr. Donald F. Ferguson (Columbia University). Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology There's a shift underway toward serverless cloud architectures. With the release of serverless computer technologies such as AWS Lambda, developers are now building entirely serverless platforms at scale. In these new architectures, traditional back-end servers are replaced with cloud functions acting as discrete single-purpose services. By composing and combining these serverless cloud functions together in a loose orchestration and adopting useful third-party services, developers can create powerful yet easy-to-understand applications. About the Book Serverless Architectures on AWS teaches you how to build, secure, and manage serverless architectures that can power the most demanding web and mobile apps. You'll get going quickly with this book's ready-made real-world examples, code snippets, diagrams, and descriptions of architectures that can be readily applied. By the end, you'll be able to architect and build your own serverless applications on AWS. What's Inside First steps with serverless computing Important patterns and architectures Writing AWS Lambda functions and using the API Gateway Composing serverless applications using key services like Auth0 and Firebase Securing, deploying, and managing serverless architectures About the Reader This book is for software developers interested in back end technologies. Experience with JavaScript (node.js) and AWS is useful but not required. About the Author Dr. Peter Sbarski is a well-known AWS expert, VP of engineering at A Cloud Guru, and head of Serverlessconf. Table of Contents PART 1 - FIRST STEPS Going serverless Architectures and patterns Building a serverless application Setting up your cloud PART 2 - CORE IDEAS Authentication and authorization Lambda the orchestrator API Gateway PART 3 - GROWING YOUR ARCHITECTURE Storage Database Going the last mile APPENDIXES Services for your serverless architecture Installation and setup More about authentication and authorization Lambda insider Models and mapping

Building Serverless Web Applications

Building Serverless Web Applications PDF

Author: Diego Zanon

Publisher: Packt Publishing Ltd

Published: 2017-07-28

Total Pages: 354

ISBN-13: 1787123073

DOWNLOAD EBOOK →

Build scalable, efficient, and highly available web apps using AWS About This Book Get an in-depth understanding of the serverless model Build a complete serverless web application end to end Learn how to use the Serverless Framework to improve your productivity Who This Book Is For If you're looking to learn more about scalable and cost-efficient architectures, this book is for you. Basic knowledge of Node.js skills or familiarity with cloud services is required. For other topics, we cover the basics. What You Will Learn Get a grasp of the pros and cons of going serverless and its use cases Discover how you can use the building blocks of AWS to your advantage Set up the environment and create a basic app with the Serverless Framework Host static files on S3 and CloudFront with HTTPS support Build a sample application with a frontend using React as an SPA Develop the Node.js backend to handle requests and connect to a SimpleDB database Secure your applications with authentication and authorization Implement the publish-subscribe pattern to handle notifications in a serverless application Create tests, define the workflow for deployment, and monitor your app In Detail This book will equip you with the knowledge needed to build your own serverless apps by showing you how to set up different services while making your application scalable, highly available, and efficient. We begin by giving you an idea of what it means to go serverless, exploring the pros and cons of the serverless model and its use cases. Next, you will be introduced to the AWS services that will be used throughout the book, how to estimate costs, and how to set up and use the Serverless Framework. From here, you will start to build an entire serverless project of an online store, beginning with a React SPA frontend hosted on AWS followed by a serverless backend with API Gateway and Lambda functions. You will also learn to access data from a SimpleDB database, secure the application with authentication and authorization, and implement serverless notifications for browsers using AWS IoT. This book will describe how to monitor the performance, efficiency, and errors of your apps and conclude by teaching you how to test and deploy your applications. Style and approach This book takes a step-by-step approach on how to use the Serverless Framework and AWS services to build Serverless Applications. It will give you a hands-on feeling, allowing you to practice while reading. It provides a brief introduction of concepts while keeping the focus on the practical skills required to develop applications.

Software Architecture Patterns for Serverless Systems

Software Architecture Patterns for Serverless Systems PDF

Author: John Gilbert

Publisher: Packt Publishing Ltd

Published: 2021-07-30

Total Pages: 436

ISBN-13: 1800200730

DOWNLOAD EBOOK →

A professional's guide to solving complex problems while designing modern software Key FeaturesLearn best practices for designing enterprise-grade software systems from a seasoned CTODeeper your understanding of system reliability, maintainability, and scalabilityElevate your skills to a professional level by learning the most effective software design patterns and architectural conceptsBook Description As businesses are undergoing a digital transformation to keep up with competition, it is now more important than ever for IT professionals to design systems to keep up with the rate of change while maintaining stability. This book takes you through the architectural patterns that power enterprise-grade software systems and the key architectural elements that enable change (such as events, autonomous services, and micro frontends), along with showing you how to implement and operate anti-fragile systems. First, you'll divide up a system and define boundaries so that your teams can work autonomously and accelerate innovation. You'll cover low-level event and data patterns that support the entire architecture, while getting up and running with the different autonomous service design patterns. Next, the book will focus on best practices for security, reliability, testability, observability, and performance. You'll combine all that you've learned and build upon that foundation, exploring the methodologies of continuous experimentation, deployment, and delivery before delving into some final thoughts on how to start making progress. By the end of this book, you'll be able to architect your own event-driven, serverless systems that are ready to adapt and change so that you can deliver value at the pace needed by your business. What you will learnExplore architectural patterns to create anti-fragile systems that thrive with changeFocus on DevOps practices that empower self-sufficient, full-stack teamsBuild enterprise-scale serverless systemsApply microservices principles to the frontendDiscover how SOLID principles apply to software and database architectureCreate event stream processors that power the event sourcing and CQRS patternDeploy a multi-regional system, including regional health checks, latency-based routing, and replicationExplore the Strangler pattern for migrating legacy systemsWho this book is for This book is for software architects who want to learn more about different software design patterns and best practices. This isn't a beginner's manual – you'll need an intermediate level of programming proficiency and software design to get started. You'll get the most out of this software design book if you already know the basics of the cloud, but it isn't a prerequisite.

Learn AWS Serverless Computing

Learn AWS Serverless Computing PDF

Author: Scott Patterson

Publisher: Packt Publishing Ltd

Published: 2019-12-24

Total Pages: 367

ISBN-13: 1789959950

DOWNLOAD EBOOK →

Build, deploy, test, and run cloud-native serverless applications using AWS Lambda and other popular AWS services Key FeaturesLearn how to write, run, and deploy serverless applications in Amazon Web ServicesMake the most of AWS Lambda functions to build scalable and cost-efficient systemsBuild and deploy serverless applications with Amazon API Gateway and AWS Lambda functionsBook Description Serverless computing is a way to run your code without having to provision or manage servers. Amazon Web Services provides serverless services that you can use to build and deploy cloud-native applications. Starting with the basics of AWS Lambda, this book takes you through combining Lambda with other services from AWS, such as Amazon API Gateway, Amazon DynamoDB, and Amazon Step Functions. You’ll learn how to write, run, and test Lambda functions using examples in Node.js, Java, Python, and C# before you move on to developing and deploying serverless APIs efficiently using the Serverless Framework. In the concluding chapters, you’ll discover tips and best practices for leveraging Serverless Framework to increase your development productivity. By the end of this book, you’ll have become well-versed in building, securing, and running serverless applications using Amazon API Gateway and AWS Lambda without having to manage any servers. What you will learnUnderstand the core concepts of serverless computing in AWSCreate your own AWS Lambda functions and build serverless APIs using Amazon API GatewayExplore best practices for developing serverless applications at scale using Serverless FrameworkDiscover the DevOps patterns in a modern CI/CD pipeline with AWS CodePipelineBuild serverless data processing jobs to extract, transform, and load dataEnforce resource tagging policies with continuous compliance and AWS ConfigCreate chatbots with natural language understanding to perform automated tasksWho this book is for This AWS book is for cloud architects and developers who want to build and deploy serverless applications using AWS Lambda. A basic understanding of AWS is required to get the most out of this book.

Building Serverless Microservices in Python

Building Serverless Microservices in Python PDF

Author: Richard Takashi Freeman

Publisher: Packt Publishing Ltd

Published: 2019-03-29

Total Pages: 167

ISBN-13: 1789533422

DOWNLOAD EBOOK →

A practical guide for developing end-to-end serverless microservices in Python for developers, DevOps, and architects. Key FeaturesCreate a secure, cost-effective, and scalable serverless data APIUse identity management and authentication for a user-specific and secure web applicationGo beyond traditional web hosting to explore the full range of cloud hosting optionsBook Description Over the last few years, there has been a massive shift from monolithic architecture to microservices, thanks to their small and independent deployments that allow increased flexibility and agile delivery. Traditionally, virtual machines and containers were the principal mediums for deploying microservices, but they involved a lot of operational effort, configuration, and maintenance. More recently, serverless computing has gained popularity due to its built-in autoscaling abilities, reduced operational costs, and increased productivity. Building Serverless Microservices in Python begins by introducing you to serverless microservice structures. You will then learn how to create your first serverless data API and test your microservice. Moving on, you'll delve into data management and work with serverless patterns. Finally, the book introduces you to the importance of securing microservices. By the end of the book, you will have gained the skills you need to combine microservices with serverless computing, making their deployment much easier thanks to the cloud provider managing the servers and capacity planning. What you will learnDiscover what microservices offer above and beyond other architecturesCreate a serverless application with AWSGain secure access to data and resourcesRun tests on your configuration and codeCreate a highly available serverless microservice data APIBuild, deploy, and run your serverless configuration and codeWho this book is for If you are a developer with basic knowledge of Python and want to learn how to build, test, deploy, and secure microservices, then this book is for you. No prior knowledge of building microservices is required.

Full Stack Serverless

Full Stack Serverless PDF

Author: Nader Dabit

Publisher: O'Reilly Media

Published: 2020-07-13

Total Pages: 184

ISBN-13: 1492059862

DOWNLOAD EBOOK →

With a new generation of services and frameworks, frontend and mobile developers can use their existing skill set to build full stack applications by leveraging the cloud. Developers can build robust applications with production-ready features such as authentication, APIs, data layers, machine learning, chatbots, and AR scenes more easily than ever by taking advantage of these new serverless and cloud technologies. This practical guide explains how. Nader Dabit, developer advocate at Amazon Web Services, shows developers how to build full stack applications using React, AWS, GraphQL, and the Amplify Framework. You’ll learn how to create and incorporate services into your client applications while exploring general best practices, deployment strategies, continuous integration and delivery, and rich media management along the way. Learn how to build applications that solve real problems Understand what is (and is not) possible when using these technologies Examine how authentication works—and learn the difference between authentication and authorization Discover how serverless functions work and why they’re important Use GraphQL in your application—and learn why it’s important Learn how to build full stack applications on AWS

AWS Security Cookbook

AWS Security Cookbook PDF

Author: Heartin Kanikathottu

Publisher: Packt Publishing Ltd

Published: 2020-02-27

Total Pages: 434

ISBN-13: 1838827420

DOWNLOAD EBOOK →

Secure your Amazon Web Services (AWS) infrastructure with permission policies, key management, and network security, along with following cloud security best practices Key FeaturesExplore useful recipes for implementing robust cloud security solutions on AWSMonitor your AWS infrastructure and workloads using CloudWatch, CloudTrail, config, GuardDuty, and MaciePrepare for the AWS Certified Security-Specialty exam by exploring various security models and compliance offeringsBook Description As a security consultant, securing your infrastructure by implementing policies and following best practices is critical. This cookbook discusses practical solutions to the most common problems related to safeguarding infrastructure, covering services and features within AWS that can help you implement security models such as the CIA triad (confidentiality, integrity, and availability), and the AAA triad (authentication, authorization, and availability), along with non-repudiation. The book begins with IAM and S3 policies and later gets you up to speed with data security, application security, monitoring, and compliance. This includes everything from using firewalls and load balancers to secure endpoints, to leveraging Cognito for managing users and authentication. Over the course of this book, you'll learn to use AWS security services such as Config for monitoring, as well as maintain compliance with GuardDuty, Macie, and Inspector. Finally, the book covers cloud security best practices and demonstrates how you can integrate additional security services such as Glacier Vault Lock and Security Hub to further strengthen your infrastructure. By the end of this book, you'll be well versed in the techniques required for securing AWS deployments, along with having the knowledge to prepare for the AWS Certified Security – Specialty certification. What you will learnCreate and manage users, groups, roles, and policies across accountsUse AWS Managed Services for logging, monitoring, and auditingCheck compliance with AWS Managed Services that use machine learningProvide security and availability for EC2 instances and applicationsSecure data using symmetric and asymmetric encryptionManage user pools and identity pools with federated loginWho this book is for If you are an IT security professional, cloud security architect, or a cloud application developer working on security-related roles and are interested in using AWS infrastructure for secure application deployments, then this Amazon Web Services book is for you. You will also find this book useful if you’re looking to achieve AWS certification. Prior knowledge of AWS and cloud computing is required to get the most out of this book.