๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Deploying rails with docker, kubernetes and ecs

โœ Scribed by Acuna, Pablo


Publisher
Apress
Year
2016;2017
Tongue
English
Leaves
138
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Learn how to use the power of Docker and Kubernetes to deploy your Rails applications easily and efficiently.
Deploying Rails with Docker, Kubernetes and ECSshows you how to set up the project, push it to DockerHub, manage services and set up an efficient continuous integration environment. Every concept is clearly explained alongside a full Ruby on Rails application deployment. You'll also learn how to deploy via Docker using Amazon EC2 Container Service.

Docker and Kubernetes are increasing in popularity every day, but what if you want to leverage their benefits for your Rails application? This is the quick guide you need.What You Will Learn



Create a Rails API application using Rails 5 and PostgreSQL, and Dockerize it


Write and test templates to run the application with Kubernetes


Create a Kubernetes cluster in Amazon Web Services and run your


Inspect and troubleshoot problems in the cluster


Automatize the the whole deployment process with Jenkins



Who This Book Is For
This book is for anyone who wants to understand how to effectively deploy a Rails application using Docker and Kubernetes. You will need to understand Rails and have basic knowledge of what Docker and Kubernetes are used for.

โœฆ Table of Contents


Contents at a Glance......Page 5
Contents......Page 6
About the Author......Page 9
About the Technical Reviewer......Page 10
Acknowledgments......Page 11
Introduction......Page 12
Creating the Application......Page 14
Dockerizing Rails......Page 16
Setup Container......Page 19
Web Application Container......Page 20
Database Container......Page 21
Build and Run......Page 22
Adding a Rails Resource......Page 27
Log Issues......Page 29
Pushing the App to DockerHub......Page 31
Summary......Page 33
Installing the AWS CLI......Page 34
Configuring the AWS CLI......Page 35
Tips for Using the AWS CLI......Page 36
Summary......Page 38
Kubernetes Architecture......Page 39
Pods......Page 40
Replica Set......Page 41
Volumes......Page 42
Services......Page 44
Deployments......Page 45
PostgreSQL......Page 46
Setup Container......Page 49
Web Application......Page 50
Minikube......Page 52
Running Our Templates with Minikube......Page 53
Launching an AWS Kubernetes Cluster......Page 60
Running the Templates in Production......Page 62
Adding Persistence......Page 70
Updating the Application......Page 76
Automation Scripts......Page 79
Summary......Page 80
Task Definition......Page 81
Service......Page 83
Configuring the ECS-CLI......Page 84
Creating the Cluster Using the Amazon ECS CLI......Page 85
Creating a RDS Resource......Page 87
Creating the Task Definition......Page 93
Creating a Service for Our Application......Page 101
Running Updates to Our Application......Page 106
Summary......Page 110
Chapter 5: Continuous Integration......Page 111
Launching the Instance......Page 112
Installing Dependencies......Page 115
Configuring a Job for Kubernetes......Page 121
Push to Deploy......Page 126
Running the Test Suite......Page 127
Configuring a Job for ECS......Page 132
Running the Test Suite......Page 133
Summary......Page 135
Index......Page 136


๐Ÿ“œ SIMILAR VOLUMES


Deploying Rails with Docker, Kubernetes
โœ Pablo Acuรฑa (auth.) ๐Ÿ“‚ Library ๐Ÿ“… 2016 ๐Ÿ› Apress ๐ŸŒ English

<p>This concise teaches you how to use the power of Docker and Kubernetes to deploy your Rails applications easily and efficiently. Docker and Kubernetes are increasing in popularity every day, but what if you want to leverage their benefits for your Rails application? This is the book you need.<p><

Docker: Up and Running: Build and deploy
โœ Dr. Gabriel Nicolas Schenker ๐Ÿ“‚ Library ๐Ÿ“… 2023 ๐Ÿ› BPB Publications ๐ŸŒ English

A hands-on guide that will help you compose, package, deploy, and manage applications with ease Key Features โ— Get familiar and work with key components of Docker. โ— Learn how to automate CI/CD pipeline using Docker and Jenkins. โ— Uncover the top Docker interview questions to crack your next i

Hands-On Docker for Microservices with P
โœ Jaime Buelta ๐Ÿ“‚ Library ๐Ÿ“… 2019 ๐Ÿ› Packt Publishing ๐ŸŒ English

A step-by-step guide to building microservices using Python and Docker, along with managing and orchestrating them with Kubernetes Key Features โ€ข Learn to use Docker containers to create, operate, and deploy your microservices โ€ข Create workflows to manage independent deployments on coordinating