Symfony Deployment


In this series we are going to cover a variety of ways to deploy Symfony applications to the web. The aim here is to cover common Symfony deploy approaches, from beginner-friendly to more real world scenarios.

Before proceeding it should be stated up front that deploying Symfony to production is harder than with other PHP projects. If you have experience with WordPress and their famous 5 minute install then by comparison deploying Symfony is going to be a few notches up on that difficulty scale.

There are a variety of tools and software projects available to help you with Symfony deployment. To begin with we are going to do this "by hand". We will switch to using tools to deploy Symfony once we have a grasp on the basics.

Deploying Symfony is best done to a "dedicated" server. I do not mean a physical server, simply one that is only going to run your Symfony application. Trying to deploy your Symfony site onto a box with a bunch of existing sites already up and running will add to the confusion.

With this in mind we will use Digital Ocean Droplets for our Symfony deployment exercises. You can switch this out for Linode, or Amazon AWS, or whatever. You can even use a local virtual machine, if you are being particularly frugal.

We won't need a large instance - we're going to deploy our Symfony stack to the $10 plan using Ubuntu 16.04.3 x64. This will be more than enough for a basic Symfony deploy with no expected traffic. Use your judgment for your own needs, of course.

Ok, let's get our Symfony deployment underway!

Episodes

Presented By

Christopher Moss

Christopher Moss

Hi, I'm Chris and welcome to CodeReviewVideos.com. In this video you will learn about... :)