Analyze and visualize software architecture in CAST Imaging
Created by Arpita Sinha (Cast Software) and James Hurrell (Cast Software)
Environment: Production | Technologies: Modernization | Workload: All other workloads |
Summary
This pattern shows how you can use CAST Imaging to navigate a complex software system visually and perform a precise analysis of the software structure. By using CAST Imaging in this way, you can make more informed decisions about your application’s architecture, especially for modernization purposes.
To view your application’s architecture in CAST Imaging, you must first onboard your application’s source code through the CAST Console. The console then publishes your application’s data to CAST Imaging, where you can visualize and navigate your application architecture layer by layer.
Prerequisites and limitations
Prerequisites
An active AWS account
An Amazon Elastic Compute Cloud (Amazon EC2) instance that includes the following (a memory optimized r5.xlarge Amazon EC2 instance is recommended):
4 vCPU
32 GB RAM
500 GB minimum General Purpose solid state drive (SSD) (gp3) volume
CAST Console and CAST Imaging license keys (to get the required license keys, contact CAST at aws.contact-me@castsoftware.com
) The complete source code of the application that you want to analyze in compressed (.zip) format
Microsoft Edge, Mozilla Firefox, or Google Chrome
Architecture
The following diagram shows an example workflow for onboarding an application’s source code through the CAST Console and then viewing it in CAST Imaging:
The diagram shows the following workflow:
CAST generates application source code metadata by reverse-engineering front-end, middleware, and back-end code.
The application data that is generated by CAST is automatically imported into CAST Imaging, where it can be visualized and analyzed.
Here’s a snapshot of how this process works:
Tools
CAST Imaging
is a browser-based application that helps you view and navigate your software system visually, so you can make informed decisions about its architecture. CAST Console
is a browser-based application that helps you configure, run, and manage CAST AIP analyses.
Note: CAST Imaging and CAST Console are included in the AMI for CAST Imaging.
Epics
Task | Description | Skills required |
---|---|---|
Run the initial CAST Console configuration. |
| Software architects, Developers, Technical leaders |
Run the initial CAST Imaging configuration. |
| Software architects, Developers, Technical leaders |
Configure CAST Extend local server. | (Optional) By default, CAST Extend local server is configured to function in offline mode. If this is acceptable, no additional configuration is necessary. However, if you prefer to configure CAST Extend local server in online/proxy mode with a direct connection to CAST Extend, follow these steps. Note: For CAST Extend credentials, see the CAST Extend registration page
| Software architects, Developers, Technical leaders |
Task | Description | Skills required |
---|---|---|
Prepare the source code for your application. | Save your application’s source code in a single, compressed .zip file. | Software architects, Developers, Technical leaders |
Add your application to the CAST Console. |
| Software architects, Developers, Technical leaders |
Open the source code delivery wizard. | Find the application that you created in the CAST Console. Then, choose Add version. | Software architects, Developers, Technical leaders |
Upload the source code for your application. | Do one of the following:
| Software architects, Developers, Technical leaders |
Start the analysis process. |
Note: Choosing Proceed starts the analysis process for the source code. The progress window in the CAST Console shows each step of the analysis process, and displays a notification when the analysis is complete. | Software architects, Developers, Technical leaders |
Task | Description | Skills required |
---|---|---|
Check status and logs. | When all analysis actions are complete, verify that there’s a success message in the progress window. Note: You can check the individual logs for each analysis action immediately after it’s completed. To review the logs for a specific action, choose View log in the Progress window. | Software architects, Developers, Technical leaders |
Check the application details. | In the Application details panel | Software architects, Developers, Technical leaders |
Verify and access CAST Imaging. |
Note: The Imaging processed status means that the source code has been analyzed and uploaded to your CAST Imaging instance. | Software architects, Developers, Technical leaders |
Task | Description | Skills required |
---|---|---|
Log in to CAST Imaging. | Open Cast Imaging and enter the default admin credentials (admin/admin). Your application’s data appears. | Software architects, Developers, Technical leaders |
Explore your application’s data in CAST Imaging. | Start viewing your software architecture by using CAST Imaging features. For a quick tutorial on how to use CAST Imaging’s features, choose the Help icon to display the CAST Imaging Helper. For more information, see the CAST Imaging User Guide | Software architects, Developers, Technical leaders |
Related resources
CAST Console documentation
CAST Imaging documentation
More resources on CAST Imaging on AWS
Application Modernization to AWS Accelerated by CAST – Technical
(AWS PartnerCast webinar, requires free account) Using CAST and AWS Migration Hub Refactor Spaces to Modernize Legacy Applications
(AWS blog post) Modernize Applications to AWS Architectures with CAST Imaging
(AWS workshop)