An organization is planning to use AWS for their production roll out. The organization wants to implement
automation for deployment such that it will automatically create a LAMP stack, download the latest PHP
installable from S3 and setup the ELB. Which of the below mentioned AWS services meets the quirement for
making an orderly deployment of the software?
A.
AWS Elastic Beanstalk
B.
AWS Cloudfront
C.
AWS Cloudformation
D.
AWS DevOps
Explanation:
AWS Cloudformation is an application management tool which provides application modelling, deployment,
configuration, management and related activities. Cloudformation provides an easy way to create and delete
the collection of related AWS resources and provision them in an orderly way. AWS CloudFormation
automates and simplifies the task of repeatedly and predictably creating groups of related resources that
power the user’s applications. AWS Cloudfront is a CDN; Elastic Beanstalk does quite a few of the required
tasks. However, it is a PAAS which uses a ready AMI. AWS Elastic Beanstalk provides an environment to easily
develop and run applications in the cloud.
C.
AWS Cloudformation
C
Cloud Formation also can include bash script to initiate setup.
http://serverfault.com/questions/691452/aws-cloudformation-templates-and-a-bash-init-script
c
c
C
C
why not Elastic beanstack (A) ?
A – Beanstalk is meant for exactly this.
Cloud Formation can do a lot more, but the need here is simply LAMP stack
Beanstalk will not download and install latest php from s3.
Answer A
Launch lamp stack with Elastic Beanstalk
https://aws.amazon.com/getting-started/projects/launch-lamp-web-app/