In my last article we decoupled Laravel and got it ready for deployment to the Elastic Beanstalk architecture. However, before we race ahead to actually deploying our code to Elastic Beanstalk we need to do some preparation first. Specifically we need to set up some other AWS services that will be used by our Laravel app. These include:
- Virtual Private Cloud (VPC) to keep our infrastructure secure
- Relational Database Service (RDS) for our MySQL database
- ElastiCache for our Redis cache
With these “supporting” services up and running we can finally move on to deploying our Laravel app to Elastic Beanstalk.
Every two weeks I send out a newsletter containing lots of interesting stuff for the modern PHP developer. You can expect quick tips, links to interesting tutorials, opinions and packages. Want to learn the cool stuff? Then sign up now!