Stackery can be used to quickly visualize existing CloudFormation YAML infrastructure-as-code architectures.
Visualizing CloudFormation Architecture Templates in Stackery
1. Create a Stackery account
If you haven't already, sign up for a Stackery account.
Complete or skip through the getting started process (you'll only need to link your Git provider to visualize a template), and click "Get Started" to finish the setup.
2. Add a new stack
The next step is to create a blank stack:
- Navigate to Stacks
- Select Add a Stack in the top right corner
- Select your Git Hosting Provider (follow the prompts to link your accounts if you didn't in the previous step)
- Choose a Stack Name
- Select Create New Repo for the Repo Source
- If using GitHub, for Organization, select the account you want this repository in
- Keep the Repo Name the same as Stack Name
- Select Public for your repository's visibility (Private repositories require a paid GitHub account)
- For Stack Blueprint choose 'Blank'
- Click Add Stack to create your empty stack
3. Paste in your serverless configuration
When you clicked Add Stack in the previous step, you were redirected to an empty canvas in the Visual Editor. Here we'll be using the Template Editor to paste in our existing configuration.
To get you started, you can use the following
template.yaml configuration file from our serverless nodeJS CRUD demo:
Click to copy the above code, and replace the starter configuration code in the Template Editor with it. When you click back to the Visual Editor, you will see a visual representation of each of the cloud resources included in the configuration file.
Examples to get Started
Stackery lets you visualize any valid AWS SAM or Serverless.com template file.
If you're not sure where to get started, or just want to try out Stackery with an existing serverless app, there are several places where you can find examples: