AWS-CloudFormation WordPress Installation
Step 1: To Create a
Template which is a Json file that serves as a blueprint to specify the
configuration of all the
Demo to create Stack
from Template
Step 1: Login
to AWS console Management -> Click on CloudFormation
The
sample template creates an Amazon EC2 instance and installs WordPress with a
Local MySQL database for storage on it.
The sample WordPress template contains an
input parameter contains an input parameter , Key Name which specifies the Amazon EC2 key Pair for
the Amazon Ec2 instance which is declared in the template.
Need a Valid key Pair before Developer
can use the sample template.
To see your Key pairs, open the
Amazon EC2 console and then click on key Pairs in the navigation pane.
If Developer doesn't have an Amazon
EC2 key pair, create a Key Pair in the same region where you are creating the
stack.
AWS Wordpress template
to create a Stack.
Click
on the AWS Cloudformation icon on the AWS Management Console homepage.->Click
Create a New Stack
The create stack wizard starts name
your stack MyWPTestStack.
For the Source, select select a
sample template
Scroll to the single Instance Samples
section in the drop-down list group, choose the Wordpress Blog option, and then
click next.
2) On Specify
Parameters Page
On the Specify Parameters page, enter
the DBPassword and the DBRoot Password, specify the DBDeveloper Developer name.
And select the name of a Valid Amazon
EC2 key pair from the Key Name dropdown list.
Use CloudFormationSample and In SSH
Location field, the Key pair created in the earlier step.
The rest of the parameters are
automatically populated from the template. Click Next to continue.
Use CloudFormationSample, the key
pair created in the earlier step. The Rest of the parameters are automatically populated
from the template .Click next to continue.
AWS Cloudformation creates the resources that are specified in the
template.
Automatically taken to the AWS Cloudformation
console which shows a list of your stacks.
Your stack's status should be
CREATE_IN_PROGRESS
Developer can see different events
and their status, such as CREATE_IN_PROGRESS or CREATE_COMPLETE.
Click on Parameter Tab to see ,Parameter specify .
Events Tab will provide details of Various Steps Internally Happening for WordPress Blog instaltion
Resources Tab will Indicate various AWS Service being Installed as Part of WordPress Installtion
Templates Tab Defines Template Used by CloudFormation for Wordpress Blog Instaltion.
After AWS CloudFormation sucessfully
creates the stack, the status of the stack changes to create_complete. and Can be Verify by clicking Output Tab
To Complete the Wordpress installation
On the Outputs tab,
click the Value for the WebsiteURL
On the web page
for the Wordpress installation, follow on-screen instruction to complete the Wordpress
Installation.
Provide Input As Admin of WordPress Installtion like username ,Password etc
Once Installation completed ,Admin Screen will Appear And User Ready to use the Blog
For Deleting the Installation,Click on delete Tab at the Top and WordPress Installation would be deleted automatically.
No comments:
Post a Comment