CodeIgniter Forums
Setup With Serverless and AWS - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Setup With Serverless and AWS (/showthread.php?tid=85915)



Setup With Serverless and AWS - rmartin93 - 12-20-2022

Hi,
Does anybody have a good resource to use for setting up Codeigniter with Serverless?
We would love to host our site on AWS, but we don't want to manage the servers / setup our resources on AWS manually.
It would be great if we could do all of that through a YAML file using the Serverless Framework, but we're not sure where to start.
The main things we're trying to get setup are a website with a connection to a MySQL database, all hosted on AWS.
We found this, but it only shows how to setup an API, which is not what we want: https://michalsn.dev/posts/serverless-codeigniter-4/
If anybody has any resources or tips it would be greatly appreciated.


RE: Setup With Serverless and AWS - captain-sensible - 12-21-2022

you don't have to use MySQl as a database, Sqlite is a "serverless" database and its basically just a file, that can go in "writable" directory of CI4. that should make things more simple