Provision VPC and EC2 Instance (AWS) - JSON Form
  • 18 Oct 2024
  • Dark
    Light
  • PDF

Provision VPC and EC2 Instance (AWS) - JSON Form

  • Dark
    Light
  • PDF

Article summary


Now that you’ve seen the Pre-Built workflow we’ll be using, let’s take a look at the form we will be using for our use-case today.  This form is how users will submit the information needed when running our VPC and EC2 Provisioning automation.

JSON Form Video

Step 1

From the Itential Automation Platform Dashboard in the left navigation panel.

Step 2

Click JSON Forms on the left to expand the menu and select Provision VPC and EC2 Instance-AWS Form.

Step 3

Click the Preview button.

Step 4

Complete the form using the following example:

  • In the EC2 section: 
    • Select Apache Web Server for the image
    • Select any size in the Size dropdown
    • For the Region, select US-East-1
  •  In the VPC section: 
    • Set any VPC name, for example Workshop VPC-XX
    • Enter any Subnet IP, for example 10.20.30.0
    • Set any Subnet CIDR Mask, for example 28
  •  In the Security Group section: 
    • Click +Row and then enter the following values.  
    • For the Source IP, enter your IP address. If you do not know your IP address, you can google “what is my ip”  
    • Set the Source CIDR Mask to 32, and the Protocol to TCP.  For the Port enter 80 

Step 5

Click the Show Form Data button.

We know that users will be submitting data using our form, but when doing so, the values are not sent to the workflow individually; they are sent in as a single variable called formData.  To handle this, we will need to transform the data.  To do that, we will use an existing transformation, similar to the exercise we did a moment ago.



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.