AWS OpsWorks for Puppet Enterprise installation

Posted: November 2, 2018 in Amazon Web Services (AWS), puppet

OpsWorks for Puppet Enterprise runs Puppet enterprise server in AWS

In AWS console select OpsWorks-Go to OpsWorks for Puppet Enterprise

 

5

 

Create Puppet Enterprise Server

 

6.PNG

 

Specify server name,region and instance size

 

7.PNG

 

Specify EC2 Key pair,Puppet git control repository and private key.

For direction how to create GitHub SSH connection see this post.

 

8.PNG

 

Specify VPC,Subnet,Security Group,System maintenance time and choose if you want to enable automatic backup of AWS Puppet instance

 

9.png

 

During installation download credentials and starter kit.Credentials will be used to authenticate to puppet when accessing via web console

 

10.PNG

Web access:

https://puppet instance ip

Use credentials downloaded in previous step

 

11

 

Installing Windows agent

First allow unauthenticated CA (to solve “access denied” issue when sending certification requests)
In Puppet console click on Classification-Expand PE Infrastructure-PE Master

 

2

 

 

Click on configuration,under Class: puppet_enterprise::profile::master add allow_unauthenticated_ca and set it to true

 

3.png

 

Windows agent is located at Puppet Enterprise server: /opt/puppetlabs/server/data/[ackages/public/<puppet version>/windows-x86_64-<puppet version>/puppet-agent-x64/msi

Transfer that file to Windows node,

Open CMD as administrator and run

 

puppet-agent-x64.msi /qn PUPPET_MASTER_SERVER=my-puppet.opsworks-cm.io PUPPET_AGENT_CERTNAME=wind.example.com
Go to Puppet Enterprise console-Unsigned certs and sign certificate
1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s