Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
karan6190 authored Jun 19, 2018
1 parent d813e41 commit b722fdd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# WordpressAutoScalable-EFS
This tutorial will walk you through how to setup WordPress High Availability and scable Infra

First of all lets take ebextension folder. Their are bunch of scripts
01-dev.config- This script contains cloud formation stack and creates the Elastic Beanstalk
02-efs-create.config - This script helps in the creation of Elastic File System, just you need to provide the Vpc ID and Subnets where you want to create your EFS.
First of all lets take ebextension folder. Their are bunch of scripts:
> 01-dev.config- This script contains cloud formation stack and creates the Elastic Beanstalk
> 02-efs-create.config - This script helps in the creation of Elastic File System, just you need to provide the Vpc ID and Subnets where you want to create your EFS.
**Note- Make sure your EC2 instance and EFS are in same VPC**

03efs-mount.config - This script helps in creating the mount directory at your created # Elastic FileSystem
> 03efs-mount.config - This script helps in creating the mount directory at your created # Elastic FileSystem
**Note- Make sure your DNS Hostname is enabled for gettinh your EFS FileSystem ID**
**How to check DNS Hostname enabled--> go to your VPC section in which you are designing your Wordpress--> slect your desired VPC --> under the summary Tab just check that both DNS resolution and DNS hostname are set to "yes", if not then go to action and you will find the edit options**

04copywp.config- This script helps to check if Symlink and wp is already installed if not copy it to EFS mount directory
05webmininstall.config- This script installs webmin for those that like a gui to mange instances.
06cronforefs.config- This script creates a cron job to run the EFS mount script every 5 minutes to check to see if EFS is mounted, if WordPress is installed in your EFS share, if not it copies it after 5 minutes and then creates a symlink from the /var/app/current Webroot to the new EFS share web root. It will also check if your symlink is good
> 04copywp.config- This script helps to check if Symlink and wp is already installed if not copy it to EFS mount directory
> 05webmininstall.config- This script installs webmin for those that like a gui to mange instances.
> 06cronforefs.config- This script creates a cron job to run the EFS mount script every 5 minutes to check to see if EFS is mounted, if WordPress is installed in your EFS share, if not it copies it after 5 minutes and then creates a symlink from the /var/app/current Webroot to the new EFS share web root. It will also check if your symlink is good
I have included sample wp.config file also with RDS and Keys values to set them as environment variables, later on modification will be easy, we don't need to ssh every time to changes those values.
> I have included sample wp.config file also with RDS and Keys values to set them as environment variables, later on modification will be easy, we don't need to ssh every time to changes those values.
**Note- For getting keys values:**
> https://api.wordpress.org/secret-key/1.1/salt/

0 comments on commit b722fdd

Please sign in to comment.