Beginning Kubernetes on the Google Cloud Platform

Beginning Kubernetes on the Google Cloud Platform
Author: Ernesto Garbarino
Publisher: Apress
Total Pages: 331
Release: 2019-11-28
Genre: Computers
ISBN: 1484254910

Use this beginner’s guide to understand and work with Kubernetes on the Google Cloud Platform and go from single monolithic Pods (the smallest unit deployed and managed by Kubernetes) all the way up to distributed, fault-tolerant stateful backing stores. You need only a familiarity with Linux, Bash, and Python to successfully use this book. Proficiency in Docker or cloud technology is not required. You will follow a learn-by-doing approach, running small experiments and observing the effects. Google open sourced Kubernetes in 2015 and now it is the industry standard in container orchestration. It has been adopted by all leading vendors of cloud, on-prem, and hybrid infrastructure services: Microsoft (Azure AKS), Amazon (AWS EKS), IBM (IBM Cloud Kubernetes Services), Alibaba Cloud (ACK), RedHat (OpenShift), and Pivotal (PKS). Even though Kubernetes is offered by all of the market-leading cloud providers, the Google Cloud Platform (GCP) offers an integrated shell (Google Cloud Shell) and a $300 credit to get started, which makes it the ideal platform to not only learn Kubernetes but also to implement final production workloads. What You Will Learn Set up a Kubernetes cluster in GCPDeploy simple Docker images using monolithic PodsArrange highly available and highly scalable applications using DeploymentsAchieve zero-downtime deployments using the Service controllerExternalize configuration using ConfigMaps and SecretsSet up batch processes and recurrent tasks using Jobs and CronJobsInstall horizontal (sidecar pattern) services using DaemonSetsImplement distributed, stateful backing stores using StatefulSets Who This Book Is For Beginners with basic Linux admin and scripting skills (Bash and Python). Proficiency with Docker is not required as all examples in the book use off-the-shelf public images from Docker Hub.

Beginning Kubernetes on the Google Cloud Platform

Beginning Kubernetes on the Google Cloud Platform
Author: Ernesto Garbarino
Publisher: Apress
Total Pages: 331
Release: 2019-11-28
Genre: Computers
ISBN: 1484254910

Use this beginner’s guide to understand and work with Kubernetes on the Google Cloud Platform and go from single monolithic Pods (the smallest unit deployed and managed by Kubernetes) all the way up to distributed, fault-tolerant stateful backing stores. You need only a familiarity with Linux, Bash, and Python to successfully use this book. Proficiency in Docker or cloud technology is not required. You will follow a learn-by-doing approach, running small experiments and observing the effects. Google open sourced Kubernetes in 2015 and now it is the industry standard in container orchestration. It has been adopted by all leading vendors of cloud, on-prem, and hybrid infrastructure services: Microsoft (Azure AKS), Amazon (AWS EKS), IBM (IBM Cloud Kubernetes Services), Alibaba Cloud (ACK), RedHat (OpenShift), and Pivotal (PKS). Even though Kubernetes is offered by all of the market-leading cloud providers, the Google Cloud Platform (GCP) offers an integrated shell (Google Cloud Shell) and a $300 credit to get started, which makes it the ideal platform to not only learn Kubernetes but also to implement final production workloads. What You Will Learn Set up a Kubernetes cluster in GCPDeploy simple Docker images using monolithic PodsArrange highly available and highly scalable applications using DeploymentsAchieve zero-downtime deployments using the Service controllerExternalize configuration using ConfigMaps and SecretsSet up batch processes and recurrent tasks using Jobs and CronJobsInstall horizontal (sidecar pattern) services using DaemonSetsImplement distributed, stateful backing stores using StatefulSets Who This Book Is For Beginners with basic Linux admin and scripting skills (Bash and Python). Proficiency with Docker is not required as all examples in the book use off-the-shelf public images from Docker Hub.

Python and Terraform Infrastructure as code, standards and practices

Python and Terraform Infrastructure as code, standards and practices
Author:
Publisher: jideon francisco marques
Total Pages: 448
Release: 2024-02-23
Genre: Computers
ISBN:

How this book is organized: A roadmap I organized this book into three sections with 13 chapters. Part 1 introduces IaC and how you, as an individual, write it. • Chapter 1 defines IaC and its benefits and principles. The chapter explains that the book has examples in Python, run by HashiCorp Terraform, and deployed to Google Cloud Platform (GCP). I also discuss the tools and use cases you’ll encounter in your IaC journey. • Chapter 2 dives into the principle of immutability and how you can migrate existing infrastructure resources to IaC. It also covers the practices of writing clean IaC. • Chapter 3 offers a few patterns for dividing and grouping infrastructure resources into modules. Each pattern includes an example and a list of use cases. • Chapter 4 covers how to manage dependencies among infrastructure resources and modules and decouple them with dependency injection and some common patterns. Part 2 describes how to write and collaborate on IaC as a team. • Chapter 5 organizes the practices and considerations for expressing IaC in different repository structures and sharing it across your team. • Chapter 6 provides an infrastructure testing strategy. It describes each type of test and how to write them for IaC. • Chapter 7 applies continuous delivery to IaC. It covers a high-level view of branching models and how your team can use them to change infrastructure. • Chapter 8 provides techniques to build secure and compliant IaC, including testing and tagging. Part 3 covers how to manage IaC across your company. • Chapter 9 applies immutability to infrastructure changes, including an example for blue-green deployments. • Chapter 10 refactors a large body of IaC to improve its maintainability and mitigate the blast radius of failed changes to one codebase. • Chapter 11 describes reverting IaC and rolling forward changes to the system. • Chapter 12 addresses the use of IaC to manage cloud computing costs. It includes an example for cost estimation of IaC. • Chapter 13 completes the book with practices to manage and update IaC tools. You will find that many concepts build on each other throughout the book, and it may help to read the chapters in order if you have not previously practiced IaC. Otherwise, you can choose the sections that best apply to the challenges you face in your IaC practice.

Effortless Cloud-Native App Development Using Skaffold

Effortless Cloud-Native App Development Using Skaffold
Author: Ashish Choudhary
Publisher: Packt Publishing Ltd
Total Pages: 272
Release: 2021-10-15
Genre: Computers
ISBN: 1801076952

A practical guide to solving inner development loop problems in cloud-native applications by automating build, push, and deploy boilerplate using Skaffold Key FeaturesLearn how to build and deploy cloud-native applications quickly with KubernetesCreate a production-ready continuous integration and continuous delivery (CI/CD) pipeline for cloud-native appsDiscover ways to create a GitOps-style CD workflow for cloud-native applicationsBook Description Kubernetes has become the de facto standard for container orchestration, drastically improving how we deploy and manage cloud-native apps. Although it has simplified the lives of support professionals, we cannot say the same for developers who need to be equipped with better tools to increase productivity. An automated workflow that solves a wide variety of problems that every developer faces can make all the difference! Enter Skaffold – a command-line tool that automates the build, push, and deploy steps for Kubernetes applications. This book is divided into three parts, starting with common challenges encountered by developers in building apps with Kubernetes. The second part covers Skaffold features, its architecture, supported container image builders, and more. In the last part, you'll focus on practical implementation, learning how to deploy Spring Boot apps to cloud platforms such as Google Cloud Platform (GCP) using Skaffold. You'll also create CI/CD pipelines for your cloud-native apps with Skaffold. Although the examples covered in this book are written in Java and Spring Boot, the techniques can be applied to apps built using other technologies too. By the end of this Skaffold book, you'll develop skills that will help accelerate your inner development loop and be able to build and deploy your apps to the Kubernetes cluster with Skaffold. What you will learnOvercome challenges faced while working in an inner development loop using SkaffoldAccelerate your development workflow using SkaffoldUnderstand Skaffold's architecture, internal working, and supported CLI commandsBuild and deploy containers to Kubernetes using the Skaffold CLI and Cloud CodeDeploy Spring Boot applications to fully managed Kubernetes services such as Google Kubernetes Engine using SkaffoldExplore best practices for developing an app with SkaffoldAvoid common pitfalls when developing cloud-native apps with Skaffold in KubernetesWho this book is for Cloud-native application developers, software engineers working with Kubernetes, and DevOps professionals who are looking for a solution to simplify and improve their software development life cycle will find this book useful. Beginner-level knowledge of Docker, Kubernetes, and the container ecosystem is required to get started with this book.

Implementing DevSecOps with Docker and Kubernetes

Implementing DevSecOps with Docker and Kubernetes
Author: José Manuel Ortega Candel
Publisher: BPB Publications
Total Pages: 394
Release: 2022-02-19
Genre: Antiques & Collectibles
ISBN: 9355511183

Building and securely deploying container-based applications with Docker and Kubernetes using open source tools. KEY FEATURES ● Real-world examples of vulnerability analysis in Docker containers. ● Includes recommended practices for Kubernetes and Docker with real execution of commands. ● Includes essential monitoring tools for Docker containers and Kubernetes configuration. DESCRIPTION This book discusses many strategies that can be used by developers to improve their DevSecOps and container security skills. It is intended for those who are active in software development. After reading this book, readers will discover how Docker and Kubernetes work from a security perspective. The book begins with a discussion of the DevSecOps tools ecosystem, the primary container platforms and orchestration tools that you can use to manage the lifespan and security of your apps. Among other things, this book discusses best practices for constructing Docker images, discovering vulnerabilities, and better security. The book addresses how to examine container secrets and networking. Backed with examples, the book demonstrates how to manage and monitor container-based systems, including monitoring and administration in Docker. In the final section, the book explains Kubernetes' architecture and the critical security threats inherent in its components. Towards the end, it demonstrates how to utilize Prometheus and Grafana to oversee observability and monitoring in Kubernetes management. WHAT YOU WILL LEARN ● Familiarize yourself with Docker as a platform for container deployment. ● Learn how Docker can control the security of images and containers. ● Discover how to safeguard and monitor your Docker environment for vulnerabilities. ● Explore the Kubernetes architecture and best practices for securing your Kubernetes environment. ● Learn and explore tools for monitoring and administering Docker containers. ● Learn and explore tools for observing and monitoring Kubernetes environments. WHO THIS BOOK IS FOR This book is intended for DevOps teams, cloud engineers, and cloud developers who wish to obtain practical knowledge of DevSecOps, containerization, and orchestration systems like Docker and Kubernetes. Knowing the fundamentals of Docker and Kubernetes would be beneficial but not required. TABLE OF CONTENTS 1. Getting Started with DevSecOps 2. Container Platforms 3. Managing Containers and Docker Images 4. Getting Started with Docker Security 5. Docker Host Security 6. Docker Images Security 7. Auditing and Analyzing Vulnerabilities in Docker Containers 8. Managing Docker Secrets and Networking 9. Docker Container Monitoring 10. Docker Container Administration 11. Kubernetes Architecture 12. Kubernetes Security 13. Auditing and Analyzing Vulnerabilities in Kubernetes 14. Observability and Monitoring in Kubernetes

Continuous Delivery with Docker and Jenkins

Continuous Delivery with Docker and Jenkins
Author: Rafał Leszko
Publisher: Packt Publishing Ltd
Total Pages: 336
Release: 2019-05-31
Genre: Computers
ISBN: 1838553088

Create a complete Continuous Delivery process using modern DevOps tools such as Docker, Kubernetes, Jenkins, Docker Hub, Ansible, GitHub and many more. Key FeaturesBuild reliable and secure applications using Docker containers.Create a highly available environment to scale a Docker servers using KubernetesImplement advance continuous delivery process by parallelizing the pipeline tasksBook Description Continuous Delivery with Docker and Jenkins, Second Edition will explain the advantages of combining Jenkins and Docker to improve the continuous integration and delivery process of an app development. It will start with setting up a Docker server and configuring Jenkins on it. It will then provide steps to build applications on Docker files and integrate them with Jenkins using continuous delivery processes such as continuous integration, automated acceptance testing, and configuration management. Moving on, you will learn how to ensure quick application deployment with Docker containers along with scaling Jenkins using Kubernetes. Next, you will get to know how to deploy applications using Docker images and testing them with Jenkins. Towards the end, the book will touch base with missing parts of the CD pipeline, which are the environments and infrastructure, application versioning, and nonfunctional testing. By the end of the book, you will be enhancing the DevOps workflow by integrating the functionalities of Docker and Jenkins. What you will learnGet to grips with docker fundamentals and how to dockerize an application for the CD processLearn how to use Jenkins on the Cloud environmentsScale a pool of Docker servers using KubernetesCreate multi-container applications using Docker ComposeWrite acceptance tests using Cucumber and run them in the Docker ecosystem using JenkinsPublish a built Docker image to a Docker Registry and deploy cycles of Jenkins pipelines using community best practicesWho this book is for The book targets DevOps engineers, system administrators, docker professionals or any stakeholders who would like to explore the power of working with Docker and Jenkins together. No prior knowledge of DevOps is required for this book.

Professional Cloud Architect Google Cloud Certification Guide

Professional Cloud Architect Google Cloud Certification Guide
Author: Konrad Clapa
Publisher: Packt Publishing Ltd
Total Pages: 664
Release: 2021-12-23
Genre: Computers
ISBN: 1801811415

Become a Professional Cloud Architect by exploring the essential concepts, tools, and services in GCP and working through practice tests designed to help you take the exam confidently Key FeaturesPlan and design a GCP cloud solution architectureEnsure the security and reliability of your cloud solutions and operationsAssess your knowledge by taking mock tests with up-to-date exam questionsBook Description Google Cloud Platform (GCP) is one of the industry leaders thanks to its array of services that can be leveraged by organizations to bring the best out of their infrastructure. This book is a comprehensive guide for learning methods to effectively utilize GCP services and help you become acquainted with the topics required to pass Google's Professional Cloud Architect certification exam. Following the Professional Cloud Architect's official exam syllabus, you'll first be introduced to the GCP. The book then covers the core services that GCP offers, such as computing and storage, and takes you through effective methods of scaling and automating your cloud infrastructure. As you progress through the chapters, you'll get to grips with containers and services and discover best practices related to the design and process. This revised second edition features new topics such as Cloud Run, Anthos, Data Fusion, Composer, and Data Catalog. By the end of this book, you'll have gained the knowledge required to take and pass the Google Cloud Certification – Professional Cloud Architect exam and become an expert in GCP services. What you will learnUnderstand the benefits of being a Google Certified Professional Cloud ArchitectFind out how to enroll for the Professional Cloud Architect examMaster the compute options in GCPExplore security and networking options in GCPGet to grips with managing and monitoring your workloads in GCPUnderstand storage, big data, and machine learning servicesBecome familiar with exam scenarios and passing strategiesWho this book is for If you are a cloud architect, cloud engineer, administrator, or any IT professional looking to learn how to implement Google Cloud services in your organization and become a GCP Certified Professional Cloud Architect, this book is for you. Basic knowledge of server infrastructure, including Linux and Windows Servers, is assumed. A solid understanding of network and storage will help you to make the most out of this book.

Building Google Cloud Platform Solutions

Building Google Cloud Platform Solutions
Author: Ted Hunter
Publisher: Packt Publishing Ltd
Total Pages: 763
Release: 2019-03-26
Genre: Computers
ISBN: 1838648704

Build cost-effective and robust cloud solutions with Google Cloud Platform (GCP) using these simple and practical recipes Key FeaturesExplore the various service offerings of the GCPHost a Python application on Google Compute EngineSecurely maintain application states with Cloud Storage, Datastore, and BigtableBook Description GCP is a cloud computing platform with a wide range of products and services that enable you to build and deploy cloud-hosted applications. This Learning Path will guide you in using GCP and designing, deploying, and managing applications on Google Cloud. You will get started by learning how to use App Engine to access Google's scalable hosting and build software that runs on this framework. With the help of Google Compute Engine, you’ll be able to host your workload on virtual machine instances. The later chapters will help you to explore ways to implement authentication and security, Cloud APIs, and command-line and deployment management. As you hone your skills, you’ll understand how to integrate your new applications with various data solutions on GCP, including Cloud SQL, Bigtable, and Cloud Storage. Following this, the book will teach you how to streamline your workflow with tools, including Source Repositories, Container Builder, and Stackdriver. You'll also understand how to deploy and debug services with IntelliJ, implement continuous delivery pipelines, and configure robust monitoring and alerts for your production systems. By the end of this Learning Path, you'll be well versed with GCP’s development tools and be able to develop, deploy, and manage highly scalable and reliable applications. This Learning Path includes content from the following Packt products: Google Cloud Platform for Developers Ted Hunter and Steven PorterGoogle Cloud Platform Cookbook by Legorie Rajan PSWhat you will learnHost an application using Google Cloud FunctionsMigrate a MySQL database to Cloud SpannerConfigure a network for a highly available application on GCPLearn simple image processing using Storage and Cloud FunctionsAutomate security checks using Policy ScannerDeploy and run services on App Engine and Container EngineMinimize downtime and mitigate issues with Stackdriver Monitoring and DebuggerIntegrate with big data solutions, including BigQuery, Dataflow, and Pub/SubWho this book is for This Learning Path is for IT professionals, engineers, and developers who want to implement Google Cloud in their organizations. Administrators and architects planning to make their organization more efficient with Google Cloud will also find this Learning Path useful. Basic understanding of GCP and its services is a must.

The Kubernetes Bible

The Kubernetes Bible
Author: Nassim Kebbani
Publisher: Packt Publishing Ltd
Total Pages: 680
Release: 2022-02-24
Genre: Computers
ISBN: 1838829458

Get up and running with Kubernetes 1.19 and simplify the way you build, deploy, and maintain scalable distributed systems Key FeaturesDesign and deploy large clusters on various cloud platformsExplore containerized application deployment, debugging, and recovery with the latest Kubernetes version 1.19Become well-versed with advanced Kubernetes topics such as traffic routing or Pod autoscaling and schedulingBook Description With its broad adoption across various industries, Kubernetes is helping engineers with the orchestration and automation of container deployments on a large scale, making it the leading container orchestration system and the most popular choice for running containerized applications. This Kubernetes book starts with an introduction to Kubernetes and containerization, covering the setup of your local development environment and the roles of the most important Kubernetes components. Along with covering the core concepts necessary to make the most of your infrastructure, this book will also help you get acquainted with the fundamentals of Kubernetes. As you advance, you'll learn how to manage Kubernetes clusters on cloud platforms, such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP), and develop and deploy real-world applications in Kubernetes using practical examples. Additionally, you'll get to grips with managing microservices along with best practices. By the end of this book, you'll be equipped with battle-tested knowledge of advanced Kubernetes topics, such as scheduling of Pods and managing incoming traffic to the cluster, and be ready to work with Kubernetes on cloud platforms. What you will learnManage containerized applications with KubernetesUnderstand Kubernetes architecture and the responsibilities of each componentSet up Kubernetes on Amazon Elastic Kubernetes Service, Google Kubernetes Engine, and Microsoft Azure Kubernetes ServiceDeploy cloud applications such as Prometheus and Elasticsearch using Helm chartsDiscover advanced techniques for Pod scheduling and auto-scaling the clusterUnderstand possible approaches to traffic routing in KubernetesWho this book is for This book is for software developers and DevOps engineers looking to understand how to work with Kubernetes for orchestrating containerized applications and services in the cloud. Prior experience with designing software running in operating system containers, as well as a general background in DevOps best practices, will be helpful. Basic knowledge of Kubernetes, Docker, and leading cloud service providers assist with grasping the concepts covered easily.

Google Cloud Platform Administration

Google Cloud Platform Administration
Author: Ranjit Singh Thakurratan
Publisher: Packt Publishing Ltd
Total Pages: 224
Release: 2018-09-29
Genre: Computers
ISBN: 1788626605

Make the most of GCP’s offerings to manage your data center workload and optimize deployments Key FeaturesDiscover new techniques to administer, manage, and deploy applications on GCPUnderstand effective solutions for storing, retrieving, and deploying your container imagesExplore various offerings of GCP for operations and security Book Description On-premise data centers are costly to manage. If you need a data center but don’t want to deal with a physical one, Google Cloud Platform (GCP) is the solution. With GCP, you can build, test, and deploy applications on Google’s infrastructure. Google Cloud Platform Administration begins with GCP fundamentals, with the help of which you will deploy your first app and gain an understanding of Google Cloud architecture and services. Furthermore, you will learn how to manage Compute, networking, and storage resources. As you make your way through the book, you will learn how to track and manage GCP’s usage, monitoring, and billing access control. You will also be able to manage your GCP's access and permissions. In the concluding chapters, you will explore a list of different developer tools for managing and interacting with the GCP platform. By the end of this book, you will have learned how to effectively deploy workloads on GCP. What you will learnUnderstand all GCP Compute componentsDeploy and manage multiple GCP storage optionsManage and utilize the networking resources offered by GCPExplore the functionalities and features of the GCP Container Understand the workings of GCP operations such as monitoring and error reporting Discover an immune GCP using its identity and security optionsWho this book is for Google Cloud Platform Administration is for administrators, cloud architects, and engineers who want to leverage the upcoming Google Cloud Platform. Some basic understanding of cloud computing will be useful.