The Copenhagen Initiative
The Copenhagen Initiative
The Copenhagen Initiative

Last updated on 2020-07-27

About the Book

6play, the replay and VOD platform of M6 and other RTL Group channels, is hosted in The Cloud! Or rather, depending on when you read this, part of our platform is hosted in The Cloud.

Before 2018, our platform was hosted in a Parisian data center. There, we rented a room, racks, servers, network connections. When a disk broke or to add RAM to a server, a technician would drive to the data center...

In 2018, we started our migration to The Cloud: we switched most of our hosting to AWS. We now use managed services when we can and our applications are often deployed under Kubernetes.

This book tells the story of this migration: how did we transform our hosting? What impact did it have on our projects? How did we organize ourselves? What choices did we make throughout the process? What did we learn, what did we make evolve? And maybe even, one or two years later: what would we do differently if we had to do it all over again?

More than "this is our platform, it's perfect", we will focus on "why" and "how".

The first chapters have already been translated from French to English, you will get them right away when buying the book:

  • Introduction: why this book?
  • Our platform, our project: an overview of our platform and applications, our technical background and our migration project.
  • Discovering the Cloud and Kubernetes: why are we migrating to The Cloud and which provider are we choosing? How do we work with containers and what issues will an orchestrator solve? What was our first migration plan?
  • The Copenhagen Initiative: our YOLO idea to quickly gain experience on an application deployed in production.
  • Our AWS setup: accounts, regions and rights management. Infrastructure as Code with Terraform.
  • Our Kubernetes setup: how do we manage our clusters, with kops, and what additional components do we install to make them fully functional?
  • A first migration: we are finally migrating our first application, with a minimalist deployment chain and a safe approach.

The following chapters have been written, in French, and will be translated soon:

  • The beginning of the problems: with an application in production, we finally encounter a first set of problems and we will present the solutions we have developed.
  • A stabilization phase: what improvements have we made to our hosting, how do we manage monitoring, alerting and logging? In short, how have we evolved towards truly prod-ready hosting?
  • Cloud Native Cloud: what impact does The Cloud (Kubernetes, managed services...) have on our projects and our teams?
  • Migrating other applications: what choices have we made to migrate other more complex applications? What problems did we encounter and how did we solve them?

The last chapters have not been written yet (not even in French). They will be published when I'm done with them, which may be in many months:

  • A second stabilization phase: with almost all our applications deployed in The Cloud, we encountered another set of problems. And we made a lot of improvements to our new hosting!
  • CI, CDs and previews: how does continuous integration work for containers? How do we deploy our applications painlessly?
  • Consumption/cost tracking: the ability to launch any type of instance or service is very nice when we code... But after a while, let's look at the cost of our hosting and the optimizations we have put in place.
  • The development environment: we quickly saw that this point was not going to be simple, because we use managed services and deploy containers to Kubernetes...

The published version of the book will of course be updated, free of charge, when these chapters are added or in case of corrections.

  • Share this book

This book is a translation into English of Le Plan Copenhague which was originally written in français.

About the Author

Pascal MARTIN
Pascal MARTIN

Passionate about development in general and Web and PHP in particular, I am Lead DevOps at Bedrock (ex M6 Web) in Lyon France, where I work on the 6play platform.

I like to share feedback in conferences, I am an AWS Container Hero, I wrote the book "Développer une extension PHP (FR)" and I am co-author of "PHP 7 avancé (FR)". You can also read technical articles on my blog (FR/EN).

You can follow me on @pascal_martin.

Authors have earned$9,196,652writing, publishing and selling on Leanpub,
earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub