{ "AWSTemplateFormatVersion" : "2010-09-09", "Description" : "The BitNami ocPortal 9.0.7: ocPortal is a content management system that supports many types of content, such as galleries, news and newsletters and allows you to integrate rich media and advertising into them. Community features include forums, member blogs, chat rooms, wiki, and content commenting/rating. 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 ocPortal user login" }, "BitnamiPassword" : { "Default" : "bitnami", "Type" : "String", "Description" : "The BitNami ocPortal user password (minimum 6 characters, default value: bitnami )", "NoEcho" : "TRUE" }, "BitnamiEmail" : { "Default" : "user@example.com", "Description" : "The BitNami ocPortal user email", "Type" : "String" }, "BitnamiUserName" : { "Default" : "BitNami User", "Description" : "The BitNami ocPortal 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 <