{"id":13579076,"url":"https://github.com/leoloso/awseb-le-wp-install","last_synced_at":"2025-10-27T20:30:43.457Z","repository":{"id":57013944,"uuid":"200225501","full_name":"leoloso/awseb-le-wp-install","owner":"leoloso","description":"Quickly launch WordPress in a AWS Elastic Beanstalk single instance with Let's Encrypt","archived":false,"fork":false,"pushed_at":"2019-08-02T12:56:13.000Z","size":19,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T11:21:16.616Z","etag":null,"topics":["amazon","aws","beanstalk","bootstrap","eb","elasticbeanstalk","letsencrypt","wordpress","wp"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leoloso.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-02T11:46:54.000Z","updated_at":"2024-05-02T06:55:25.000Z","dependencies_parsed_at":"2022-08-21T14:50:37.156Z","dependency_job_id":null,"html_url":"https://github.com/leoloso/awseb-le-wp-install","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/leoloso/awseb-le-wp-install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2Fawseb-le-wp-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2Fawseb-le-wp-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2Fawseb-le-wp-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2Fawseb-le-wp-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leoloso","download_url":"https://codeload.github.com/leoloso/awseb-le-wp-install/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2Fawseb-le-wp-install/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281336534,"owners_count":26483847,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["amazon","aws","beanstalk","bootstrap","eb","elasticbeanstalk","letsencrypt","wordpress","wp"],"created_at":"2024-08-01T15:01:36.308Z","updated_at":"2025-10-27T20:30:43.181Z","avatar_url":"https://github.com/leoloso.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Install WordPress on an AWS Elastic Beanstalk single instance with Let's Encrypt\n\nBootstrapper to launch WordPress in an AWS Elastic Beanstalk single instance with Let's Encrypt, configurable through environment variables\n\n## Description\n\nThis project is ready to be deployed to Elastic Beanstalk under a single instance, featuring:\n\n- WordPress pre-installed, admin area accessible under `/wp/wp-admin/`\n- HTTPS through [Let's Encrypt](https://letsencrypt.org/)\n- Cronjob to automatically renew the Let's Encrypt certificate\n- All information is set through environment variables\n\n## Usage\n\nVia [Composer](https://getcomposer.org):\n\n```bash\ncomposer create-project leoloso/awseb-le-wp-install\n```\n\nAfter bootstrapping this project, add your own code, and deploy!\n\n## Environment variables\n\nDefine the following environment variables in the Elastic Beanstalk application's configuration (under entry \"Software\"), or using CLI command `eb setenv`:\n\n1. WordPress configuration (`wp-config.php`):\n\n```bash\nDB_NAME={YOUR_SITE_DB_NAME} #eg: database\nDB_USER={YOUR_SITE_DB_USER} #eg: admin\nDB_PASSWORD={YOUR_SITE_DB_PASSWORD} #eg: sADF!kl9diq@#Sjfk\nDB_HOST={YOUR_SITE_DB_HOST} #eg: 127.0.0.1\nSITE_URL_WITHOUT_HTTP={YOUR_SITE_URL_WITHOUT_HTTP} #eg: yourdomain.com\nSITE_URL_WITH_HTTP={YOUR_SITE_URL_WITH_HTTP} #eg: https://yourdomain.com\nSITE_NAME=\"{YOUR_SITE_NAME}\" #eg: \"My awesome website\"\nADMIN_USER={ADMIN_USER} #eg: admin\nADMIN_PASSWORD={ADMIN_PASSWORD} #eg: JKo$@sfjASD00w\nADMIN_EMAIL={ADMIN_EMAIL} #eg: pedro@example.com\n```\n\nTo set the SALT keys there are two alternatives:\n\nI. Set random values through environment variable `SHUFFLE_SALT_KEYS`:\n\n```bash\nSHUFFLE_SALT_KEYS=true\n```\n\nII. Set the corresponding values directly:\n\n```bash\n# Obtain random values from https://api.wordpress.org/secret-key/1.1/salt\nAUTH_KEY={YOUR_AUTH_KEY}\nSECURE_AUTH_KEY={YOUR_SECURE_AUTH_KEY}\nLOGGED_IN_KEY={YOUR_LOGGED_IN_KEY}\nNONCE_KEY={YOUR_NONCE_KEY}\nAUTH_SALT={YOUR_AUTH_SALT}\nSECURE_AUTH_SALT={YOUR_SECURE_AUTH_SALT}\nLOGGED_IN_SALT={YOUR_LOGGED_IN_SALT}\nNONCE_SALT={YOUR_NONCE_SALT}\n```\n\n2. Let's Encrypt configuration:\n\n```bash\nLETSENCRYPT_DOMAIN={YOUR_LETSENCRYPT_DOMAIN} # Domain to register: yourdomain.com\nLETSENCRYPT_EMAIL={YOUR_EMAIL} # eg: pedro@example.com\nLETSENCRYPT_OPTIONS={YOUR_LETSENCRYPT_OPTIONS} # Can be used to pass \"--dry-run\" to avoid re-registering the certificate when launching a new server instance\n```\n\n## Credits\n\nThe Let's Encrypt configuration was mostly taken from [Radek Zajkowski](https://twitter.com/konaorange)'s article [Elastic Beanstalk and Let’s Encrypt](https://medium.com/@konaorange/elastic-beanstalk-and-lets-encrypt-74458f072f0c).\n\nInstalling WordPress through Composer and WP-CLI is based [another project of mine](https://github.com/leoloso/wp-install).\n\n- [Leonardo Losoviz][link-author]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[link-author]: https://github.com/leoloso\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoloso%2Fawseb-le-wp-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoloso%2Fawseb-le-wp-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoloso%2Fawseb-le-wp-install/lists"}