If delivering something to production is difficult from a coding perspective, it is extremely difficult to do it right from an infrastructure perspective. In the later chapters, I will cover how to provision a world-class AWS Elastic Container Service (ECS) infrastructure for your applications, but that won't help if you need to quickly demonstrate an idea. Enter, Zeit Now.
Zeit Now, https://zeit.co/now, is a multi-cloud service that enables real-time global deployments of applications directly from the CLI. Now works with applications that either correctly implement package.json
or a Dockerfile
. Even though we have done both, we will prefer to deploy our Docker image, because a lot more magic is applied behind the scenes to make a package.json
deployment work, whereas your Docker image can be deployed anywhere, including AWS ECS.