Answers: <p>You can indeed use IP address in the "certname" directive of puppet.conf file.</p>
  
  <p>In addition, you can create a private hosted zone in AWS Route53 that is called for example lab.local and then create an A record for your puppet server such as for example puppetmaster.lab.local and then use this address in the certname directive.</p>
  
  <p>Opening a hosted zone in Route 53 doesn't cost much... around 0.50$ per month for your first 25 zones.</p>
  
  <p>The full Route53 pricing can be found <a href="https://aws.amazon.com/route53/pricing/" rel="nofollow noreferrer">here</a>.</p>
  
Answers: CC BY-SA 4.0
Answers: 2019-12-12T08:23:00.830Z
Answers: 2019-12-12T08:23:00.830Z
Answers: Itai Ganot
Body: <p>Im very new to puppet but know in /etc/puppetlabs/puppet/puppet.conf I can set cert name to a url form following linux accadamy vidios but can you also set it to a private ip address.
  Im trying to set up a puppet server and agent on my personal aws account replicateing what i did on my linux accadamy lab servers on ec2s except im trying to get it working with amozon ec2s rather than ubuntu 18.04.</p>
  
  <p>I don't have a url set up for my ec2s as that costs extra can I use the ec2s private ip addresses rather than a url?</p>
  
Tags: <puppet>
Title: Can use a private IP address as the puppet certname?
UserDisplayName: doug
ThreadText: # Can use a private IP address as the puppet certname?
  
  (Asked by: username_0 on 2019-12-11)
  
  Im very new to puppet but know in /etc/puppetlabs/puppet/puppet.conf I can set cert name to a url form following linux accadamy vidios but can you also set it to a private ip address.
  Im trying to set up a puppet server and agent on my personal aws account replicateing what i did on my linux accadamy lab servers on ec2s except im trying to get it working with amozon ec2s rather than ubuntu 18.04.
  
  I don't have a url set up for my ec2s as that costs extra can I use the ec2s private ip addresses rather than a url?
  
  **Tags:** puppet
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-12-12. Score: 1 | Accepted answer
  
  You can indeed use IP address in the "certname" directive of puppet.conf file.
  
  In addition, you can create a private hosted zone in AWS Route53 that is called for example lab.local and then create an A record for your puppet server such as for example puppetmaster.lab.local and then use this address in the certname directive.
  
  Opening a hosted zone in Route 53 doesn't cost much... around 0.50$ per month for your first 25 zones.
  
  The full Route53 pricing can be found [here](https://aws.amazon.com/route53/pricing/).
  
  
  ---
  
  