{ "AWSTemplateFormatVersion" : "2010-09-09", "Description" : "The BitNami X2CRM 3.0.2: X2CRM is a sales, marketing and service application designed for companies that require a tightly focused customer information system. An emphasis is placed on sales force speed and process optimization to reduce the amount of time required to enter and update records. 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 X2CRM user login" }, "BitnamiPassword" : { "Default" : "bitnami", "Type" : "String", "Description" : "The BitNami X2CRM user password (minimum 6 characters, default value: bitnami )", "NoEcho" : "TRUE" }, "BitnamiEmail" : { "Default" : "user@example.com", "Description" : "The BitNami X2CRM user email", "Type" : "String" }, "BitnamiUserName" : { "Default" : "BitNami User", "Description" : "The BitNami X2CRM 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 <