codemonauts/craft-aws

Plugin providing components and function to run Craft CMS in a high-available AWS environments.

2.1.4 2023-05-05 08:32 UTC

This package is auto-updated.

Last update: 2024-04-05 10:45:26 UTC


README

Icon

Let's run Craft CMS in a high-available AWS infrastructure with Cloudfront, S3, Loadbalancer, Auto Scaling, ElastiCache, RDS and much more.

Background

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.

Requirements

  • Craft CMS >= 4.0.0

Installation

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