Your company has an on-premises multi-tier PHP web application, which recently experienced downtime due to
a large burst In web traffic due to a company announcement Over the coming days, you are expecting similar
announcements to drive similar unpredictable bursts, and are looking to find ways to quickly improve your
infrastructures ability to handle unexpected increases in traffic.
The application currently consists of 2 tiers a web tier which consists of a load balancer and several Linux
Apache web servers as well as a database tier which hosts a Linux server hosting a MySQL database.
Which scenario below will provide full site functionality, while helping to improve the ability of your application in
the short timeframe required?
Failover environment: Create an S3 bucket and configure it for website hosting. Migrate your DNS to
Route53 using zone file import, and leverage Route53 DNS failover to failover to the S3 hosted website.
Hybrid environment: Create an AMI, which can be used to launch web servers in EC2. Create an Auto
Scaling group, which uses the AMI to scale the web tier based on incoming traffic. Leverage Elastic Load
Balancing to balance traffic between on-premises web servers and those hosted In AWS.
Offload traffic from on-premises environment: Setup a CIoudFront distribution, and configure CloudFront to
cache objects from a custom origin. Choose to customize your object cache behavior, and select a TTL that
objects should exist in cache.
Migrate to AWS: Use VM Import/Export to quickly convert an on-premises web server to an AMI. Create an
Auto Scaling group, which uses the imported AMI to scale the web tier based on incoming traffic. Create an
RDS read replica and setup replication between the RDS instance and on-premises MySQL server to
migrate the database.