Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

vSRX type selection in AWS CloudFormation automation environment



Article ID: KB35823 KB Last Updated: 22 May 2020Version: 1.0

AWS (Amazon Web Services) is a commonly used public cloud platform in the market. It serves as an automation tool CloudFormation which allows the usage of programming languages or a simple text file to model and provision, in an automated and secure manner. This article describes a typical failure in vSRX stack creation when an undesirable AMI (Amazon Machine Image) type is chosen in the automation template and how to fix it.

We assume vSRX Next Generation Firewall AMI has already been subscribed via AWS Marketplace. Verify your subscription as the following web page indicates:


When creating a vSRX stack via AWS CloudFormation, first specify a template location. Then provide user specified configuration fields such as Stack name, etc. The following screen capture shows vSRX instance is set as c5n.2xlarge. Note instance type is not case sensitive.


After stack creation is initiated, monitor the creation process via event logs. Note that an error occurred, which caused the stack creation to fail.