Hi,
I created an instance of Jaspersoft Reporting and Analytics for AWS, cloud formation S3 template:
https://s3.amazonaws.com/jrs-install-us-east-1/jrs-create-hourly.template
On installing and using the instance I found that I was unable to connect to the data source I needed since the JRS install was not part of a VPC. So I looked up the syntax to add "VPCId" to the template:
"Resources": {
"JRSecurityGroup" : {
"Type" : "AWS::EC2::SecurityGroup",
"Properties" : {
"GroupDescription" : "for Jaspersoft BI v5.6.1" ,
"SecurityGroupIngress" : [
{ "IpProtocol" : "tcp", "FromPort" : "80", "ToPort" : "80", "CidrIp" : "value"},
{ "IpProtocol" : "tcp", "FromPort" : "22", "ToPort" : "22", "CidrIp" : "value"}
],
"VpcId" : "value"
}
},
"JRSEC2Instance": {
"Type": "AWS::EC2::Instance",
"Version": "5.6-2014-09-26",
"Properties": {
"ImageId": {"Fn::FindInMap" : [ "AWSRegionAMI", { "Ref" : "AWS::Region" }, "64" ]},
"InstanceType": { "Ref" : "InstanceType" },
"KeyName" : { "Ref" : "KeyName" },
"Monitoring": "false",
"DisableApiTermination": "false",
"SecurityGroups": [{ "Ref": "JRSecurityGroup"}],
"IamInstanceProfile": { "Ref": "JRSInstanceProfile" }
}
},
The "value" is our true value but I've put text for security reasons.
When creating the stack the following items are created sucessfully:
AWS::EC2::SecurityGroup
AWS::EC2::Role
AWS::EC2::Policy
The creation of AWS::EC2::Instance Profile errors out with the following "The following resource(s) failed to create [JRSEC2Instance]. The Security group "value" does not exist.
In checking though the Security Group is created sucessfully and can be accessed in AWS, it has also sucessfully joined the VPC.
I'm thinking the AWS::EC2::Instance json file will need to be edited to account for addition into a VPC.
Has anyone else came across similar whilst trying to set up AWS Jaspersoft?
Thank you.
1 Answer:
Posted on May 12, 2015 at 9:49am
If you need to launch JasperServer for AWS inside a VPC; you need to use the VPC templates we have in our JasperServer For AWS Launch Page look at the tab above the templates.
Those Cloudformation template you are using is for launching outside a VPC.