Jaspersoft on AWS - template edit


I created an instance of Jaspersoft Reporting and Analytics for AWS, cloud formation S3 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:
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.


karmatoburn's picture
Joined: Jan 13 2015 - 7:14am
Last seen: 8 years 8 months ago

1 Answer:

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.

marianol's picture
Joined: Sep 13 2011 - 8:04am
Last seen: 4 years 12 months ago