Rapid Docker on AWS

Continuous Deployment of your Web Application and Infrastructure as Code.

Written for DevOps engineers and web developers who want to run dockerized web applications on AWS. Reader needs access to a Windows, MacOS, or Linux machine. Requires access to an AWS account. Prior knowledge of Docker and AWS is not required.

Rapid Docker on AWS

To the point
To the point: book consists of only 120 pages

Minimal operational effort
Minimal operational effort: makes use of fully managed cloud services

Ready to use
Ready to use: templates for infrastructure and deployment pipeline

What you will learn

  • Running your web application on AWS with Docker: ECS and Fargate.
  • Minimizing downtime with health checks and load balancing: ALB.
  • Scaling your web application requires a scalable database: RDS Aurora Serverless.
  • Minimizing operational effort with managed services.
  • Reducing costs and minimizing paying for idle resources.
  • Dockerizing your web application (PHP, Ruby, Python, Java, and Node.js ...).
  • Monitoring and debugging with CloudWatch.
  • Securing your web application with HTTPS.
  • Leveraging infrastructure as code to automate your stack: AWS CloudFormation.
  • Versioning your source code with Git: AWS CodeCommit.
  • Deploying your source code and infrastructure continuously: AWS CodeBuild.

Choose a Learning Experience

People learn in different ways. Get the eBook with examples if you prefer to learn in self-study. Want to learn together with others? Join us for a 4-week online seminar: it won't let you fall behind.

Rapid Docker on AWS eBook
  • eBook (DRM free PDF, EBUB, MOBI)
  • Examples (Apache License 2.0, packaged into a ZIP file)
  • Constant updates of eBook and examples
  • 4-week author-led online seminar
  • Videos and Screencasts
  • Small learning group (< 20 seats)
  • Weekly Q&A sessions with authors and learning group
  • Private discussion board to interact with your cohort
  • eBook (DRM free PDF, EBUB, MOBI)
  • Examples (Apache License 2.0, packaged into a ZIP file)
  • Constant updates of eBook and examples

About The Book

Rapid Docker on AWS guides you through deploying your web application on a highly available, scalable, and cost-effective container-based infrastructure provided by Amazon Web Services (AWS). You will learn to leverage three important DevOps techniques—Docker, continuous deployment, and infrastructure as code—to automate the process of deploying your Docker containers and infrastructure to AWS when changes are committed to your source code 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, Python, Spring Boot, and Node.js) 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, CodePipeline, CodeBuild, CloudWatch Logs, and ECR.

Table of Contents

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


Which programming languages and frameworks are covered?

We provide examples for typical web applications written in:

  • PHP
  • Ruby on Rails
  • Python Django
  • Java Spring Boot
  • Node.js Express
Do you offer a money-back guarantee?

Of course, we are quite confident that our eBook and Seminar will add tons of value to your day to day work. However, if you are not happy with the eBook or seminar, we will refund your order within the first week.

Where can I find a reading sample from the book?

Want to get a first impression about our writing style? Download an excerpt for free.

How do you implement Infrastructure as Code?

We use AWS CloudFormation. Doing so allows you to create the required cloud infrastructure within minutes. All examples build on our Open Source modules for CloudFormation: cfn-modules.

How do I purchace a corporate license?

If you want to purchase the eBook or Seminar for a group of colleagues we are happy to offer a corporate license. Please, contact us.

Are you offering on-site workshops as well?

Absolutely, we'd be happy to deliver a workshop getting your team up to speed with Docker on AWS. Please, contact us to discuss the details for an on-site workshop.

What does AWS infrastructure costs per month?

The pay-per-use pricing model makes it hard to predict the monthly costs upfront. The minimum configuration costs about $50/month.

More help needed? Or want to share feedback?

If you experience any issues, let us know.

E-mail icon
Marbot Logo

Incident Management for Slack

Team up to solve incidents with our chatbot marbot. Never miss a critical alert. Escalate alerts from your AWS infrastructure among your team members. Strong integrations with all parts of your AWS infrastructure: CloudWatch, Elastic Beanstalk, RDS, EC2, ...

Slack icon
Try for free