{"id":27328923,"url":"https://github.com/thatdevopsguy/cloudlamp","last_synced_at":"2025-07-10T18:35:09.209Z","repository":{"id":79825289,"uuid":"146027441","full_name":"ThatDevopsGuy/cloudlamp","owner":"ThatDevopsGuy","description":"A modern Cloud solution for a LAMP stack, on Kubernetes","archived":false,"fork":false,"pushed_at":"2018-08-24T18:41:14.000Z","size":14,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T12:18:14.801Z","etag":null,"topics":["gcp","gke","kubernetes","lamp","terraform"],"latest_commit_sha":null,"homepage":"https://www.cloudlamp.org/","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThatDevopsGuy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-08-24T18:38:55.000Z","updated_at":"2021-09-15T20:15:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a543c401-6b2b-4224-9f2e-72f3ec503c45","html_url":"https://github.com/ThatDevopsGuy/cloudlamp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThatDevopsGuy/cloudlamp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatDevopsGuy%2Fcloudlamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatDevopsGuy%2Fcloudlamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatDevopsGuy%2Fcloudlamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatDevopsGuy%2Fcloudlamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatDevopsGuy","download_url":"https://codeload.github.com/ThatDevopsGuy/cloudlamp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatDevopsGuy%2Fcloudlamp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264631212,"owners_count":23640941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gcp","gke","kubernetes","lamp","terraform"],"created_at":"2025-04-12T12:17:59.925Z","updated_at":"2025-07-10T18:35:09.203Z","avatar_url":"https://github.com/ThatDevopsGuy.png","language":"HCL","readme":"# Cloud LAMP\n\n\u003cimg src=\"https://storage.googleapis.com/cloudlamp-assets/cloudlamp.jpg\" width=\"500\"\u003e\n\nThis project aims to provide a modern cloud-based implementation of the [LAMP](https://en.wikipedia.org/wiki/LAMP) stack (Linux, Apache, MySQL and PHP). In particular, it implements the following improvements over a traditional monolithic LAMP deployment:\n\n  - Containerize the frontend and app layers in order to leverage consistent environments via immutable infrastructure.\n  - Leverage a managed cloud-based container orchestration service in order to eliminate operations overhead and provide seamless elastic, on-demand scalability.\n  - Leverage managed and distributed cloud database and storage backends, in order to eliminate operations overhead, increase resilience and availablity, and provide elastic, on-demand scalabliity.\n  - Fully automate the infrastructure deployment leveraging Infrastructure-as-Code technology.\n\n## Components\n\nFollowing on the design principles/goals stated above, below are the implementation details for each components in each solution\n\n### Common\n| Component | Implementation detail | Current version |\n| ------ | ------ | ------ |\n| Infrastructure deployment | Terraform | GCP, Kubernetes providers\n| Container orchestration | Google Kubernetes Engine | v1.8.8\n| Database backend | Google Cloud SQL | MySQL 5.6\n| Storage backend (NFS option) | NFS | NFS on GCE VM\n\n### Drupal\n| Component | Implementation detail | Current version |\n| ------ | ------ | ------ |\n| Frontend + App  | Drupal docker container | Bitnami v8.3.7r0\n\n### Wordpress\n| Component | Implementation detail | Current version |\n| ------ | ------ | ------ |\n| Frontend + App  | Wordpress docker container | Wordpress v4.9.7\n\n## Usage\n### Pre-requisites\n#### tl;dr\nIf you've got `gcloud` working, and a few variables set, you should be golden.\n\n#### Create a GCP project and enable billing\nWe recommended that you create a separate GCP project for this deployment. It is possible to use an existing project but that may cause unknown issues due to unexpected existing conditions.\n\nYou can create a new project from the Google Cloud console following [these instructions](https://cloud.google.com/resource-manager/docs/creating-managing-projects).\n\nYou can enable billing on your project in the Google Cloud console following [these instructions](https://cloud.google.com/billing/docs/how-to/modify-project).\n\n#### Clone the repo, configure and deploy\nClone the deployment:\n```sh\ngit clone http://gitlab.com/cloudlamp/cloudlamp\n```\nChange directory to the desired version, for example:\n```sh\ncd cloudlamp/wordpress\n```\nDeploy!\n```sh\n./preflight.sh\nterraform apply\n```\n##### Access Wordpress\nOnce deployment is completed (usually after a few minutes), deployment results similar to these are displayed:\n```sh\nlb_ip = \u003csome IP\u003e\n```\nThe service is available at the \"lb_ip\" in the output above. Alternatively, you can check this IP in the \"Services\" tab of Kubernetes Enginer in the Google Cloud Console.\n\n## Contributing\n\nPRs and issue reports are very welcome!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatdevopsguy%2Fcloudlamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatdevopsguy%2Fcloudlamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatdevopsguy%2Fcloudlamp/lists"}