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

Provision VPC and EC2 Instance (AWS) - Operations Manager

  • Dark
    Light
  • PDF

Article summary

You’ve built out all the different pieces for our exercise, a workflow with both a child job and a newly-created Transformation, and a JSON form.  Now it’s time to tie it all together and see the results of your work!

Operations Manager Video

Step 1

From the Itential Automation dashboard, select Operations Manager.

Step 2

Operations Manager allows users to control when, how, and with what data a workflow should run. Create a new automation by clicking the + at the top of the left navigation panel.

Step 3

Name the Automation Lab - Provision VPC and EC2 Instance - XX in the Name field. (XX represent your initials). Click Create.

Step 4

From here we will take the various pieces of our automation and link them together.   First, select Provision VPC and EC2 Instance-AWS-XX workflow.

Step 5

We are ready to create a new trigger.  Triggers define how the automation will be kicked off. These include an API endpoint, a scheduled trigger, an event trigger, or a manual trigger. For this exercise we'll use a Manual trigger. 

Click the + Trigger button.

Step 6

Name the Trigger Form Trigger and select the Type of Manual.

Step 7

This automation requires user input, so click into the Form field and select Provision VPC and EC2 Instance-AWS Form.

Step 8

Click Save Changes in the Create Trigger window.

Step 9

The new Trigger appears on the left side of the screen. Click the Save Changes in the Automation Properties window

Step 10

The Automation is ready to test, click Run Manually

Step 11

In the EC2 section of the form, set the following values:

  •  Image:  Apache Web Server
  • Size: (select any size)
  • Region: US-East-1

Step 12

In the VPC section of the form, set the following values:

  • VPC Name: Workshop VPC-XX (XX represents your initials)
  • Subnet IP:  Any Subnet IP
  • Example:  10.20.30.0
  • Subnet CIDR Mask:  Any Subnet CIDR Mask (Example: 28)

Step 13

In the Security Group section, click +Row and then enter the following values:  

  •  Source IP: Enter your IP address

Note:  If you do not know your IP address, you can google “what is my ip”.  This is necessary to allow you to see the webpage hosted by your Apache web server

  • Source CIDR Mask: 32
  • Protocol: TCP
  • Port: 80

Step 14

Click Run Manually. The results will open in a new tab. 

Step 15

Here you can see a visual representation of the workflow and the status of each task. In the Job Details section, the Start Auto Work button is available.  Auto Work allows any manual tasks to be automatically worked without the user locating each manual task individually. Click Start Auto Work.

Step 16

When your VPC and EC2 instances are ready, the Task Details window will open. Click the first link, which will load the webpage hosted by your Apache web server.

Step 17

Return to Operations Manager and copy the VPC ID shown on the second line.   Paste this information into a text editor, such as Notepad, for use in the next section of the training.  Click the second link, which will load the VPC in Configuration Manager.  Click the Load Configuration button to view your VPC configuration.  Once you have reviewed your configuration, return to Operations Manager.

Step 18

After reviewing both links, click Ok. The workflow will continue to the end and all tasks will complete.




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.