Going Cloud Native
With chapters selected by Ian Miell
  • September 2019
  • ISBN 9781617297687
  • 88 pages
Going Cloud Native
With chapters selected by Ian Miell
In an era of lightning-fast change, developers need to be nimble and confident. Every release must be robust and error-free for all target environments. These and other powerful reasons are why cloud native computing is so popular. Cloud native applications are flexible, scalable, quick to deploy, and solve many of the problems related to deployment on multiple environments!
Table of Contents detailed table of contents

Discovering Docker

Discovering Docker

1.1 The what and why of Docker

1.1.1 What is Docker?

1.1.2 What is Docker good for?

1.1.3 Key concepts

1.2 Building a Docker application

1.2.1 Ways to create a new Docker image

1.2.2 Writing a Dockerfile

1.2.3 Building a Docker image

1.2.4 Running a Docker container

1.2.5 Docker layering

Summary

Pods

Pods: running containers in Kubernetes

3.1 Introducing pods

3.1.1 Understanding why we need pods

3.1.2 Understanding pods

3.1.3 Organizing containers across pods properly

3.2 Creating pods from YAML or JSON descriptors

3.2.1 Examining a YAML descriptor of an existing pod

3.2.2 Creating a simple YAML descriptor for a pod

3.2.3 Using kubectl create to create the pod

3.2.4 Viewing application logs

3.2.5 Sending requests to the pod

3.3 Organizing pods with labels

3.3.1 Introducing labels

3.3.2 Specifying labels when creating a pod

3.3.3 Modifying labels of existing pods

3.4 Listing subsets of pods through label selectors

3.4.1 Listing pods using a label selector

3.4.2 Using multiple conditions in a label selector

3.5 Using labels and selectors to constrain pod scheduling

3.5.1 Using labels for categorizing worker nodes

3.5.2 Scheduling pods to specific nodes

3.5.3 Scheduling to one specific node

3.6 Annotating pods

3.6.1 Looking up an object’s annotations

3.6.2 Adding and modifying annotations

3.7 Using namespaces to group resources

3.7.1 Understanding the need for namespaces

3.7.2 Discovering other namespaces and their pods

3.7.3 Creating a namespace

3.7.4 Managing objects in other namespaces

3.7.5 Understanding the isolation provided by namespaces

3.8 Stopping and removing pods

3.8.1 Deleting a pod by name

3.8.2 Deleting pods using label selectors

3.8.3 Deleting pods by deleting the whole namespace

3.8.4 Deleting all pods in a namespace, while keeping the namespace

3.8.5 Deleting (almost) all resources in a namespace

Summary

Building a Serverless Application

Building a Serverless Application

3.1 24-Hour Video

3.1.1 General requirements

3.1.2 Amazon Web Services

3.1.3 Creating your first Lambda function

3.1.4 Naming your Lambda

3.1.5 Testing locally

3.1.6 Deploying to AWS

3.1.7 Connecting S3 to Lambda

3.1.8 Testing in AWS

3.1.9 Looking at logs

3.2 Configuring Simple Notification Service

3.2.1 Connecting SNS to S3

3.2.2 Getting email from SNS

3.2.3 Testing SNS

3.3 Setting video permissions

3.3.1 Creating the second function

3.3.2 Configuring and securing

3.3.3 Testing the second function

3.4 Generating metadata

3.4.1 Creating the third function and FFprobe

3.5 Finishing touches

Exercises

Summary

About the book

Going Cloud Native is a collection of chapters from three Manning books picked by Docker expert Ian Miell. In the first chapter, you’ll explore Docker, the industry standard in container platforms, and go hands-on as you create a running To-Do application. Then, you’ll take a close look at Kubernetes, a container orchestration system, and its basic building blocks, pods, which contain all the necessary resources of an application. Finally, you’ll learn about serverless computing, another cloud native option, in which applications are kept on servers hosted by a third-party service. Using AWS services, including Simple Storage Service, Simple Notification Service, and AWS Elemental MediaConvert, you’ll build a serverless video-sharing website.

As you read, you’ll see how going cloud native sharply decreases overhead when compared with applications hosted on traditional machines. You’ll also appreciate how it empowers developers to be much more productive as they build highly flexible, easily scalable, and more manageable applications. If you’re thinking about going cloud native for your next application or moving your existing applications to the cloud, this guide is a great first step!

What's inside

  • “Discovering Docker” from Docker in Practice, Second Edition by Ian Miell and Aidan Hobson Sayers
  • “Pods” from Kubernetes in Action by Marko Lukša
  • “Building a Serverless Application” from Serverless Architectures on AWS by Peter Sbarski and Ajay Nair

About the author

Ian Miell is a seasoned infrastructure architect working in the UK. Strongly motivated by technical and intellectual challenges, he specializes in software design, performance and architecture, support operations management, low-level technical troubleshooting, and technical recruitment. In his spare time, he actively contributes to open source projects. He’s written several technology-minded publications and is the coauthor of Manning’s Docker in Practice and Docker in Practice, Second Edition.

eBook $0.00 PDF only
Prices displayed in rupees will be charged in USD when you check out.

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks