My Account Log in

2 options

Cloud native Python : practical techniques to build apps that dynamically scale to handle any volume of data, traffic, or users / Manish Sethi.

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Sethi, Manish, author.
Language:
English
Subjects (All):
Python (Computer program language).
Web site development.
Physical Description:
1 online resource (1 volume) : illustrations
Edition:
1st edition
Place of Publication:
Birmingham, England ; Mumbai, [India] : Packt Publishing, 2017.
System Details:
text file
Summary:
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 ...
Contents:
Cover
Copyright
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Table of Contents
Preface
Chapter 1: 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 Python for OS X
Getting familiar with the GitHub and Git commands
Summary
Chapter 2: 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.
Chapter 3: 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
Chapter 4: 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
Chapter 5: 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
Chapter 6: Creating UIs to Scale with Flux
Understanding Flux
Flux concepts
Adding dates to UI
Building user interfaces with Flux
Actions and dispatcher
Stores
Chapter 7: 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
Chapter 8: 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
Chapter 9: 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
Chapter 10: 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
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
Chapter 11: 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
Implementation of the Continuous Deployment pipeline
Chapter 12: 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
Chapter 13: 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
Index.
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed August 16, 2017).
OCLC:
1000155583

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account