Adding a Linux EC2 instance to AWS Managed AD

Step-by-step guide

  1. CENTOS (yum):
  2. sudo wget -O /etc/yum.repos.d/pbiso.repo http://repo.pbis.beyondtrust.com/yum/pbiso.repo
  3. sudo yum clean all
  4. sudo yum install pbis-open
  5. UBUNTU(apt):
  6. wget -O - http://repo.pbis.beyondtrust.com/apt/RPM-GPG-KEY-pbis|sudo apt-key add - sudo wget -O /etc/apt/sources.list.d/pbiso.list http://repo.pbis.beyondtrust.com/apt/pbiso.list
  7. sudo apt-get update
  8. sudo apt-get install pbis-open
  9. SystemD
  10. sudo systemctl start lwsmd
  11. sudo systemctl enable lswmd
  12. SysVinit
  13. sudo service lwsmd start
  14. sudo chkconfig lswmd on
  15. ALL:
  16. sudo domainjoin-cli join aria-networks.local Admin
  17. (Enter the password you used when you set up your AWS Managed AD)
  18. sudo /opt/pbis/bin/config AssumeDefaultDomain true
  19. sudo /opt/pbis/bin/config HomeDirTemplate '%H/%U'
  20. sudo /opt/pbis/bin/config LoginShellTemplate '/bin/bash'
  21. Reboot and you’re good to go.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.