售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜