November 2015
Intermediate to advanced
194 pages
4h 16m
English
You can deploy your applications on EC2 instances using AWS CloudFormation. In this AWS CloudFormation template, for example, we will install an Apache server and deploy code to it. We also create EIP, SecurityGroup, and EC2 resources. Image ID, instance type, VPC ID, subnet ID, a name for the instance, and key/pair names are required parameters to run this recipe. As this is a public facing web application, use the public subnet in your VPC.
Follow the steps to install an Apache server and deploy some code to it:
apachewebserverdeployment.json) with the following content:{ "AWSTemplateFormatVersion" : "2010-09-09", "Description" : "AWS ...