Hands-On Serverless Applications with Go

Hands-On Serverless Applications with Go PDF

Author: Mohamed Labouardy

Publisher: Packt Publishing Ltd

Published: 2018-08-29

Total Pages: 403

ISBN-13: 1789133831

DOWNLOAD EBOOK →

Learn to build, secure, deploy, and manage your serverless application in Golang with AWS Lambda Key Features Implement AWS lambda to build scalable and cost-efficient applications in Go Design and set the data flow between cloud services and custom business logic Learn to design Lambda functions using real-world examples and implementation scenarios Book Description Serverless architecture is popular in the tech community due to AWS Lambda. Go is simple to learn, straightforward to work with, and easy to read for other developers; and now it's been heralded as a supported language for AWS Lambda. This book is your optimal guide to designing a Go serverless application and deploying it to Lambda. This book starts with a quick introduction to the world of serverless architecture and its benefits, and then delves into AWS Lambda using practical examples. You'll then learn how to design and build a production-ready application in Go using AWS serverless services with zero upfront infrastructure investment. The book will help you learn how to scale up serverless applications and handle distributed serverless systems in production. You will also learn how to log and test your application. Along the way, you'll also discover how to set up a CI/CD pipeline to automate the deployment process of your Lambda functions. Moreover, you'll learn how to troubleshoot and monitor your apps in near real-time with services such as AWS CloudWatch and X-ray. This book will also teach you how to secure the access with AWS Cognito. By the end of this book, you will have mastered designing, building, and deploying a Go serverless application. What you will learn Understand how AWS Lambda works and use it to create an application Understand how to scaleup serverless applications Design a cost-effective serverless application in AWS Build a highly scalable and fault-tolerant CI/CD pipeline Understand how to troubleshoot and monitor serverless apps in AWS Discover the working of APIs and single page applications Build a production-ready serverless application in Go Who this book is for This book is for Go developers who would like to learn about serverless architecture. Go programming knowledge is assumed. DevOps and Solution Architects who are interested in building serverless applications in Go can also choose this book.

Hands-On Serverless Computing

Hands-On Serverless Computing PDF

Author: Kuldeep Chowhan

Publisher: Packt Publishing Ltd

Published: 2018-07-23

Total Pages: 339

ISBN-13: 178883495X

DOWNLOAD EBOOK →

Deploy functions efficiently using different cloud-based serverless offerings Key Features Understand the concept of Function-as-a-Service Implement Serverless solutions using AWS Lambda, Azure Functions and Google Cloud Functions Practical approach towards choosing the best tool for your serverless environment Book Description Serverless applications and architectures are gaining momentum and are increasingly being used by companies of all sizes. Serverless software takes care of many problems that developers face when running systems and servers, such as fault tolerance, centralized logging, horizontal scalability, and deployments. You will learn how to harness serverless technology to rapidly reduce production time and minimize your costs, while still having the freedom to customize your code, without hindering functionality. Upon finishing the book, you will have the knowledge and resources to build your own serverless application hosted in AWS, Microsoft Azure, or Google Cloud Platform, and will have experienced the benefits of event-driven technology for yourself. This hands-on guide dives into the basis of serverless architectures and how to build them using Node.js as a programming language, Visual Studio Code for code editing, and Postman for quickly and securely developing applications without the hassle of configuring and maintaining infrastructure on three public cloud platforms. What you will learn Understand the benefts of serverless computing and know when to use it Develop serverless applications on AWS, Azure, and Google Cloud Get to grips with Function as a Service (FaaS) Apply triggers to serverless functions Build event-driven apps using serverless frameworks Use the Node.js programming language to build serverless apps Use code editors, such as Visual Studio Code, as development environments Master the best development practices for creating scalable and practical solutions Who this book is for This book is targeted towards developers, system administrators or any stakeholder working in the Serverless environment and want to understand how functions work. Basic idea of serverless architecture can be an added advantage

Building Serverless Applications with Google Cloud Run

Building Serverless Applications with Google Cloud Run PDF

Author: Wietse Venema

Publisher: O'Reilly Media

Published: 2020-12-02

Total Pages: 203

ISBN-13: 1492057061

DOWNLOAD EBOOK →

Learn how to build a real-world serverless application in the cloud that's reliable, secure, maintainable, and scalable. If you have experience building web applications on traditional infrastructure, this hands-on guide shows you how to get started with Cloud Run, a container-based serverless product on Google Cloud. Through the course of this book, you'll learn how to deploy several example applications that highlight different parts of the serverless stack on Google Cloud. Combining practical examples with fundamentals, this book will appeal to developers who are early in their learning journey as well as experienced practitioners. Build a serverless application with Google Cloud Run Learn approaches for building containers with (and without) Docker Explore Google Cloud's managed relational database: Cloud SQL Use HTTP sessions to make every user's experience unique Explore identity and access management (IAM) on Cloud Run Provision Google Cloud resources using Terraform Learn how to handle background task scheduling on Cloud Run Move your service from Cloud Run to Knative Serving with little effort

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang PDF

Author: Jyotiswarup Raiturkar

Publisher: Packt Publishing Ltd

Published: 2018-12-07

Total Pages: 716

ISBN-13: 1788625102

DOWNLOAD EBOOK →

Understand the principles of software architecture with coverage on SOA, distributed and messaging systems, and database modeling Key FeaturesGain knowledge of architectural approaches on SOA and microservices for architectural decisionsExplore different architectural patterns for building distributed applicationsMigrate applications written in Java or Python to the Go languageBook Description Building software requires careful planning and architectural considerations; Golang was developed with a fresh perspective on building next-generation applications on the cloud with distributed and concurrent computing concerns. Hands-On Software Architecture with Golang starts with a brief introduction to architectural elements, Go, and a case study to demonstrate architectural principles. You'll then move on to look at code-level aspects such as modularity, class design, and constructs specific to Golang and implementation of design patterns. As you make your way through the chapters, you'll explore the core objectives of architecture such as effectively managing complexity, scalability, and reliability of software systems. You'll also work through creating distributed systems and their communication before moving on to modeling and scaling of data. In the concluding chapters, you'll learn to deploy architectures and plan the migration of applications from other languages. By the end of this book, you will have gained insight into various design and architectural patterns, which will enable you to create robust, scalable architecture using Golang. What you will learnUnderstand architectural paradigms and deep dive into MicroservicesDesign parallelism/concurrency patterns and learn object-oriented design patterns in GoExplore API-driven systems architecture with introduction to REST and GraphQL standardsBuild event-driven architectures and make your architectures anti-fragileEngineer scalability and learn how to migrate to Go from other languagesGet to grips with deployment considerations with CICD pipeline, cloud deployments, and so onBuild an end-to-end e-commerce (travel) application backend in GoWho this book is for Hands-On Software Architecture with Golang is for software developers, architects, and CTOs looking to use Go in their software architecture to build enterprise-grade applications. Programming knowledge of Golang is assumed.

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.

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.

Docker for Serverless Applications

Docker for Serverless Applications PDF

Author: Chanwit Kaewkasi

Publisher: Packt Publishing Ltd

Published: 2018-04-19

Total Pages: 243

ISBN-13: 1788837576

DOWNLOAD EBOOK →

Build applications and infrastructures that leverage Function-as-a-Service and Docker Key Features - Implement containerization in Serverless/FaaS environments - Utilize Docker as a functional unit of work for Serverless/FaaS platforms - Use Docker as a portable infrastructure for Serverless Applications Book Description Serverless applications have gained a lot of popularity among developers and are currently the buzzwords in the tech market. Docker and serverless are two terms that go hand-in-hand. This book will start by explaining serverless and Function-as-a-Service (FaaS) concepts, and why they are important. Then, it will introduce the concepts of containerization and how Docker fits into the Serverless ideology. It will explore the architectures and components of three major Docker-based FaaS platforms, how to deploy and how to use their CLI. Then, this book will discuss how to set up and operate a production-grade Docker cluster. We will cover all concepts of FaaS frameworks with practical use cases, followed by deploying and orchestrating these serverless systems using Docker. Finally, we will also explore advanced topics and prototypes for FaaS architectures in the last chapter. By the end of this book, you will be in a position to build and deploy your own FaaS platform using Docker. What you will learn Learn what Serverless and FaaS applications are Get acquainted with the architectures of three major serverless systems Explore how Docker technologies can help develop Serverless applications Create and maintain FaaS infrastructures Set up Docker infrastructures to serve as on-premises FaaS infrastructures Define functions for Serverless applications with Docker containers Who this book is for If you are a Developer, a Docker Engineer, a DevOps Engineer, or any stakeholder interested in learning the use of Docker on Serverless environments then this book is for you.

Building Distributed Applications in Gin

Building Distributed Applications in Gin PDF

Author: Mohamed Labouardy

Publisher: Packt Publishing Ltd

Published: 2021-07-23

Total Pages: 482

ISBN-13: 1801079552

DOWNLOAD EBOOK →

An effective guide to learning how to build a large-scale distributed application using the wide range of functionalities in Gin Key FeaturesExplore the commonly used functionalities of Gin to build web applicationsBecome well-versed with rendering HTML templates with the Gin engineSolve commonly occurring challenges such as scaling, caching, and deploymentBook Description Gin is a high-performance HTTP web framework used to build web applications and microservices in Go. This book is designed to teach you the ins and outs of the Gin framework with the help of practical examples. You'll start by exploring the basics of the Gin framework, before progressing to build a real-world RESTful API. Along the way, you'll learn how to write custom middleware and understand the routing mechanism, as well as how to bind user data and validate incoming HTTP requests. The book also demonstrates how to store and retrieve data at scale with a NoSQL database such as MongoDB, and how to implement a caching layer with Redis. Next, you'll understand how to secure and test your API endpoints with authentication protocols such as OAuth 2 and JWT. Later chapters will guide you through rendering HTML templates on the server-side and building a frontend application with the React web framework to consume API responses. Finally, you'll deploy your application on Amazon Web Services (AWS) and learn how to automate the deployment process with a continuous integration/continuous delivery (CI/CD) pipeline. By the end of this Gin book, you will be able to design, build, and deploy a production-ready distributed application from scratch using the Gin framework. What you will learnBuild a production-ready REST API with the Gin frameworkScale web applications with event-driven architectureUse NoSQL databases for data persistenceSet up authentication middleware with JWT and Auth0Deploy a Gin-based RESTful API on AWS with Docker and KubernetesImplement a CI/CD workflow for Gin web appsWho this book is for This book is for Go developers who are comfortable with the Go language and seeking to learn REST API design and development with the Gin framework. Beginner-level knowledge of the Go programming language is required to make the most of this book.

DevOps for Serverless Applications

DevOps for Serverless Applications PDF

Author: Shashikant Bangera

Publisher: Packt Publishing Ltd

Published: 2018-09-29

Total Pages: 257

ISBN-13: 1788625668

DOWNLOAD EBOOK →

Set up complete CI and CD pipelines for your serverless applications using DevOps principles Key FeaturesUnderstand various services for designing serverless architecture Build CD pipelines using various cloud providers for your serverless applications Implement DevOps best practices when building serverless applicationsBook Description Serverless applications are becoming very popular among developers and are generating a buzz in the tech market. Many organizations struggle with the effective implementation of DevOps with serverless applications. DevOps for Serverless Applications takes you through different DevOps-related scenarios to give you a solid foundation in serverless deployment. You will start by understanding the concepts of serverless architecture and development, and why they are important. Then, you will get to grips with the DevOps ideology and gain an understanding of how it fits into the Serverless Framework. You'll cover deployment framework building and deployment with CI and CD pipelines for serverless applications. You will also explore log management and issue reporting in the serverless environment. In the concluding chapters, you will learn important security tips and best practices for secure pipeline management. By the end of this book, you will be in a position to effectively build a complete CI and CD delivery pipeline with log management for serverless applications. What you will learnExplore serverless fundamentals and effectively combine them with DevOpsSet up CI and CD with AWS Lambda and other popular Serverless service providers with the help of the Serverless FrameworkPerform monitoring and logging with serverless applicationsSet up a dynamic dashboard for different service providersDiscover best practices for applying DevOps to serverless architectureUnderstand use cases for different serverless architecturesWho this book is for DevOps for Serverless Applications is for DevOps engineers, architects, or anyone interested in understanding the DevOps ideology in the serverless world. You will learn to use DevOps with serverless and apply continuous integration, continuous delivery, testing, logging, and monitoring with serverless.

Hands-On Full Stack Development with Go

Hands-On Full Stack Development with Go PDF

Author: Mina Andrawos

Publisher: Packt Publishing Ltd

Published: 2019-03-28

Total Pages: 309

ISBN-13: 1789138655

DOWNLOAD EBOOK →

Create a real-world application in Go and explore various frameworks and methodologies for full-stack development Key FeaturesBuild a responsive front end by using the powerful React frameworkBuild web APIs and middleware in the Go language by making use of the popular Gin frameworkBuild an Isomorphic Go React application via GopherJSPerform unit tests, and benchmarking on your web APIBook Description The Go programming language has been rapidly adopted by developers for building web applications. With its impressive performance and ease of development, Go enjoys the support of a wide variety of open source frameworks, for building scalable and high-performant web services and apps. Hands-On Full Stack Development with Go is a comprehensive guide that covers all aspects of full stack development with Go. This clearly written, example-rich book begins with a practical exposure to Go development and moves on to build a frontend with the popular React framework. From there, you will build RESTful web APIs utilizing the Gin framework. After that, we will dive deeper into important software backend concepts, such as connecting to the database via an ORM, designing routes for your services, securing your services, and even charging credit cards via the popular Stripe API. We will also cover how to test, and benchmark your applications efficiently in a production environment. In the concluding chapters, we will cover isomorphic developments in pure Go by learning about GopherJS. As you progress through the book, you'll gradually build a musical instrument online store application from scratch. By the end of the book, you will be confident in taking on full stack web applications in Go. What you will learnUnderstand Go programming by building a real-world applicationLearn the React framework to develop a frontend for your applicationUnderstand isomorphic web development utilizing the GopherJS frameworkExplore methods to write RESTful web APIs in Go using the Gin frameworkLearn practical topics such as ORM layers, secure communications, and Stripe's APILearn methods to benchmark and test web APIs in GoWho this book is for Hands-On Full Stack Development with Go will appeal to developers who are looking to start building amazing full stack web applications in Go. Basic knowhow of Go language and JavaScript is expected. The book targets web developers who are looking to move to the Go language.