Deploying in AWS using Terraform and S3FS as a Mountpoint #891
Unanswered
ricardoteix
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I utilized this project as a component of an AWS course. It required the creation of a media player portal, and after conducting some research, I came across MediaCMS. Although it wasn't subjected to extensive testing with a large volume of videos or simultaneous users, it served its purpose for a study project.
I currently don't have it up and running since it's no longer needed, but I have the project documentation in a GitHub repository (here), and you can find an image illustrating the AWS services used in this repository or at the end of this post.
Since it was built with Terraform, it's relatively easy to replicate the exact infrastructure I created following the instructions in README.
Certain decisions were made due to the necessity of utilizing AWS infrastructure:
All changes in the repository were made using a shell script (here) from the tag 3.0.0 in git repo (https://github.com/mediacms-io/mediacms).
Since I'm utilizing the Parameter Store for all database credentials and other settings, I needed to adapt the settings.py file to retrieve this information. The Python code changes were as follows:
For every instance where information or credentials from the Parameter Store needed to be utilized, they were replaced in the shell script with something like parameter["rds_addr"], as demonstrated below:
Beta Was this translation helpful? Give feedback.
All reactions