The process to configure CPM to work with CloudFormation is a single stream that starts with subscribing to CPM on the Amazon Marketplace and ends with configuring the CPM server.
CPM provides a number of editions all of which support CloudFormation.
An IAM role will automatically be created with minimal permissions and assigned to the CPM instance.
- Go to https://aws.amazon.com/marketplace/pp/B00UIO8514/ref=_ptnr_qsg
- Click Continue to Subscribe.
Click Continue to Configuration.
In the Fulfillment Option drop-down list, select CloudFormation.
Select the relevant Software Version and Region and then click Continue to Launch.
In the Launch this software page, select Launch CloudFormation in the Choose Action list and then click Launch.
The Create stack/Select Template page opens.
Under Choose a template, choose Specify an Amazon S3 template URL. Select an Amazon S3 template URL and click Next. The Specify Details page opens.
Complete the Specify Details and Parameters sections. For Inbound Access CIDR, security groups act as a firewall for associated instances, controlling both inbound and outbound traffic at the instance level. Configuring Inbound Access CIDR allows you to add rules to a security group that enable you to connect to your Linux instance from your IP address using SSH:
If your IPv4 address is 203.0.113.25, specify 203.0.113.25/32 to list this single IPv4 address in CIDR notation. If your company allocates addresses within a range, specify the entire range, such as 203.0.113.0/24.
If you specify 0.0.0.0/0, it will enable all IPv4 addresses to access your instance using SSH.
For further details, refer to “Adding a Rule for Inbound SSH Traffic to a Linux Instance” at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html
Click Next. The Options page opens.
Complete the Options and click Next. The Review page opens.
Select the I acknowledge that AWS CloudFormation might create IAM resources check box. Click Create. The CloudFormation Create Stack Events page opens.
Select the new stack. The Instances page opens.
Select the instance. Copy the Instance ID value shown in the Description tab and click Launch Instance. The CPM Server Configuration page opens.
Continue configuring CPM as in section 2.