Let's run Craft CMS in a high-available AWS infrastructure with Cloudfront, S3, Loadbalancer, Auto Scaling, ElastiCache, RDS and much more.
If you want to run Craft CMS the way the AWS infrastructure enables you to, you'll quickly face some difficulties.
This plugin solves some of the worst challenges running Craft CMS 3 with Cloudfront, ALB and Auto Scaling.
These challenges are:
-Storing and distribution of the control panel resources through a bucket without the use of a shared file system (like EFS for example). -Detection of Cloudfront-Requests and using the included device detection to replace the Craft CMS function isMobileBrowser() (which does not work behind Cloudfront anymore).
Everybody who would like to contribute their experience and know-how is welcome.
- Craft CMS >= 4.0.0
Open your terminal and go to your Craft project:
cd /path/to/project
composer require codemonauts/craft-aws
./craft plugin/install aws
You can also install the plugin via the Plugin Store in the Craft Control Panel.
With ❤ by codemonauts