Watch webinar on-demand: www.nginx.com/resources/webinars/google-cloud-platform-nginx-kubernetes
Moving to the cloud and transitioning to containerized deployments are top of mind for many enterprises as they build applications to meet quickly increasing user demands. The cloud offers the flexibility, scalability, reliability, and security that enterprise applications demand, and by moving services, and all their dependencies, to containers, developers and engineers win the flexibility and freedom to easily scale and secure their applications.
Over the past few years a number of tools have emerged to make it easier than ever to run applications in the cloud and manage rapidly growing numbers of containers. Kubernetes and NGINX are two of the leading tools used in the cloud, and they are commonly used together to quickly and easily deploy and scale applications.
Join us in this webinar co-hosted by Sandeep Dinesh, Developer Advocate, of Google’s Cloud Platform team, and Floyd Smith of NGINX to learn:
How to use NGINX for internal and external load balancing of applications on Google Compute Engine.
Benefits of using container orchestration systems like Kubernetes.
How to load balance Kubernetes services with NGINX Plus on Google Container Engine.
6. The Monolithic Architecture
• To scale, you must scale the entire
monolith
• All services are written in the same
language using the same framework
• Changing one service means rebuilding,
retesting, and redeploying the entire
monolith
• Multiple changes at once – argh!
• Release cycles tend to be long
6
9. The Microservices Architecture
• Enables continuous delivery, rapid
deployment, and elasticity
• You can scale each service independently
• Services can be written in different
languages using different frameworks
• Each service can be changed, tested, and
built independently
• Release cycles can be dramatically
shortened
9
10. MORE INFORMATION AT NGINX.COM
Features:
• Load Balancing for HTTP, TCP & UDP
• Session Persistence
• SSL and HTTP/2 Termination
• Bandwidth Management
• Content-Based Routing
• Request Manipulation
• Response Rewriting
• Authentication
• Web Serving
• Video Delivery
• Mail Proxy
• GeoLocation
NGINX Plus
10
11. NGINX Plus with Microservices
• Fit together naturally and are easily
integrated with container
environments and DevOps tools
• Run NGINX Plus inside or outside
the microservices environment
• NGINX Plus provides a single, stable
entry point while containers are
deployed and destroyed behind it
11
16. HA NGINX Plus with GCP
• Create a highly available
architecture using Google
Cloud Platform Network
Load Balancers.
• Configure 2 NGINX Plus load
balancers and load balance
them with Google’s Network
Load Balancers
16
24. @googlecloudGoogle Cloud Platform ‹#›Google Cloud Platform ‹#›
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer
Tools Mobile
Management
25. @googlecloudGoogle Cloud Platform ‹#›Google Cloud Platform ‹#›
Google Cloud Platform
Compute
Connectivity
Big Data
Storage
Developer
Tools Mobile
Management
28. 28
Cloud Launcher: Setup in 3 steps
1. Click Launch on Google Cloud in Cloud Launcher
2. Select your Cloud project & create a new VM instance
3. Click Create to launch your VM
30. What is Kubernetes?
Greek for “Helmsman”; also the root of
the word “Governor”
• Container orchestrator
• Runs containers
• Supports multiple cloud and bare-metal
environments
• Inspired and informed by Google’s
experiences and internal systems
• Open source, written in Go
• kubernetes.io
Manage applications, not machines
31. Group of containers
Live and die together
Shared network interface
Shared volumes
Unique Routable IP
Pod
App
Log Collector
Pods
...
32. Replica Set
Replicas → 2
Pod
frontend
Pod
App
Log Collector
...
type = Frontend
version = 1.0
Pod
App
Log Collector
...
type = Frontend
version = 1.0
Deployments
33. Replica Set
Replicas → 2
Pod
frontend
Pod
type = Frontend
version = 1.0
Pod
type = Frontend
version = 1.0
Services
Service
Label selectors:
version = 1.0
type = Frontend
38. Google Cloud Platform 3838
Resources - Google
● NGINX+ on Cloud Launcher: bit.ly/nginx-launcher
● NGINX load balancing k8s blog post: bit.ly/load-balancing-k8s
● Kubernetes Docs: kubernetes.io
● GCP Podcast: gcppodcast.com
Bonus: look inside a Google data center! cloud.google.com/360tour
39. Results
39
Blog:
• Refactoring a Monolith into Microservices (#7 in 7-part series)
• Deploying NGINX and NGINX Plus with Docker
• Make your Containers Production-Ready - O’Reilly ebook
nginxinc/kubernetes-ingress - Ingress controllers for NGINX on Github
Load Balancing Kubernetes Services with NGINX Plus - N+ for Layer 7
load balancing with Kubernetes
Webinars:
• Building Applications With Microservices and Docker
• NGINX & Docker: Ask Me Anything
• Bringing Kubernetes to the Edge with NGINX Plus
Resources - NGINX