Setting up Forge, AWS, and CodeDeploy
Forge has changed the game. Taylor Otwell did an amazing job of making it super easy to put an app online. I want to show you how to use this with AWS and CodeDeploy
. Digital Ocean is an amazing service, but sometimes, you need to use AWS as per the customer requirement, or more importantly, you want to benefit from a lot of the features that it provides.
Second, I want to show CodeDeploy
since it can deploy Artifacts. The killer feature I know is that what is working on Travis CI will work on the server, since I do not need to do another Git pull, composer install, Gulp, and so on. But I am just copying over a zipped artifact of the application in a passing state.
In the steps that follow, we are going to perform the following:
Setting up Forge
Setting up the EC2 with a role that will allow it to work with
CodeDeploy
Setting up the EC2 to work with Forge
Setting up the EC2 to listen for
CodeDeploy
pushesSetting up an S3 to store the Artifacts
Setting up an...