DEV Community

Petra Barus for AWS

Posted on • Updated on

Building Modern PHP/Yii2 Application using AWS

PHP has been the most popular programming language in Indonesia. I personally don't think it will change anytime soon. The language itself has been consistently adding a lot of new features these past few years, making programming in PHP safer and more structured. Very different face to the language I picked up in my high school years.

Among all popular PHP frameworks, it is by happenstance that I use Yii Framework as my main PHP framework for my startup. It was still running for 6.5 years when the company got acquired, although some of the components were already scraped and rewritten in other languages for performance and compatibility considerations. It was also happenstance that I chose AWS as my cloud provider for the company, and it was really great choice.

This series will discuss about how to build Modern PHP Yii2 application on AWS. These are some of best practices that I have borrowed from other people and worked well in my experience. With the fast growing number of services that AWS released, I will introduce new ideas that can help more developers using Yii2 to be more productive and agile.

The list below will keep expanding so don't forget to check it out from time to time. If you have any ideas or requests, please drop a comment :)

  1. Deploying Yii2 Application to Amazon ECS and AWS Fargate using AWS CDK

    a. Adding AutoScaling to Amazon ECS with AWS CDK

  2. Building CI/CD Pipeline using AWS CodePipeline, AWS CodeBuild, Amazon ECR, Amazon ECS with AWS CDK

  3. Using Amazon DynamoDB for Session Storage in PHP/Yii2 Application (with AWS CDK)

Top comments (0)