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 b722fdd commit d83f79c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
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.
**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**
**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**
**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 d83f79c

Please sign in to comment.