Rapid Docker on AWS: The fastest way to start with Docker on Amazon Web Services

Rapid Docker on AWS: The fastest way to start with Docker on Amazon Web Services Front Cover
1 Reviews
2019-10-13
186 pages

Book Description

About the book

Rapid Docker on AWS guides you through deploying your on a highly available, scalable, and cost-effective container-based infrastructure provided by Amazon (AWS). You will learn to leverage three important techniques—Docker, continuous deployment, and infrastructure as —to automate the process of deploying your Docker containers and infrastructure to AWS when changes are committed to your source repository.

The book introduces an architecture consisting of a load balancer, a container cluster, and a scalable relational database. All used AWS building blocks are fully managed services requiring minimal operational effort. You will learn to scale the whole stack, including the Docker containers, the database, and the load balancer. The architecture minimizes your costs for idle components.

You will learn how to bundle your web application into a Docker image by using a Dockerfile. Furthermore, you'll get access to templates for the cloud infrastructure already defined in code. On top of that, the book ships together with a template for a delivery pipeline, allowing you to deploy your web application as well as the underlying infrastructure after every commit to your source code repository.

The book and templates allow you to dockerize and deploy your web application (PHP, Ruby on Rails, Python , Java Spring Boot, and .js Express) on a production-ready infrastructure within a day. The templates leverage the CloudFormation modules provided by the open-source project cfn-modules.

In summary, you will get to know the following services in this book: ECS, Fargate, ALB, RDS Aurora Serverless, CloudFormation, CodeCommit, CodeBuild, CloudWatch Logs, and ECR.

Table of Contents
  1. Launching the demo infrastructure and application
  2. ntroducing the highly available, scalable, and cost-effective architecture
  3. Benefits of the architecture
  4. Overview of the architecture
  5. Preparing your machine
  6. Dockerizing and spinning up your web application
  7. Getting started with Docker
  8. Building the Docker images for your web application
  9. Testing your web application locally
  10. Pushing your Docker image to the Amazon ECR registry
  11. Launching your web application
  12. Mastering the building blocks of the cloud infrastructure
  13. Managing your stack with infrastructure as code: AWS CloudFormation
  14. Load-balancing requests to your containers: Amazon ALB
  15. Managing and running your containers: ECS and Fargate
  16. Configuring a custom domain name and HTTPS: Route 53 and Certificate Manager
  17. Storing and querying your data: RDS Aurora Serverless
  18. Monitoring and debugging: CloudWatch
  19. Running scheduled jobs (cron) in the background
  20. Deploying your source code and infrastructure continuously
  21. Versioning your source code with Git: AWS CodeCommit
  22. Setting up a deployment pipeline: AWS CodeBuild

About the code

We provide you with Docker examples for different languages and frameworks (PHP, Ruby on Rails, Python Django, Java Spring Boot, and Node.js Express). Those examples help you to dockerize your own web application.

You also get ready to use CloudFormation templates for the infrastructure and deployment pipeline. The CloudFormation templates are based on our healthy open source project cfn-modules.

Book Details

  • Title: Rapid Docker on AWS: The fastest way to start with Docker on Amazon Web Services
  • Author: ,
  • Length: 186 pages
  • Edition: 1
  • Language: English
  • Publication Date: 2019-10-13
  • ISBN-10: B07Z3XJTB9