{ "AWSTemplateFormatVersion" : "2010-09-09", "Description" : "The BitNami phpBB 3.0.11: phpBB is a popular bulletin board solution. It includes a powerful permission system, private messaging, search functions, a customizable template and language system. It can be customized via hundreds of available style and image packages. For more information, please visit: http://bitnami.com.", "Parameters" : { "BitnamiInstanceType" : { "Default" : "t1.micro", "Type" : "String", "Description" : "The type of EC2 instances" }, "KeyName": { "Description" : "Name of an existing EC2 KeyPair to enable SSH access", "Type": "String", "Default" : "default" }, "BitnamiUser" : { "Default" : "user", "Type" : "String", "Description" : "The BitNami phpBB user login" }, "BitnamiPassword" : { "Default" : "bitnami", "Type" : "String", "Description" : "The BitNami phpBB user password (minimum 6 characters, default value: bitnami )", "NoEcho" : "TRUE" }, "BitnamiEmail" : { "Default" : "user@example.com", "Description" : "The BitNami phpBB user email", "Type" : "String" }, "BitnamiUserName" : { "Default" : "BitNami User", "Description" : "The BitNami phpBB user full name", "Type" : "String" } }, "Resources" : { "BitnamiSecurityGroup" : { "Type" : "AWS::EC2::SecurityGroup", "Properties" : { "GroupDescription" : "Allow HTTP/SSH to BitNami machine.", "SecurityGroupIngress" : [ { "IpProtocol" : "tcp", "FromPort" : "80", "ToPort" : "80", "CidrIp" : "0.0.0.0/0" }, { "IpProtocol" : "tcp", "FromPort" : "443", "ToPort" : "443", "CidrIp" : "0.0.0.0/0" }, { "IpProtocol" : "tcp", "FromPort" : "22", "ToPort" : "22", "CidrIp" : "0.0.0.0/0" } ] } }, "BitnamiServer" : { "Type" : "AWS::EC2::Instance", "Properties" : { "ImageId" : { "Fn::FindInMap": [ "AWSRegionArch2AMI", { "Ref": "AWS::Region" }, { "Fn::FindInMap": [ "AWSInstanceType2Arch", {"Ref": "BitnamiInstanceType" },"Arch" ] } ]}, "KeyName" : {"Ref": "KeyName"}, "SecurityGroups" : [ { "Ref" : "BitnamiSecurityGroup" } ], "UserData" : { "Fn::Base64" : { "Fn::Join" : [ "", [ "#!/bin/sh\n", "cat > /tmp/stack_properties.ini <