万本电子书0元读

万本电子书0元读

顶部广告

Cloud Native Python电子书

售       价:¥

20人正在读 | 0人评论 9.8

作       者:Manish Sethi

出  版  社:Packt Publishing

出版时间:2017-07-21

字       数:30.7万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build cloud native applications in Python About This Book ? This is the only reliable resource that showcases the tools and techniques you need build robust and resilient cloud native applications in Python ? Learn how to architect your application on both, the AWS and Azure clouds for high availability ? Assess, monitor, and troubleshoot your applications in the cloud Who This Book Is For This book is ideal for developers with a basic knowledge of Python who want to learn to build, test, and scale their Python-based applications. No prior experience of writing microservices in Python is required. What You Will Learn ? Get to know “the way of the cloud”, including why developing good cloud software is fundamentally about mindset and discipline ? Know what microservices are and how to design them ? Create reactive applications in the cloud with third-party messaging providers ? Build massive-scale, user-friendly GUIs with React and Flux ? Secure cloud-based web applications: the do’s, don’ts, and options ? Plan cloud apps that support continuous delivery and deployment In Detail Businesses today are evolving so rapidly that having their own infrastructure to support their expansion is not feasible. As a result, they have been resorting to the elasticity of the cloud to provide a platform to build and deploy their highly scalable applications. This book will be the one stop for you to learn all about building cloud-native architectures in Python. It will begin by introducing you to cloud-native architecture and will help break it down for you. Then you’ll learn how to build microservices in Python using REST APIs in an event driven approach and you will build the web layer. Next, you’ll learn about Interacting data services and building Web views with React, after which we will take a detailed look at application security and performance. Then, you’ll also learn how to Dockerize your services. And finally, you’ll learn how to deploy the application on the AWS and Azure platforms. We will end the book by discussing some concepts and techniques around troubleshooting problems that might occur with your applications after you’ve deployed them. This book will teach you how to craft applications that are built as small standard units, using all the proven best practices and avoiding the usual traps. It's a practical book: we're going to build everything using Python 3 and its amazing tooling ecosystem. The book will take you on a journey, the destination of which, is the creation of a complete Python application based on microservices over the cloud platform Style and approach Filled with examples, this book takes a step-by-step approach to teach you each and every configuration you need to make your application highly available and fault tolerant.
目录展开

Title Page

Cloud Native Python

Copyright

Cloud Native Python

Credits

Foreword

About the Author

About the Reviewers

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

Introducing Cloud Native Architecture and Microservices

Introduction to cloud computing

Software as a Service

Platform as a Service

Infrastructure as a Service

The cloud native concepts

Cloud native - what it means and why it matters?

The cloud native runtimes

Cloud native architecture

Are microservices a new concept?

Why is Python the best choice for cloud native microservices development?

Readability

Libraries and community

Interactive mode

Scalable

Understanding the twelve-factor app

Setting up the Python environment

Installing Git

Installing Git on Debian-based distribution Linux (such as Ubuntu)

Seting up Git on a Debian-based distribution

Installing Git on Windows

Using Chocolatey

Installing Git on Mac

Installing the command-line tools for OS X

Installing Git for OS X

Installing and configuring Python

Installing Python on a Debian-based distribution (such as Ubuntu)

Using the APT package management tools

Using source code

Installing Python on Windows

Installing Python on Mac

Installing the command-line tools for OS X

Installing Python for OS X

Getting familiar with the GitHub and Git commands

Summary

Building Microservices in Python

Python concepts

Modules

Functions

Modeling microservices

Building microservices

Building resource user methods

GET /api/v1/users

GET /api/v1/users/[user_id]

POST /api/v1/users

DELETE /api/v1/users

PUT /api/v1/users

Building resource tweets methods

GET /api/v2/tweets

POST /api/v2/tweets

GET /api/v2/tweets/[id]

Testing the RESTful API

Unit testing

Summary

Building a Web Application in Python

Getting started with applications

Creating application users

Working with Observables and AJAX

Binding data for the adduser template

Creating tweets from users

Working on Observables with AJAX for the addtweet template

Data binding for the addtweet template

CORS - Cross-Origin Resource Sharing

Session management

Cookies

Summary

Interacting Data Services

MongoDB - How it is advantageous, and why are we using it?

MongoDB terminology

Setting up MongoDB

Initializing the MongoDB database

Integrating microservices with MongoDB

Working with user resources

GET api/v1/users

GET api/v1/users/[user_id]

POST api/v1/users

PUT api/v1/users/[user_id]

DELETE api/v1/users

Working with the tweets resources

GET api/v2/tweets

GET api/v2/tweets/[user_id]

POST api/v2/tweets

Summary

Building WebViews with React

Understanding React

Setting up the React environment

Installing node

Creating package.json

Building webViews with React

Integrating webView with microservices

User authentication

Login user

Sign up user

User profile

Log out users

Testing the React webViews

Jest

Selenium

Summary

Creating UIs to Scale with Flux

Understanding Flux

Flux concepts

Adding dates to UI

Building user interfaces with Flux

Actions and dispatcher

Stores

Summary

Learning Event Sourcing and CQRS

Introduction

Understanding Event Sourcing

Laws of Event Sourcing

Introduction to CQRS

Advantages of the CQRS-ified architecture

Challenges related to ES and CQRS

Overcoming challenges

Problem solving

Explanation of the problem

The solution

Kafka as an eventstore

Applying Event Sourcing with Kafka

How it works

Summary

Securing the Web Application

Network security versus application security

The web application stack

Application - security alternatives in the platform

Transport protocol

Application protocol

Application - security threats in application logic

Web application security alternatives

A word on developing security-enabled web applications

Summary

Continuous Delivery

Evolution of continuous integration and continuous delivery

Understanding SDLC

The Agile software development process

How does the Agile software development process work?

Continuous integration

Jenkins - a continuous integration tool

Installing Jenkins

Prerequisite

Installation on a Debian (Ubuntu)-based system

Configuring Jenkins

Automating Jenkins

Securing Jenkins

Plugins management

Version control systems

Setting up a Jenkins job

Understanding continuous delivery

Need for continuous delivery

Continuous delivery versus continuous deployment

Summary

Dockerizing Your Services

Understanding Docker

Few facts about Docker versus virtualization

Docker Engine - The backbone of Docker

Setting up the Docker environment

Installing Docker on Ubuntu

Installation on Windows

Setting up Docker Swarm

Setting up the Docker environment

Assumption

Initializing the Docker manager

Add node1 to master

Testing the Docker Swarm

Deploying an application on Docker

Building and running our MongoDB Docker service

Docker Hub - what is it all about?

Docker Compose

Summary

Deploying on the AWS Platform

Getting started with Amazon Web Services (AWS)

Building application infrastructure on AWS

Generating authentication keys

Terraform - a tool to build infrastructure as code

Configuring the MongoDB server

Configuring the Elastic Load balancer

CloudFormation - an AWS tool for building infrastructure using code

The VPC stack on AWS

Continuous Deployment for a cloud native application

How it works

Implementation of the Continuous Deployment pipeline

Summary

Implementing on the Azure Platform

Getting started with Microsoft Azure

A few points on Microsoft Azure basics

Architecturing our application infrastructure using Azure

Creating a virtual machine in Azure

CI/CD pipeline using Jenkins with Azure

Summary

Monitoring the Cloud Application

Monitoring on the cloud platform

AWS-based services

CloudWatch

CloudTrail

AWS Config service

Microsoft Azure services

Application Insights

Introduction to ELK stack

Logstash

Elasticsearch

Kibana

Open source monitoring tool

Prometheus

Summary

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部