Jump to content
  • This documentation is an older version of JasperReports IO At-Scale 3.0 User Guide. View the latest documentation.

    This deployment of JasperReports IO At-Scale modules uses the Amazon Elastic Container Registry (AWS ECR) to hold the container images. This section covers the steps for uploading your docker images to AWS ECR.

    warning-icon-ns.png.96f6f64b618fc50db6cd89e594d14255.png

    Before proceeding, make sure you have fully configured your modules and have built the final images, as described in Building Docker Images.

    1. Open the Amazon ECR web console at https://console.aws.amazon.com/ecr/repositories and create one repository for each image you want to upload. Usually, the repositories have the same name as the corresponding modules:
         jrio-manager
         jrio-reporting
         jrio-export
         jrio-rest
         jrio-client (optional)

    After creating each repository, record the URL that is given for accessing it, for example:

    123456789000.dkr.ecr.us-east-1.amazonaws.com/jrio-manager

    2. Starting with the first module, in this case jrio-manager, perform the Docker login to its AWS ECR repository with the following command:

    The login is valid for over an hour, giving you time to perform the following steps. If you are interrupted, you may need to perform the Docker login command again.

    3. Find the Docker ID of that module's image:
    docker images | grep jrio-managerjrio-manager           3.0           57cbe0cd4e9f        2 days ago          320MB[/code]                    
    4. Use that Docker ID and tag it to the corresponding AWS ECR repository with the following command:

    You can give your Docker images a tag such as 1.8.0-redis in this example, but you will need this tag during installation as well.

    5. Push the selected image to the AWS ECR repository with the following command:
    6. Repeat these steps for each of the modules in order to login, tag, and push each image to its corresponding AWS ECR repository.


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...