Jump to content
We've recently updated our Privacy Statement, available here ×

Recommended Posts

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.
 

 

Link to comment
Share on other sites

  • 3 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...