---
title: Basic Rundeck installation on EC2 Instance and configuration of nodes
description: "Rundeck is open source software which helps you to automate operations on different environments. Rundeck have some features to reduce your time consuming work and increases your automation skills.\nRead this blog to understand basic Rundeck installation on EC2 Instance and configuration of nodes."
image: https://blog.e-zest.com/hubfs/Basic%20Rundeck%20installation%20on%20EC2%20Instance%20and%20configuration%20of%20nodes.png
---

[![e-Zest logo\_An accion lab company\_Colour](https://blog.e-zest.com/hubfs/images/Logos%20with%20Tagline/Corporate/SVG/e-Zest%20logo_An%20accion%20lab%20company_Colour.svg "e-Zest logo_An accion lab company_Colour")](https://www.e-zest.com/)

- [WORK](https://www.e-zest.com/our-work)
- [SERVICES](https://www.e-zest.com/our-services) 
    - [Product Engineering](https://www.e-zest.com/digital-product-engineering-services)
    - [Enterprise Data Services](https://www.e-zest.com/enterprise-data-services)
    - [Digital Commerce](https://www.e-zest.com/digital-commerce-services)
    - [Digital Operations](https://www.e-zest.com/digital-operations)
    - [Digital Consulting](https://www.e-zest.com/digital-transformation-consulting-services)
    - [Digital Experience Design](https://www.e-zest.com/digital-experience-design)
- [INSIGHTS](https://blog.e-zest.com/)
- [CAREERS](https://www.e-zest.com/careers)
- [ENTERPRISE DATA SERVICES](https://www.e-zest.com/enterprise-data-services)
- [GENERATIVE AI](https://www.e-zest.com/generative-ai)
- [Healthcare](https://healthcare.e-zest.com)
- [Contact Us](https://www.e-zest.com/contact-us)

- ![Elevating Product Engineering with AI and ML](https://blog.e-zest.com/hubfs/Elevating%20Product%20Engineering%20with%20AI%20and%20ML.jpg)

  [BLOGS](https://blog.e-zest.com)
  
  #### Elevating Product Engineering with AI and ML

  As technology evolves and customer choices broaden, there is an increasing ...

  [Read more](https://blog.e-zest.com/elevating-product-engineering-with-ai-and-ml)
- ![e-Zest – An Accion Labs Company gets Recognition as a Contender in the ISG Provider Lens™ Study on Digital Engineering Services 2024](https://blog.e-zest.com/hubfs/e-Zest%20%E2%80%93%20An%20Accion%20Labs%20Company%20-%20Gets%20Recognition%20as%20a%20Contender%20in%20the%20ISG%20Provider%20LensTM%20Study%20on%20Digital%20Engineering%20Services%202024.jpg)

  [NEWS](https://blog.e-zest.com/news)
  
  #### e-Zest – An Accion Labs Company gets Recognition as a Contender in the ISG Provider Lens™ Study on Digital Engineering Services 2024

  We are delighted to announce that e-Zest – An Accion Labs Company has been ...

  [Read more](https://blog.e-zest.com/news/e-zest-an-accion-labs-company-gets-recognition-as-a-contender-in-the-isg-provider-lens-study-on-digital-engineering-services-2024)
- ![e-Zest Solutions supports Digital Pune Mission](https://blog.e-zest.com/hubfs/blog-files/Digital%20Literacy%20Bus%20e-Zest.png)

  [CSR](https://blog.e-zest.com/csr)
  
  #### e-Zest Solutions supports Digital Pune Mission

  **Pune, India:** e-Zest Solutions, a leading digital technology innovation ...

  [Read more](https://blog.e-zest.com/csr/e-zest-solutions-supports-digital-pune-mission)

- [Work](https://www.e-zest.com/our-work)
- [Services](https://www.e-zest.com/our-services)
- [Insights](https://blog.e-zest.com)
- [Careers](https://www.e-zest.com/careers)
- [Enterprise Data](https://www.e-zest.com/enterprise-data-services)
- [Generative AI](https://www.e-zest.com/generative-ai)
- [Innovations](https://www.e-zest.com/innovations)
- [Healthcare](https://healthcare.e-zest.com)
- [About](https://www.e-zest.com/about-us)
- [Contact](https://www.e-zest.com/contact-us)

- [Blog](https://blog.e-zest.com/)
- [News](https://blog.e-zest.com/news)
- [CSR](https://blog.e-zest.com/csr)

- [![Linkedin Icon](https://blog.e-zest.com/hubfs/icons/linkedin_icon_white.svg)](https://www.linkedin.com/company/e-zest-solutions/)
- [![Twitter Icon](https://blog.e-zest.com/hubfs/twitter-logo-silhouette%20(5).svg)](https://twitter.com/ezest)
- [![Facebook Icon](https://blog.e-zest.com/hubfs/facebook-app-logo%20(4).svg)](https://www.facebook.com/61259256638)
- [![Instagram Icon](https://blog.e-zest.com/hubfs/instagram-logo%20(4).svg)](https://www.instagram.com/ezestsolutions/)
- [![Youtube Icon](https://blog.e-zest.com/hubfs/icons/youtube_icon_white.svg)](https://www.youtube.com/user/ezestcorporate)

[![Go to top icon](https://blog.e-zest.com/hubfs/AA%20Assets/top%20button.svg)](https://blog.e-zest.com/basic-rundeck-installation-on-ec2-instance-and-configuration-of-nodes#top)

Hit enter to search or ESC to close

Insights

e-Zest members share technology ideas to foster digital transformation.

- [Blog](https://blog.e-zest.com)
- [Whitepaper](https://blog.e-zest.com/whitepaper)
- [Playbook](https://blog.e-zest.com/playbook)
- [News](https://blog.e-zest.com/news)
- [Innovation](https://blog.e-zest.com/innovation)
- [Media Kit](https://www.e-zest.com/media-kit)

# Basic Rundeck installation on EC2 Instance and configuration of nodes

[Mayur Pawar](https://blog.e-zest.com/author/mayur-pawar)  May 15, 2018

[Rundeck](https://blog.e-zest.com/topic/rundeck)

- <https://www.linkedin.com/shareArticle?mini=true&url=https://blog.e-zest.com/basic-rundeck-installation-on-ec2-instance-and-configuration-of-nodes&title=&summary=&source=>
- <https://twitter.com/intent/tweet?source=https://blog.e-zest.com/basic-rundeck-installation-on-ec2-instance-and-configuration-of-nodes&text=Basic%20Rundeck%20installation%20on%20EC2%20Instance%20and%20configuration%20of%20nodes>
- <https://www.facebook.com/sharer/sharer.php?u=https://blog.e-zest.com/basic-rundeck-installation-on-ec2-instance-and-configuration-of-nodes>
- <https://www.instagram.com/ezestsolutions/?u=https://blog.e-zest.com/basic-rundeck-installation-on-ec2-instance-and-configuration-of-nodes>

**Rundeck:**

Rundeck is open source software which helps you to automate operations on different environments. Rundeck have some features to reduce your time consuming work and increases your automation skills. Rundeck allows you to run tasks on multiple number of nodes from a web-based or command-line interface. Rundeck is developed on GitHub as a project called Rundeck by SimplifyOps and the Rundeck community.

**Rundeck Features:**

- Web API
- Command-line interface
- Job execution and schedule jobs
- Supports graphical web console for command and job execution
- Create control policy for users
- History and auditing logs
- Open integration to external host inventory tools

**Installation of Rundeck Server:**

Launch EC2 instance with minimum configuration like type t2.medium, public ip and operating system like Ubuntu, Redhat, it also support windows machine as well. Rundeck is having two editions one is community and other is enterprise. Enterprise edition is the paid one.

Here we will be doing installation of Rundeck server using Amazon Linux:

- Login to launched EC2 Rundeck Server Instance (As root user)
- Check Java Version. If Java is not installed, install using below command

**yum install java-1.8.0-y**

- To install Rundeck, hit below command

**rpm -Uvh http://repo.rundeck.org/latest.rpm**  
 **yum install rundeck**

- After package installing package, the service must be started

**service rundeckd start**

- Once your installation is completed, visit http:localhost:4440 or in AWS Ec2 instance having public ip, you can visit Rundeck dashboard using below url

**Dashboard URL: http://ec2-Your Machine Public IP.compute-1.amazonaws.com:4440**

- Before login to Rundeck dashboard you have to update public dns name at paramater name “grails.serverURL” in the configuration file /etc/rundeck/rundeck-config.properties

**grails.serverURL=http://ec2-Your Machine Public IP.compute-1.amazonaws.com:4440**

- Default user for Rundeck dashboard is “admin”. Use “admin” as username and password for login

**![Login page](https://blog.e-zest.com/hs-fs/hubfs/b1.png?width=1132&name=b1.png)**

**Node Configuration:**

We are using ssh protocol (Port 22) for node and Rundeck server communication.

1\. Once we login into the Rundeck dashboard and create a new project to give access for jobs and nodes, it will generate node configuration file at below location  
  
**/var/rundeck/projects/\<Your-Project-name\>/etc/resources.xml**

e.g. Project name- Test

![b2](https://blog.e-zest.com/hs-fs/hubfs/b2.png?width=1370&name=b2.png)

2\. Login to node server,

- Create user for ssh connection between Rundeck server and node

**useradd test** (here we are taking username as “test”)

- Switch to created user,

**su test**

- Run below command to generate ssh private and public key

**ssh-keygen-t rsa**

- This will generate id\_rsa(Private Key) and id\_rsa.pub(Public Key) files in /home/test/.ssh directory
- Use cat command to view the private key

**cat /home/test/.ssh/id\_rsa**

- Open Rundeck dashboard with admin user and move to Settings, and select “key storage”\> Click on add or upload a key\> Select key type\> Enter private key of the test user of node server \> Give name to that key (E.g. node1.pem) \> Click on save

![b3](https://blog.e-zest.com/hs-fs/hubfs/b3.png?width=1365&name=b3.png)

- Default key storage path of rundeck server.

**/var/lib/rundeck/var/storage/content/keys**

- Create the authorized\_keys file in the .ssh directory, and then restrict file permissions to 600 to enforce that only the new user(test) has read or write access to the file.

**cd /home/test/**  
**touch .ssh/authorized\_keys**  
**chmod 600 .ssh/authorized\_keys**

- Copy public key id\_rsa.pub file in authorized\_keys

**cd /home/test/.ssh**  
**cp id\_rsa.pub authorized\_keys**

3\. Add node details into node configuration file on Rundeck server

- Login to Rundeck server's CLI and switch to path

**/var/rundeck/projects/\<Project Name\>/etc/**

- Edit file “resource.xml” (vi ,vim,nano)
- In this file add node details in between \<project\> and \</project\>
- The details of “\<node name="Node1" description="Rundeck server node1" tags="" hostname="" osArch="" osFamily="" osName="" username="" ssh-keypath=""/\>”

 a. Hostname can be given or add node private IP address.  
b. Give username as your node ssh user name which you have created.  
(e.g test)  
c. You can give ssh-keypath as path where you storage your node private key  
**E.g. /var/lib/rundeck/var/storage/content/keys/node1.pem**

4\. Login to Rundeck dashboard and check the newly added node

- Select project to which the node has been added
- Switch to “Nodes” Section
- Choose “all nodes” to check list the node which was updated recently

![b4](https://blog.e-zest.com/hs-fs/hubfs/b4.png?width=1366&name=b4.png)

5\. To give your user sudo root privileges run below command on node server

- Switch to node server root user
- Run “visudo” command to edit /etc/sudoers file
- test ALL=(ALL) NOPASSWD: ALL

 Repeat step 2 to step 5 to add multiple nodes into Rundeck server and run jobs on multiple nodes to make your time consuming work easier.

To learn more about other Rundeck functionality, Please refer below URL:

Reference: [http://rundeck.org/docs/index.html](http://rundeck.org/docs/index.html)

- <https://twitter.com/intent/tweet?source=https://blog.e-zest.com/basic-rundeck-installation-on-ec2-instance-and-configuration-of-nodes&text=Basic%20Rundeck%20installation%20on%20EC2%20Instance%20and%20configuration%20of%20nodes>
- <https://www.facebook.com/sharer/sharer.php?u=https://blog.e-zest.com/basic-rundeck-installation-on-ec2-instance-and-configuration-of-nodes>
- <https://www.linkedin.com/shareArticle?mini=true&url=https://blog.e-zest.com/basic-rundeck-installation-on-ec2-instance-and-configuration-of-nodes&title=&summary=&source=>

### Similar Blog

[![Easy steps to create jobs in Rundeck](https://blog.e-zest.com/hubfs/blog-files/Easy%20Steps%20to%20Create%20Jobs%20in%20Rundeck%20%20%20(1).jpg) Easy steps to create jobs in Rundeck We have a tendency to forget things when we have a bunch of things on our plate. Imagine the impact of forgetting crucial steps ... By Pravin Patil Feb 08, 2018](https://blog.e-zest.com/easy-steps-to-create-jobs-in-rundeck)

[![Mail Alert Configuration for Subnet and NACL (Network ACLs) Changes](https://blog.e-zest.com/hubfs/Mail%20Alert%20Configuration.png) Mail Alert Configuration for Subnet and NACL (Network ACLs) Changes To monitor Subnet and Nacl Changes in AWS account, we are using below AWS services. By Mayur Pawar Jul 15, 2021](https://blog.e-zest.com/mail-alert-configuration-for-subnet-and-nacl-network-acls-changes)

[![How to use AWS Backup service for AWS Resources Backup](https://blog.e-zest.com/hubfs/How%20to%20use%20AWS%20Backup%20service.png) How to use AWS Backup service for AWS Resources Backup AWS Backup is a fully-managed data protection service that makes it easy to centralize and automate across AWS services. Using ... By Mayur Pawar Jul 05, 2021](https://blog.e-zest.com/how-to-use-aws-backup-service-for-aws-resources-backup)

## Helping Organizations Thrive in the Digital Age

[Contact Us](https://www.e-zest.com/contact-us)

- [About](https://www.e-zest.com/about-us)
- [Services](https://www.e-zest.com/our-services)
- [Work](https://www.e-zest.com/our-work)
- [Insights](https://blog.e-zest.com/)
- [Healthcare](https://healthcare.e-zest.com/)
- [Accion Labs](https://www.accionlabs.com/)

- <https://www.linkedin.com/company/e-zest-solutions/>
- <https://twitter.com/ezest>
- <https://www.facebook.com/eZest/>
- <https://www.instagram.com/ezestsolutions/>
- <https://www.youtube.com/user/ezestcorporate>

- Dallas
- Detroit
- Hannover
- Vienna
- London
- Pune

 © 2025 e-Zest Solutions

- [Privacy Policy](https://www.e-zest.com/privacypolicy)
- [Cookie Policy](https://www.e-zest.com/cookie-policy)

 Contact us

 Contact us

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.