This document describes an automated and highly available deployment of a PHP forum application called myBB on AWS using CloudFormation. The infrastructure includes a multi-AZ cluster of auto-scaling web servers behind an ELB, a multi-AZ RDS database, and all resources are deployed within a dedicated VPC. The deployment is designed to be fully configurable, scripted, and provide automated provisioning, updates, deletion and status checks through the command line. Monitoring of all resources is also enabled through CloudWatch.
1 of 5
More Related Content
Using AWS CloudFormation for AWS Multi-AZ VPC Deployment
2. Requirements
≒ Deploy
myBB
(A
PHP
and
mySQL
based
forum
applica*on)
in
AWS
≒ Use
CloudForma*on
and
AWS
≒ Need
HA
≒ Need
Con鍖gurable
Deployment
≒ Need
Automated
Deployment
≒ Need
Scalability
3. What
is
Designed
Infrastructure
≒ Mul*-足instance
cluster
of
Web
Servers
≒ Mul*-足AZ
is
used
to
op*mize
for
HA
across
zone
faliure
≒ Dedicated
VPC
is
used.
Default
VPC
is
not
used.
≒ RDS
Supported
DB
is
used
AWS
Managed
scaling
&
availability
≒ Auto-足scaling
group
to
scale
web
servers
4. Mul*-足AZ
Private
VPC
Design
ELB
public-足
subnet
DB
security
group
public-足
subnet
webserver
webserver
RDS
VPC
security
group
Autoscaling
group
RDS
us-足west-足1a
us-足west-足1b
Dedicated
VPC
5. What
is
Designed
Deployment
Design
≒ Scripted
Deployment
≒ Complete
support
update,
delete,
create
&
status
check
from
CLI
≒ Con鍖gurable
Template
Based
Deployment
≒ WebServers
Connect
successfully
RDS
(Automated
through
deployment)
≒ ELBs
Connect
successful
to
instances
(Automated
through
deployment)
≒ Cloudwatch
monitoring
enabled
resources